Difference between revisions of "Template:Infobox Building"

From Foundation - Wiki
Jump to navigation Jump to search
m
m
 
(47 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Infobox_Building
{| class="infobox" style="border-collapse:collapse;"
| title   = {{{title|{{PAGENAME}}}}}
!class="infobox-title" colspan=2 | {{{title|{{PAGENAME}}}}}
| image   = {{{image|}}}
|-
|header1  = Prerequisites
| class="infobox-image" colspan=2 | [[image]]
|label1    = Prerequisites
|-
| data1    = {{prerequisites|}}}
|class="infobox-label" | Workers
|header2    = Production
|class="infobox-data" | Best suited to:
|label2    = Workers
|-
| data2    = {{workers|}}}
|class="infobox-data" | {{{workers}}}
|label3    = Best suited to:
|class="infobox-data" | {{{workerclass}}}
| data3    = {{worker class|}}}
|-
|label4    = Consumes
!class="infobox-header" colspan=2 |Production
| data4    = {{input|}}}
|-
|label5    = Produces
|class="infobox-label" | Consumes
| data5    = {{output|}}}
|class="infobox-data" style="word-wrap:normal;" | {{{input}}}
|label6    = Monthly maintenance
|-
| data6    = {{maintenance|}}}
|class="infobox-label" | Produces
| header3  = Construction Requirements
|class="infobox-data" | {{{output}}}
| data7    = {{construction|}}}
|-
}}
!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": {
"title": {
"type": "string",
"default": "{{PAGENAME}}",
"suggested": true
},
"image": {
"image": {
"type": "wiki-file-name",
"type": "wiki-file-name",
Line 37: Line 53:
"suggested": true
"suggested": true
},
},
"class": {
"workerclass": {
"suggested": true,
"suggested": true,
"label": "Best suited for:",
"label": "Best suited for:",
Line 63: Line 79:
}
}
},
},
"description": "A template for manual infobox editing.",
"description": "A template for manual infobox editing. NOTE: not complete!! Still has some wonky parts."
"format": "{{_\n| _ = _\n}}"
}
}
</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.

Template parameters

ParameterDescriptionTypeStatus
titletitle

no description

Default
{{PAGENAME}}
Stringsuggested
imageimage

no description

Default
[[File:{{PAGENAME:{{{image}}}}}|260px]]
Filesuggested
Splendoursplendour

no description

Unknownsuggested
Workersworkers

no description

Stringsuggested
Best suited for:workerclass

no description

Stringsuggested
Consumesinput

no description

Stringrequired
Producesoutput

no description

Stringrequired
Constructionconstruction

no description

Stringsuggested
Monthly Maintenancemaintenance

no description

Numbersuggested