User:Veerserif/Sandbox/Infobox: Difference between revisions
From Vintage Story Wiki
< User:Veerserif | Sandbox
(fixedddddd) |
(adding cat) |
||
Line 5: | Line 5: | ||
{{ #if: {{{material|}}}|{{User:Veerserif/Sandbox/Infobox row|label=Material|field= {{{material}}}}} }} | {{ #if: {{{material|}}}|{{User:Veerserif/Sandbox/Infobox row|label=Material|field= {{{material}}}}} }} | ||
{{User:Veerserif/Sandbox/Infobox row|label=Stackable|field={{ #if: {{{stackable|}}} | {{{stackable}}} | N/A }} }} | {{User:Veerserif/Sandbox/Infobox row|label=Stackable|field={{ #if: {{{stackable|}}} | {{{stackable}}} | N/A }} }} | ||
{{ | {{<!--Things that can burn--> | ||
#ifexpr: {{#len:{{{temperature|}}}}} or {{#len:{{{duration|}}}}} | {{User:Veerserif/Sandbox/Infobox row|label=Fuel|field={{{temperature}}}°C, {{{duration}}} seconds}} }} | #ifexpr: {{#len:{{{temperature|}}}}} or {{#len:{{{duration|}}}}} | <includeonly>[[Category:Combustibles{{#translation:}}]]</includeonly>{{User:Veerserif/Sandbox/Infobox row|label=Fuel|field={{{temperature}}}°C, {{{duration}}} seconds}} }} | ||
| footer = | | footer = | ||
{{{notes|}}} | {{{notes|}}} | ||
}} | }}<noinclude> | ||
Experimental infobox for '''generic items''', potentially including combustibility. | |||
</noinclude |