Difference between revisions of "Template:Infobox Building"

From Foundation - Wiki
Jump to navigation Jump to search
m
(Trying to get this manual infobox to work while rusty at this lol)
Line 1: Line 1:
<noinclude>
{{
<templatedata>
| title    = {{{title|{{PAGENAME}}}}}
{
| image    = {{{image|}}}
"params": {
|header1  = Prerequisites
"image": {
|label1    = Prerequisites
"type": "wiki-file-name",
| data1    = {{prerequisites|}}}
"default": "[[File:{{PAGENAME:{{{image}}}}}|260px]]",
|header2    = Production
"suggested": true
|label2    = Workers
},
| data2    = {{workers|}}}
"splendour": {
|label3    = Best suited to:
"label": "Splendour",
| data3    = {{worker class|}}}
"suggested": true
|label4    = Consumes
},
| data4    = {{input|}}}
"workers": {
|label5    = Produces
"label": "Workers",
| data5    = {{output|}}}
"type": "string",
|label6    = Monthly maintenance
"suggested": true
| data6    = {{maintenance|}}}
},
| header3  = Construction Requirements
"class": {
| data7    = {{construction|}}}
"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>

Revision as of 11:37, 11 April 2025

{{ | title = Infobox Building | image = |header1 = Prerequisites |label1 = Prerequisites | data1 = Template:Prerequisites} |header2 = Production |label2 = Workers | data2 = Template:Workers} |label3 = Best suited to: | data3 = Template:Worker class} |label4 = Consumes | data4 = Template:Input} |label5 = Produces | data5 = Template:Output} |label6 = Monthly maintenance | data6 = Template:Maintenance} | header3 = Construction Requirements | data7 = Template:Construction} }}