Template:Item: Difference between revisions

From Vintage Story Wiki
1,411 bytes removed ,  11 months ago
making it use the documentation template
(Adding translation-picker to auto-added Category:Items)
(making it use the documentation template)
Line 32: Line 32:
|bgcolor="#000000" colspan="2" class="Bloba" style="text-align:center; font-size:13.5px; border-bottom-right-radius:7px; border-bottom-left-radius:7px;"|[[Items|<font color="white">'''Items'''</font>]]
|bgcolor="#000000" colspan="2" class="Bloba" style="text-align:center; font-size:13.5px; border-bottom-right-radius:7px; border-bottom-left-radius:7px;"|[[Items|<font color="white">'''Items'''</font>]]
|}{{#if:{{{NoBreak|}}}||{{-}} }}
|}{{#if:{{{NoBreak|}}}||{{-}} }}
[[Category:Items{{#translation:}}]]</includeonly><noinclude>
[[Category:Items{{#translation:}}]]</includeonly><noinclude>{{doc}}
'''Example:'''
{{Item
|Name={{{Name}}}
|Image={{{Image}}}
|Stackable={{{Stackable}}}
 
|Temp={{{Temp}}}
|Duration={{{Duration}}}
 
|SmeltTemp={{{SmeltTemp}}}
|SmeltDuration={{{SmeltDuration}}}
|SmeltRatio={{{SmeltRatio}}}
|RequiresContainer={{{RequiresContainer}}}
|Output={{{Output}}}
 
 
|FreshTime={{{FreshTime}}}
|TransitionTime={{{TransitionTime}}}
|TransitionRatio={{{TransitionRatio}}}
 
|Satiety={{{Satiety}}}
|Category={{{Category}}}
|NoBreak=y
}}
 
{| class="wikitable"
|-
! Parameter !! Required or Optional, default if applicable !! Example
|-
| ''Name'' || Required || Dirt
|-
| ''Image'' || Required || File:Grid Dirt.png
|-
| ''Stackable'' || Optional, 64 || 32
|-
| ''Temp'' || Optional || 1000
|-
| ''Duration'' || Required with ''Temp'' || 30
|-
| ''SmeltTemp'' || Optional || 1000
|-
| ''SmeltDuration'' || Required with ''SmeltTemp'' || 30
|-
| ''SmeltRatio'' || Optional, 1 || 0.5
|-
| ''RequiresContainer'' || Optional, Yes || Yes
|-
| ''Output'' || Optional || Torch
|-
| ''OutputAmount'' || Optional, 1 || 2
|-
| ''FreshTime'' || Optional || 480
|-
| ''TransitionTime'' || Required with ''FreshTime'' || 48
|-
| ''TransitionRatio'' || Optional, 1 || 0.75
|-
| ''Satiety'' || Optional || 200
|-
| ''Category'' || Required with ''Satiety'' || Protein
|}
 
Utilizes: [[:Template:Item/Food]], [[:Template:Item/Fuel]], [[:Template:Item/Smeltable]], [[:Template:Item/Transitionable]]
[[Category:Infoboxes]]
</noinclude>
</noinclude>
Confirmedusers, editor
2,823

edits