Template:Equipment/doc

< Template:Equipment
Hstar讨论 | 贡献2020年8月15日 (六) 18:38的版本 (merge from offical wiki)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
这是Template:Equipment的模板文档
当直接浏览时,使用变量可能会失效,请不要使用硬编码来代替页面名或地址。

This template creates an infobox for Equipment.

Parameters

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.

Example

The following code:

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

will display:

Support Equipment
1铝 2钢
Support Equipment.png


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