User:Veerserif/Sandbox/Infobox: Difference between revisions

From Vintage Story Wiki
(adding basic fields)
(using len of str temperature or duration for fuel row)
Line 6: Line 6:
{{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 }} }}
{{
{{
#if: {{{fuel|}}} | {{User:Veerserif/Sandbox/Infobox row|label=Fuel|field={{ #if: {{{temperature|}}} | {{{temperature}}}°C}}|}}, {{ #if: {{{duration|}}} | {{{duration}}} seconds| N/A}}
#if: {{#len:temperature|}}} or {{#len:duration|}} | {{User:Veerserif/Sandbox/Infobox row|label=Fuel|field={{  
    #if: {{{temperature|}}} | {{{temperature}}}°C}}|}}, {{  
    #if: {{{duration|}}} | {{{duration}}} seconds| N/A}}
| footer =
| footer =
{{{notes|}}}
{{{notes|}}}
}}
}}

Revision as of 14:53, 30 August 2023

{{User:Veerserif/Sandbox/Infobox common | title = Veerserif/Sandbox | imagearea = {{No image.png | rows = | style="white-space: nowrap; font-weight: bold;" |Material | N/A |- | style="white-space: nowrap; font-weight: bold;" |Stackable | N/A |- | style="white-space: nowrap; font-weight: bold;" | |

|-, N/A