Template:Items infobox/doc: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
BTGamepedia>QuaternionMark
No edit summary
(Added documentation for item infoboxes)
Line 1: Line 1:
{{doc/start|nodoc=yes}}
{{doc/start}}
<pre>
{{Items infobox
| name = item name
| type = type of item (general, tool, weapon, medical, gear, electrical component, vehicle, exotic)
| image = image.png
| imagewidth = image width
| caption = caption under the image
| ammo = type of ammo the item uses (eg Oxygen Tank, Welding Tank, Rounds, Spears, Battery Cell, etc...)
| ammocost = cost of ammo in the campaign store
| ammocount = amount of ammo the item can hold
| noreq = does the item NOT have any skill requirements (If set to "yes" the "Skill Requirements" section won't appear)
| weapons = weapons level required to handle weapon without penalty
| construction = construction level required to handle tool without penalty
| handicap = the penalty for not having the correct level for this item (eg reduced range of weapon, less efficient use of tool)
| cost = cost in the campaign store
| noraw = can the item NOT be constructed from raw materials (If set to "yes" the "Raw Materials" section won't appear)
| fabricator = can the item be fabricated? (yes/no)
| deconstructor = can the item be deconstructed? (yes/no)
| materials = materials from which the item is fabricated or deconstructed
}}
</pre>
{{doc/end}}
{{doc/end}}

Revision as of 19:07, 4 April 2018

Documentation
{{Items infobox
| name = item name
| type = type of item (general, tool, weapon, medical, gear, electrical component, vehicle, exotic)
| image = image.png
| imagewidth = image width
| caption = caption under the image
| ammo = type of ammo the item uses (eg Oxygen Tank, Welding Tank, Rounds, Spears, Battery Cell, etc...)
| ammocost = cost of ammo in the campaign store
| ammocount = amount of ammo the item can hold
| noreq = does the item NOT have any skill requirements (If set to "yes" the "Skill Requirements" section won't appear)
| weapons = weapons level required to handle weapon without penalty
| construction = construction level required to handle tool without penalty
| handicap = the penalty for not having the correct level for this item (eg reduced range of weapon, less efficient use of tool)
| cost = cost in the campaign store
| noraw = can the item NOT be constructed from raw materials (If set to "yes" the "Raw Materials" section won't appear)
| fabricator = can the item be fabricated? (yes/no)
| deconstructor = can the item be deconstructed? (yes/no)
| materials = materials from which the item is fabricated or deconstructed
}}

This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.