Difference between revisions of "Template:Infobox Building"

Jump to navigation Jump to search
m
no edit summary
m
m
Line 1: Line 1:
{{Infobox
<includeonly>
| title   = {{{title|{{PAGENAME}}}}}
<infobox>
| image    = {{{image|}}}
<title source="title"><default>{{PAGENAME}}</default></title>
|header1  = Prerequisites
<image source="image"><default>[[File:{{PAGENAME:{{{image}}}}}|260px]]</default></image>
|label1    = Prerequisites
<group>
| data1    = {{prerequisites|}}}
<header>Prerequisites</header>
|header2    = Production
<data source="splendour">
|label2    = Workers
  <label>Splendour</label>
| data2    = {{workers|}}}
  <format></format>
|label3    = Best suited to:
</data>
| data3    = {{worker class|}}}
</group>
|label4    = Consumes
<group>
| data4    = {{input|}}}
<header>Production</header>
|label5    = Produces
<data source="workers">
| data5    = {{output|}}}
  <label>Workers</label>
|label6    = Monthly maintenance
  <data source="class">
| data6    = {{maintenance|}}}
  <label font-style: italic>Best suited to</label>
| header3  = Construction Requirements
</data>
| data7    = {{construction|}}}
</data>
}}
<data source="input">
<noinclude>
  <label>Consumes</label>
<templatedata>
</data>
{
<data source="output">
"params": {
  <label>Produces</label>
"image": {
</data>
"type": "wiki-file-name",
</group>
"default": "[[File:{{PAGENAME:{{{image}}}}}|260px]]",
<group-layout: horizontal>
"suggested": true
<header>Construction Requirements</header>
},
<data source="construction"></data>
"splendour": {
  <data source="maintenance">
"label": "Splendour",
  <label>Maintenance Cost</label>
"suggested": true
</group>
},
</infobox>
"workers": {
</includeonly>
"label": "Workers",
"type": "string",
"suggested": true
},
"class": {
"suggested": true,
"label": "Best suited for:",
"type": "string"
},
"input": {
"required": true,
"label": "Consumes",
"type": "string"
},
"output": {
"required": true,
"label": "Produces",
"type": "string"
},
"construction": {
"label": "Construction",
"type": "string",
"suggested": true
},
"maintenance": {
"label": "Monthly Maintenance",
"type": "number",
"suggested": true
}
},
"description": "A template for manual infobox editing.",
"format": "{{_\n| _ = _\n}}"
}
</templatedata>
</noinclude>
606

edits

Navigation menu