User:Veerserif/Sandbox/Infobox: Difference between revisions

From Vintage Story Wiki
(using len of str temperature or duration for fuel row)
m (missing brackets)
Line 1: Line 1:
{{User:Veerserif/Sandbox/Infobox common
{{User:Veerserif/Sandbox/Infobox common
| title = {{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }}
| title = {{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }}
| imagearea = {{[[File:{{#if: {{{image|}}} | {{{image}}} | {{#ifexist: File:{{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }}.png | {{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }}.png | No image.png}} }}|{{#ifeq: {{NAMESPACE}} | {{ns:10}} || link=File:{{#if: {{{image|}}} | {{{image}}} | {{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }}.png }} }}|150px]]
| imagearea = {{[[File:{{#if: {{{image|}}} | {{{image}}} | {{#ifexist: File:{{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }}.png | {{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }}.png | No image.png}} }}|{{#ifeq: {{NAMESPACE}} | {{ns:10}} || link=File:{{#if: {{{image|}}} | {{{image}}} | {{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }}.png }} }}|150px]]}}
| rows =
| rows =
{{User:Veerserif/Sandbox/Infobox row|label=Material|field={{ #if: {{{material|}}} | {{{material}}} | N/A }} }}
{{User:Veerserif/Sandbox/Infobox row|label=Material|field={{ #if: {{{material|}}} | {{{material}}} | N/A }} }}
{{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: {{#len:temperature|}}} or {{#len:duration|}} | {{User:Veerserif/Sandbox/Infobox row|label=Fuel|field={{  
#if: {{#len:{{{temperature|}}}}} or {{#len:{{{duration|}}}}} | {{User:Veerserif/Sandbox/Infobox row|label=Fuel|field={{  
     #if: {{{temperature|}}} | {{{temperature}}}°C}}|}}, {{  
     #if: {{{temperature|}}} | {{{temperature}}}°C}}|}}, {{  
     #if: {{{duration|}}} | {{{duration}}} seconds| N/A}}
     #if: {{{duration|}}} | {{{duration}}} seconds| N/A}} }}
| footer =
| footer =
{{{notes|}}}
{{{notes|}}}
}}
}}

Revision as of 15:01, 30 August 2023

Veerserif/Sandbox
{{No image.png}}
Material

N/A

Stackable

N/A