User:Veerserif/Sandbox/Infobox: Difference between revisions
From Vintage Story Wiki
< User:Veerserif | Sandbox
m (missing brackets) |
m (removing ''unnecessary'' 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 = | | 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 }} }} |