User:Veerserif/Sandbox/Infobox: Difference between revisions

From Vintage Story Wiki
m (missing brackets)
(moved cat tag)
 
(8 intermediate revisions by the same user not shown)
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 }} }}
{{ #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-->
#if: {{#len:{{{temperature|}}}}} or {{#len:{{{duration|}}}}} | {{User:Veerserif/Sandbox/Infobox row|label=Fuel|field={{
#ifexpr: {{#len:{{{temperature|}}}}} or {{#len:{{{duration|}}}}} | {{User:Veerserif/Sandbox/Infobox row|label=Fuel|field={{{temperature}}}&deg;C, {{{duration}}} seconds}}<includeonly>[[Category:Combustibles{{#translation:}}]]</includeonly> }}
    #if: {{{temperature|}}} | {{{temperature}}}&deg;C}}|}}, {{
    #if: {{{duration|}}} | {{{duration}}} seconds| N/A}} }}
| footer =
| footer =
{{{notes|}}}
{{{notes|}}}
}}
}}<noinclude>
 
Experimental infobox for '''generic items''', potentially including combustibility.
</noinclude>

Latest revision as of 16:07, 30 August 2023

Veerserif/Sandbox
No image.png
Stackable

N/A

Experimental infobox for generic items, potentially including combustibility.