R.U.S.E. Wiki
Advertisement
Weapon Infantrynoicon.jpg Engineernoicon.jpg Buildingsnoicon.jpg Armor1noicon.jpg Armor2noicon.jpg Armor3noicon.jpg Armor4noicon.jpg Armor5noicon.jpg Aircraftnoicon.jpg Rangeicon.jpg

{{{weapon}}}
{{{infantry}}} {{{engineer}}} {{{building}}} {{{armor1}}} {{{armor2}}} {{{armor3}}} {{{armor4}}} {{{armor5}}} {{{aircraft}}} {{{range}}}
Template documentation (for the above template, sometimes hidden or invisible)
{{Weapons
|weapon=
|weaponpic=
|infantry=
|engineer=
|building=
|armor1=
|armor2=
|armor3=
|armor4=
|armor5=
|aircraft=
|range=
}}

Weaponpic Parameters

In the 'weaponpic' tag, certain keywords will replace the icon automatically. The keywords will work with the numerals 1, 2, 3, 4, or 5; an example of the use of such keywords is shown below.

Example

Parameter Result Description
Cannon1 Cannon1icon.png Replaces 'Cannon1' with a Cannon, Level 1 weapon icon.
Antiair2 AAgun2icon.png Replaces 'Antiair2' with a Level 2 Anti-Aircraft weapon icon.
Grenade3 Grenade3icon.png Replaces 'Grenade3' with a Grenade, Level 3 weapon icon.
Bomb4 Bomb4icon.png Replaces 'Bomb4' with a Level 4 Bombardment weapon icon.
Infantrygun4 Infantryweapon4icon.png Replaces 'Infantrygun4' with Level 4 Infantry Weapons icon.
Machinegun1 Machinegun1icon.png Replaces 'Machinegun1' with a Level 1 Machine Gun weapon icon.

Font Colours

From the 'infantry' to the 'aircraft tag' insert the font colour coding to enable font colours that are seen in the in-game units information.

Here are the coding:

<span style="color:green;">Green Text</span>
<span style="color:lightgreen;">Light-Green Text</span>
<span style="color:orange;">Orange Text</span>
<span style="color:yellow;">Yellow Text</span>
<span style="color:red;">Red Text</span>

Which will result in the template:
Green Text
Light-Green Text
Orange Text
Yellow Text
Red Text


Visit Template:Weapons/doc to edit this text! (How does this work?)
Advertisement