Difference between revisions of "Template:Infobox Building"

Jump to navigation Jump to search
m
no edit summary
m
m
Line 1: Line 1:
| 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>
| splendour    = {{prerequisites|}}}
<!->
!Production
<group>
|label2    = Workers
<header>Prerequisites</header>
| workers    = {{workers|}}}
<data source="splendour">
|label3    = Best suited to:
  <label>Splendour</label>
| class    = {{worker class|}}}
  <format></format>
|label4    = Consumes
</data>
| input    = {{input|}}}
</group>
|label5    = Produces
<!->
| output    = {{output|}}}
<group>
|label6    = Monthly maintenance
<header>Production</header>
| maintenance    = {{maintenance|}}}
<data source="workers">
!Construction Requirements
  <label>Workers</label>
| construction    = {{construction|}}}
  <data source="class">
<noinclude>
  <label font-style: italic>Best suited to</label>
<templatedata>
</data>
{
</data>
"params": {
<data source="input">
"image": {
  <label>Consumes</label>
"type": "wiki-file-name",
</data>
"default": "[[File:{{PAGENAME:{{{image}}}}}|260px]]",
<data source="output">
"suggested": true
  <label>Produces</label>
},
</data>
"splendour": {
</group>
"label": "Splendour",
<!->
"suggested": true
<group-layout: horizontal>
},
<header>Construction Requirements</header>
"workers": {
<data source="construction"></data>
"label": "Workers",
  <data source="maintenance">
"type": "string",
  <label>Maintenance Cost</label>
"suggested": true
</group>
},
</infobox>
"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