Difference between revisions of "Template:Infobox Building"

From Foundation - Wiki
Jump to navigation Jump to search
(Working on infobox)
m
Line 1: Line 1:
{| class="infobox"
{| class="infobox"
! class="infobox-label" colspan=2 | {{{title|{{PAGENAME}}}}}
! class="infobox-title" colspan=2 | {{{title|{{PAGENAME}}}}}
|-
|-
| class="infobox-image" colspan=2 | {{{image|}}}
| class="infobox-image" colspan=2 | {{{image|}}}
|-
|-
!Prerequisites
!class="infobox-header" colspan=2 |Production
|-
|-
| splendour    = {{prerequisites|}}}
|class="infobox-label" | Workers
| class="infobox-data" | = {{workers|}}}
|-
|-
!Production
|class="infobox-label" | Best suited to:
| class="infobox-data" | = {{workerclass|}}}
|-
|-
|label2    = Workers
|class="infobox-label" | Consumes
| workers    = {{workers|}}}
| class="infobox-data" | = {{input|}}}
|-
|-
|label3    = Best suited to:
|class="infobox-label" | Produces
| class   = {{workerclass|}}}
| class="infobox-data" | = {{output|}}}
|-
|-
|label4    = Consumes
|class="infobox-label" | Monthly maintenance
| input    = {{input|}}}
| class="infobox-data" | = {{maintenance|}}}
|-
|-
|label5    = Produces
!class="infobox-header" colspan=2 | Prerequisites
| output    = {{output|}}}
|-
|-
|label6    = Monthly maintenance
| class="infobox-data" | = {{prerequisites|}}}
| maintenance    = {{maintenance|}}}
|-
|-
!Construction Requirements
!class="infobox-header" colspan=2 |Construction Requirements
| construction    = {{construction|}}}
|-
| class="infobox-data" | = {{construction|}}}
|}
|}
<noinclude>
<noinclude>
Line 32: Line 33:
{
{
"params": {
"params": {
"title": {
"type": "string",
"default": "{{PAGENAME}}",
"suggested": true
},
"image": {
"image": {
"type": "wiki-file-name",
"type": "wiki-file-name",

Revision as of 19:07, 15 April 2025

Infobox Building
Production
Workers = Template:Workers}
Best suited to: = Template:Workerclass}
Consumes = Template:Input}
Produces = Template:Output}
Monthly maintenance = Template:Maintenance}
Prerequisites
= Template:Prerequisites}
Construction Requirements
= Template:Construction}

A template for manual infobox editing.

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