Difference between revisions of "Template:Item"

From Vintage Story Wiki
Jump to: navigation, search
m (Add category)
(soon to have support for different sub templates)
Line 1: Line 1:
 +
<includeonly>
 
{|border="1" cellpadding="2" cellspacing="0" class="screwTemplatesMan" style="position:relative; border-radius:7px; font-size:90%; width:200px; float:right;"
 
{|border="1" cellpadding="2" cellspacing="0" class="screwTemplatesMan" style="position:relative; border-radius:7px; font-size:90%; width:200px; float:right;"
 
|-
 
|-
Line 7: Line 8:
 
{{#if: {{{Material|}}} | {{#!:|- class{{{Material}}}
 
{{#if: {{{Material|}}} | {{#!:|- class{{{Material}}}
 
|class="TC"|'''Material'''
 
|class="TC"|'''Material'''
|class="TC"|{{{Material}}}}}}}
+
|class="TC"|{{{Material}}} }} }}
 
{{#if: {{{Stackable|}}} | {{#!:|- class{{{Stackable}}}
 
{{#if: {{{Stackable|}}} | {{#!:|- class{{{Stackable}}}
 
|class="TC"|'''Stackable'''
 
|class="TC"|'''Stackable'''
|class="TC"|{{{Stackable}}}}}}}
+
|class="TC"|{{{Stackable}}} }} }}
 +
{{#if: {{{Temp}}} | {{#!:
 +
{{Item/Fuel
 +
|Temp={{{Temp}}}
 +
|Duration={{{Duration}}}
 +
}} }} }}
 
{{#if: {{{Flammable|}}} | {{#!:|- class{{{Flammable}}}
 
{{#if: {{{Flammable|}}} | {{#!:|- class{{{Flammable}}}
 
|class="TC"|'''Flammable'''
 
|class="TC"|'''Flammable'''
|class="TC"|{{{Flammable}}}}}}}
+
|class="TC"|{{{Flammable}}} }} }}
 
|-
 
|-
 
|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>]]
Line 19: Line 25:
  
 
[[Category:Items]]
 
[[Category:Items]]
 +
</includeonly>
 +
 +
<noinclude>
 +
{{Item
 +
|Name=Item
 +
|Image=[[File:Gravel.png|200px]]
 +
|Flammable=Yes
 +
|Fuel=eyah
 +
|Temp=100
 +
|Duration=10
 +
}}
 +
</noinclude>

Revision as of 21:34, 6 November 2019



Item
Gravel.png
Stackable {{{Stackable}}}
Fuel
Temperature 100°C
Duration 10 s
Items