From Hearts of Iron 4 Wiki
Jump to navigation Jump to search
This is the documentation page for Template:Equipment.
When it is viewed directly, links using variables may appear broken; do not replace these with hardcoded page names or URLs.

This template creates an infobox for Equipment.


Parameter Description Status Default
version to specify the major patch for which the infobox was written or updated required empty
name name of the equipment required empty
resources needed resources optional empty
left left column for properties desired empty
right right column for properties desired empty
adjusters to add an {{Adjusters table}} optional empty
further to add further things optional empty
file alternative file name optional {{{equip}}}
width width of the infobox optional 330px
float specifies whether or not the box should float optional right
clear specifies on which sides of the box floating elements are not allowed optional none

Note: {{Equipment/row}} can be used to add the properties.


The following code:

|name=Support Equipment
|desc=Radios, Jeeps, Pontoons & other equipment used to support troops.
|resources=1{{icon|aluminium}} 2{{icon|steel}}
|right={{Equipment/row|[[Production Cost]]|4}}

will display:

Support Equipment
1Aluminum 2Steel
Support Equipment.png

Radios, Jeeps, Pontoons & other equipment used to support troops.