Difference between revisions of "Template:Infobox Building"
Jump to navigation
Jump to search
m |
m |
||
| (51 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{ | {| class="infobox" style="border-collapse:collapse;" | ||
!class="infobox-title" colspan=2 | {{{title|{{PAGENAME}}}}} | |||
| image | |- | ||
| | | class="infobox-image" colspan=2 | [[image]] | ||
| | |- | ||
| | |class="infobox-label" | Workers | ||
| | |class="infobox-data" | Best suited to: | ||
| | |- | ||
| | |class="infobox-data" | {{{workers}}} | ||
| | |class="infobox-data" | {{{workerclass}}} | ||
| | |- | ||
| | !class="infobox-header" colspan=2 |Production | ||
| | |- | ||
| | |class="infobox-label" | Consumes | ||
| | |class="infobox-data" style="word-wrap:normal;" | {{{input}}} | ||
| | |- | ||
| | |class="infobox-label" | Produces | ||
| | |class="infobox-data" | {{{output}}} | ||
| | |- | ||
!class="infobox-header" colspan=2 | Prerequisites | |||
|- | |||
|class="infobox-data" colspan=2 | {{{splendour}}} | |||
|- | |||
!class="infobox-header" colspan=2 |Construction Requirements | |||
|- | |||
|class="infobox-data" colspan=2 | {{{construction}}} | |||
| | |||
|- | |||
|class="infobox-label" | Maintenance | |||
|class="infobox-data" | {{{maintenance}}} | |||
|} | |||
<noinclude> | <noinclude> | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"params": { | "params": { | ||
"image": {}, | "title": { | ||
"type": "string", | |||
"default": "{{PAGENAME}}", | |||
"suggested": true | |||
}, | |||
"image": { | |||
"type": "wiki-file-name", | |||
"default": "[[File:{{PAGENAME:{{{image}}}}}|260px]]", | |||
"suggested": true | |||
}, | |||
"splendour": { | "splendour": { | ||
" | "label": "Splendour", | ||
"suggested": true | |||
}, | }, | ||
"workers": { | "workers": { | ||
" | "label": "Workers", | ||
"type": "string", | |||
"suggested": true | |||
}, | }, | ||
" | "workerclass": { | ||
"suggested": true | "suggested": true, | ||
"label": "Best suited for:", | |||
"type": "string" | |||
}, | }, | ||
"input": { | "input": { | ||
"required": true | "required": true, | ||
"label": "Consumes", | |||
"type": "string" | |||
}, | }, | ||
"output": { | "output": { | ||
"required": true | "required": true, | ||
"label": "Produces", | |||
"type": "string" | |||
}, | }, | ||
"construction": { | "construction": { | ||
" | "label": "Construction", | ||
"type": "string", | |||
"suggested": true | |||
}, | }, | ||
"maintenance": { | "maintenance": { | ||
" | "label": "Monthly Maintenance", | ||
"type": "number", | |||
"suggested": true | |||
} | } | ||
}, | }, | ||
"description": "A template for manual infobox editing. | "description": "A template for manual infobox editing. NOTE: not complete!! Still has some wonky parts." | ||
} | } | ||
</templatedata> | </templatedata></noinclude> | ||
</noinclude> | |||
Latest revision as of 23:30, 17 April 2025
| Infobox Building | ||
|---|---|---|
| image | ||
| Workers | Best suited to: | |
| {{{workers}}} | {{{workerclass}}} | |
| Production | ||
| Consumes | {{{input}}} | |
| Produces | {{{output}}} | |
| Prerequisites | ||
| {{{splendour}}} | ||
| Construction Requirements | ||
| {{{construction}}} | ||
| Maintenance | {{{maintenance}}} | |
A template for manual infobox editing. NOTE: not complete!! Still has some wonky parts.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| title | title | no description
| String | suggested |
| image | image | no description
| File | suggested |
| Splendour | splendour | no description | Unknown | suggested |
| Workers | workers | no description | String | suggested |
| Best suited for: | workerclass | no description | String | suggested |
| Consumes | input | no description | String | required |
| Produces | output | no description | String | required |
| Construction | construction | no description | String | suggested |
| Monthly Maintenance | maintenance | no description | Number | suggested |