Template:AlliedWeapon

From Mud and Blood official Wiki
Jump to: navigation, search
Ico fullprotected.gif
See also: Template:AxisWeapon.


?
Allied Weapon
Unknown
Backdrop80x160itp.png
No Image
?
Weapon stats:
(mouseover the icons for explanation)
Maximum damage; the minimum is always 1 Effective firing range, in pixels (for reference, the game field is 400px wide by 600px tall) Maximum rounds fired at a single target Ammunition capacity Reload time, in ticks (20 ticks = 1 second); the less, the better; the unit's exp is deducted from this value, getting faster as it ranks up
? ? ? ? ?
CQC (close quarters combat) bonus multiplier; the unit's rifle skill is multiplied by this value when firing at a distance of 100px or less Range malus; the unit's rifle skill is divided by this penalty when firing beyond the weapon's effective range AP (anti-personnel) explosion radius; area of the blast that damages all units, but deals reduced damage to vehicles AT (anti-tank) explosion radius; area of the blast that deals fatal damage to mechanical units Gib explosion radius; area of the blast that blows all organic units caught in it to pieces
? ? ? ? ?
Strengths:
None.
Weaknesses:
None.
Description:
None.

Usage

Place this template preferably at the top of the weapon page. The syntax is the following:

{{ AlliedWeapon
| name   = Name
| image  = [[File:Filename.gif]]
| hotkey = 3-1
| cost   = 1
| damage = 1
| range  = 1
| rate   = 1
| clip   = 1
| reload = 1
| cqc    = 1
| malus  = 1
| ap     = 1
| at     = 1
| gib    = 1
| str    = None.
| weak   = None.
| desc   = Generic weapon.
}}

For unknown data, please type "?" in the field. For non-applicable data (i.e. rifles don't have explosion radius), please use "N/A" instead.

This template can be used multiple times in the same page if needed. By default, they will appear side-by-side. In order to force them to appear one below each other, add this extra parameter:

| pile   = 1

If you want to force other page content to appear below the template, instead of beside it, add this parameter:

| clear  = 1

Pages where this template is used will be entered into Category:Weapons and Category:Allied_Weapons by default. To override this behavior, add this parameter:

| nocat  = 1

The template box will float on the right side by default. To switch it to the left, add the following parameter:

| left   = 1

You can also align it to the center, but this will automatically force the clearing of the content:

| center = 1

Lastly, you can change the margin around the box. This might come in handy when placing multiple templates side-by-side. By default, it is 12 pixels wide, as shown:

| margin = 12
Personal tools