Difference between revisions of "Template:Infobox Building"

Jump to navigation Jump to search
m
no edit summary
m
m
 
(16 intermediate revisions by the same user not shown)
Line 1: Line 1:
<infobox>
{| class="infobox" style="border-collapse:collapse;"
<title source="title"><default>{{PAGENAME}}</default></title>
!class="infobox-title" colspan=2 | {{{title|{{PAGENAME}}}}}
<image source="image"><default>[[File:{{PAGENAME:{{{image}}}}}|260px]]</default></image>
|-
<!->
| class="infobox-image" colspan=2 | [[image]]
<group>
|-
<header>Prerequisites</header>
|class="infobox-label" | Workers
<data source="splendour">
|class="infobox-data" | Best suited to:
  <label>Splendour</label>
|-
  <format></format>
|class="infobox-data" | {{{workers}}}
</data>
|class="infobox-data" | {{{workerclass}}}
</group>
|-
<!->
!class="infobox-header" colspan=2 |Production
<group>
|-
<header>Production</header>
|class="infobox-label" | Consumes
<data source="workers">
|class="infobox-data" style="word-wrap:normal;" | {{{input}}}
  <label>Workers</label>
|-
  <data source="class">
|class="infobox-label" | Produces
  <label font-style: italic>Best suited to</label>
|class="infobox-data" | {{{output}}}
</data>
|-
</data>
!class="infobox-header" colspan=2 | Prerequisites
<data source="input">
|-
  <label>Consumes</label>
|class="infobox-data" colspan=2 | {{{splendour}}}
</data>
|-
<data source="output">
!class="infobox-header" colspan=2 |Construction Requirements
  <label>Produces</label>
|-
</data>
|class="infobox-data" colspan=2 | {{{construction}}}
</group>
|
<!->
|-
<group-layout: horizontal>
|class="infobox-label" | Maintenance
<header>Construction Requirements</header>
|class="infobox-data" | {{{maintenance}}}
<data source="construction"></data>
|}
  <data source="maintenance">
<noinclude>
  <label>Maintenance Cost</label>
<templatedata>
</group>
{
</infobox>
"params": {
"title": {
"type": "string",
"default": "{{PAGENAME}}",
"suggested": true
},
"image": {
"type": "wiki-file-name",
"default": "[[File:{{PAGENAME:{{{image}}}}}|260px]]",
"suggested": true
},
"splendour": {
"label": "Splendour",
"suggested": true
},
"workers": {
"label": "Workers",
"type": "string",
"suggested": true
},
"workerclass": {
"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. NOTE: not complete!! Still has some wonky parts."
}
</templatedata></noinclude>
606

edits

Navigation menu