|
|
(One intermediate revision by the same user not shown) |
Line 1: |
Line 1: |
| <includeonly>{{infobox common
| |
| | title = {{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }}
| |
| | imagearea = {{
| |
| #if: {{#pos: {{{image}}} | ; }}
| |
| | {{animate|{{{image}}}|150px}}
| |
| | [[File:{{#if: {{{image|}}} | {{{image}}} | {{#ifexist: File:{{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }}.png | {{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }}.png | No image.svg}} }}|{{#ifeq: {{NAMESPACE}} | {{ns:10}} || link=File:{{#if: {{{image|}}} | {{{image}}} | {{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }}.png }} }}|150px]]
| |
| }}{{
| |
|
| |
|
| #if: {{{image2|}}} | <div style="padding-top: 1em">{{
| |
| #if: {{#pos: {{{image2}}} | ; }}
| |
| | {{animate|{{{image2}}}|150px}}
| |
| | [[File:{{{image2}}}|150px]]
| |
| }}</div>
| |
| }}{{
| |
|
| |
| #if: {{{image3|}}} | <div style="padding-top: 1em">{{
| |
| #if: {{#pos: {{{image3}}} | ; }}
| |
| | {{animate|{{{image3}}}|150px}}
| |
| | [[File:{{{image3}}}|150px]]
| |
| }}</div>
| |
| }}{{
| |
| #ifeq: {{lc: {{{invimage}}} }} | none | | {{#if: {{{invimage|}}} | <div style="padding-top: 1em; margin: 0 auto">{{Grid|{{{invimage}}}|link=none}} | {{#ifexist: File:Grid {{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }}.png | <div style="padding-top: 1em; margin: 0 auto">{{Grid|{{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }}|link=none}} }} }}
| |
| }}{{
| |
| #if: {{{invimage2|}}} | {{Grid|{{{invimage2}}}|link=none}}
| |
| }}{{
| |
| #if: {{{invimage3|}}} | {{Grid|{{{invimage3}}}|link=none}}
| |
| }}{{
| |
| #if: {{{invimage4|}}} | {{Grid|{{{invimage4}}}|link=none}}
| |
| }}{{
| |
| #if: {{{invimage5|}}} | {{Grid|{{{invimage5}}}|link=none}}
| |
| }}{{
| |
| #if: {{{invimage6|}}} | {{Grid|{{{invimage6}}}|link=none}}
| |
| }}{{
| |
| #if: {{{invimage7|}}} | {{Grid|{{{invimage7}}}|link=none}}
| |
| }}{{
| |
| #if: {{{invimage8|}}} | {{Grid|{{{invimage8}}}|link=none}}
| |
| }}{{
| |
| #if: {{{invimage9|}}} | {{Grid|{{{invimage9}}}|link=none}}
| |
| }}{{
| |
| #if: {{{invimage10|}}} | {{Grid|{{{invimage10}}}|link=none}}
| |
| }}{{
| |
| #if: {{{invimage11|}}} | {{Grid|{{{invimage11}}}|link=none}}
| |
| }}{{
| |
| #if: {{{invimage12|}}} | {{Grid|{{{invimage12}}}|link=none}}
| |
| }}{{
| |
| #if: {{{invimage13|}}} | {{Grid|{{{invimage13}}}|link=none}}
| |
| }}{{
| |
| #if: {{{invimage14|}}} | {{Grid|{{{invimage14}}}|link=none}}
| |
| }}{{
| |
| #if: {{{invimage15|}}} | {{Grid|{{{invimage15}}}|link=none}}
| |
| }}{{
| |
| #if: {{{invimage16|}}} | {{Grid|{{{invimage16}}}|link=none}}
| |
| }}{{
| |
| #if: {{{invimage17|}}} | {{Grid|{{{invimage17}}}|link=none}}
| |
| }}{{
| |
| #if: {{{invimage18|}}} | {{Grid|{{{invimage18}}}|link=none}}
| |
| }}{{
| |
| #if: {{{invimage19|}}} | {{Grid|{{{invimage19}}}|link=none}}
| |
| }}{{
| |
| #if: {{{invimage20|}}} | {{Grid|{{{invimage20}}}|link=none}}
| |
| }}{{
| |
| #if: {{{invimage21|}}} | {{Grid|{{{invimage21}}}|link=none}}
| |
| }}{{
| |
| #if: {{{invimage22|}}} | {{Grid|{{{invimage22}}}|link=none}}
| |
| }}{{
| |
| #if: {{{invimage23|}}} | {{Grid|{{{invimage23}}}|link=none}}
| |
| }}{{
| |
| #if: {{{invimage24|}}} | {{Grid|{{{invimage24}}}|link=none}}
| |
| }}{{
| |
| #if: {{{invimage25|}}} | {{Grid|{{{invimage25}}}|link=none}}
| |
| }}{{#ifeq: {{lc: {{{invimage}}} }} | none | | {{#if: {{{invimage|}}} | </div> | {{#ifexist: File:Grid {{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }}.png | </div> }} }} }}
| |
| | rows =
| |
| {{#if: {{{mod|}}}|{{infobox row|label=Mod|field=[[{{{mod}}}]] }}|}}
| |
| {{infobox row|label=Type|field={{ #if: {{{type|}}} | {{{type}}} | ? }} }}
| |
| {{#if: {{{otherosonly|}}} | {{infobox row|label=Only available in|field={{{otherosonly}}} }} }}
| |
| {{infobox row|label=Durability|field={{ #if: {{{durability|}}} | {{{durability}}} | N/A }} }}
| |
| {{#if: {{{renewable|}}} | {{infobox row|label=[[Renewable resource|Renewable]]|field={{{renewable}}} }} }}
| |
| {{infobox row|label=Stackable|field={{ #if: {{{stackable|}}} | {{{stackable}}} | ? }} }}
| |
| {{#if: {{{multiplevers|}}}
| |
| | {{infobox row|label=First appearances|field={{{multiplevers}}} }}
| |
| | {{#if: {{{firstver|}}} | {{infobox row|label=First appearance|field={{version link|{{{firstver}}}}} }} }}
| |
| }}
| |
| {{#if: {{{multipledata|}}}
| |
| | {{infobox row|label=[[Data values]]|field={{{multipledata}}} }}
| |
| | {{#if: {{{data|}}} | {{infobox row|label=[[Data values|Data value]]|field={{data value|{{{data}}} }} }} }}
| |
| }}
| |
| }}{{#if: {{{nocat|}}} ||
| |
| {{#if:{{NAMESPACE}}||
| |
| {{#if:{{{type|}}}|[[Category:{{{type}}}]]}}
| |
| {{#switch: {{lc: {{{renewable|none}}} }}
| |
| | yes = [[Category:Renewable resources]]
| |
| | no = [[Category:Non-renewable resources]]
| |
| | none =
| |
| | [[Category:Resources with invalid renewability]]
| |
| }}
| |
| }}
| |
| }}</includeonly><noinclude>
| |
| {{Documentation}}
| |
| [[Category:Infobox templates|I]]
| |
| </noinclude>
| |