Template:Item: Difference between revisions

From Vintage Story Wiki
attempt to make infobox wider to avoid textwrapping
(soon to have support for different sub templates)
(attempt to make infobox wider to avoid textwrapping)
 
(50 intermediate revisions by 7 users not shown)
Line 1: Line 1:
<includeonly>
<noinclude><languages /></noinclude>
{|border="1" cellpadding="2" cellspacing="0" class="screwTemplatesMan" style="position:relative; border-radius:7px; font-size:90%; width:200px; float:right;"
<includeonly>{|border="1" cellpadding="2" cellspacing="0" style="position:relative; border-radius:7px; font-size:90%; width:300px; float:right; margin-left:5px; margin-bottom: 5px;"
|-
|-
|bgcolor="#000000" colspan="2" class="TC" style="border-top-right-radius:7px; border-top-left-radius:7px; text-align:center; font-size:13.5px;"|<font color="white">'''{{{Name}}}'''</font>
|bgcolor="#000000" colspan="2" style="border-top-right-radius:7px; border-top-left-radius:7px; text-align:center; font-size:13.5px;"|<font color="white">'''{{{Name}}}'''</font>
|-
|-
|bgcolor="#ffffff" colspan=2 style="text-align: center"| {{{Image}}}
|bgcolor="#d3ab92" colspan=2 style="text-align: center"| [[{{{Image}}}|100px]]
{{#if: {{{Material|}}} | {{#!:
|-
|-
{{#if: {{{Material|}}} | {{#!:|- class{{{Material}}}
|'''<translate><!--T:8--> Material</translate>'''
|class="TC"|'''Material'''
|{{{Material}}}
|class="TC"|{{{Material}}} }} }}
}} }}
{{#if: {{{Stackable|}}} | {{#!:|- class{{{Stackable}}}
|-
|class="TC"|'''Stackable'''
|'''<translate><!--T:9--> Stackable</translate>'''
|class="TC"|{{{Stackable}}} }} }}
|{{{Stackable|64}}}
{{#if: {{{Temp}}} | {{#!:
|-
{{#if: {{{Temp|}}} |
{{Item/Fuel
{{Item/Fuel
|Temp={{{Temp}}}
|Temp={{{Temp}}}
|Duration={{{Duration}}}
|Duration={{{Duration}}}
}} }} }}
}} }}{{#if: {{{SmeltTemp|}}} |
{{#if: {{{Flammable|}}} | {{#!:|- class{{{Flammable}}}
{{Item/Smeltable
|class="TC"|'''Flammable'''
|SmeltTemp={{{SmeltTemp}}}
|class="TC"|{{{Flammable}}} }} }}
<!--|SmeltDuration={{{SmeltDuration}}}-->  <!-- Removed because this information is unavailable -->
<!--|SmeltRatio={{{SmeltRatio|}}}-->      <!-- Removed because this information is unavailable -->
|RequiresContainer={{{RequiresContainer|}}}
|OutputLink={{{OutputLink|}}}
|OutputName={{{OutputName|}}}
|OutputAmount={{{OutputAmount|1}}}
}} }}{{#if: {{{Satiety|}}} |
{{Item/Food
|Satiety={{{Satiety}}}
|Category={{{Category}}}
}} }}{{#if: {{{FreshTime|}}} |
{{Item/Transitionable
|FreshTime={{{FreshTime}}}
|TransitionTime={{{TransitionTime}}}
|TransitionRatio={{{TransitionRatio|}}}
}} }}
|-
|-
|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">'''<translate><!--T:10--> Items</translate>'''</font>]]
|}
|}{{#if:{{{NoBreak|}}}||{{-}} }}
 
[[Category:Items{{#translation:}}]]</includeonly>
[[Category:Items]]
<noinclude>{{doc}}</noinclude>
</includeonly>
 
<noinclude>
{{Item
|Name=Item
|Image=[[File:Gravel.png|200px]]
|Flammable=Yes
|Fuel=eyah
|Temp=100
|Duration=10
}}
</noinclude>
Confirmedusers, editor
1,052

edits