Template:Structure and Template:Structure/sandbox: Difference between pages

(Difference between pages)
Page 1
Page 2
(Added maxproduction)
 
(Rough draft of template including an "exclude" parameter that must be set if you want to exclude the page from the Structures category.)
 
Line 5: Line 5:
{{infobox row|label=Category|field={{ #if: {{{type|}}} | {{{type}}} | ? }} }}
{{infobox row|label=Category|field={{ #if: {{{type|}}} | {{{type}}} | ? }} }}
{{infobox row|label=First Appearance|field={{ #if: {{{appearance|}}} | {{{appearance}}} | ? }} }}
{{infobox row|label=First Appearance|field={{ #if: {{{appearance|}}} | {{{appearance}}} | ? }} }}
{{ #if: {{{workers|}}} | {{infobox row|label=Max. Workers|field={{{workers}}} }} }}
}}
{{ #if: {{{capacity|}}} | {{infobox row|label=Max. Capacity|field={{{capacity}}} }} }}
{{#if:{{{exclude|}}}| |[[Category:Structures]]}}
{{ #if: {{{maxproduction|}}} | {{infobox row|label=Max. Production|field={{{maxproduction}}} }} }}
</includeonly>
}}{{#if:{{{exclude|}}}| |[[Category:Structures]]}}</includeonly>
<noinclude>
<noinclude>
{{doc}}
{{doc}}
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Need wiki hosting?

Do you need a wiki for your Minecraft mod/gaming wiki? We'll host it for free! Contact us.

Other wikis

Indie-game wikis
Powered by Indie Wikis