Difference between revisions of "Template:Building"

From Foundation - Wiki
Jump to navigation Jump to search
(Replaced content with "{{#invoke:Infobox|building|title={{{title|}}}|image={{{image|}}}|caption={{{caption|}}}}}<noinclude>{{Documentation}}Category:Infobox Templates</noinclude>")
Tag: Replaced
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Infobox
{{#invoke:Infobox|building|title={{{title|}}}|image={{{image|}}}|caption={{{caption|}}}}}<noinclude>{{Documentation}}[[Category:Infobox Templates]]</noinclude>
|title = {{{title|{{PAGENAME}}}}}
|{{Infobox Image<!--
-->|image = {{{image|}}}<!--
-->|caption = {{{caption|}}}
}}
{{Infobox Group
|header = Details
|{{Infobox Data|label=Unlocked By|{{{unlocked|}}}}}<!--
-->{{Infobox Data|label=Labor Influence|{{{labor influence|}}}}}<!--
-->{{Infobox Data|label=Labour Splendor|{{{labor splendor|}}}}}<!--
-->{{Infobox Data|label=Kingdom Influence|{{{kingdom influence|}}}}}<!--
-->{{Infobox Data|label=Kingdom Splendor|{{{kingdom splendor|}}}}}<!--
-->{{Infobox Data|label=Clergy Influence|{{{clergy influence|}}}}}<!--
-->{{Infobox Data|label=Clergy Splendor|{{{clergy splendor|}}}}}
}}<!--
-->{{Infobox Group
|header = Production
|{{Infobox Data|label = Max Workers|{{{workers|}}}}}<!--
-->{{Infobox Data|label = Requires|{{{requirements|}}}}}<!--
-->{{Infobox Data|label = Produces|{{{produces|}}}}}
}}<!--
-->{{Infobox Group
|rows = 2
|header = Construction Requirements
|{{Infobox Data|label = Gold Coins|{{{coins|}}}}}<!--
-->{{Infobox Data|label = Stone|{{{stone|}}}}}<!--
-->{{Infobox Data|label = Wood|{{{wood|}}}}}<!--
-->{{Infobox Data|label = Cloth|{{{cloth|}}}}}<!--
-->{{Infobox Data|label = Gems|{{{gems|}}}}}<!--
-->{{Infobox Data|label = Glass|{{{glass|}}}}}<!--
-->{{Infobox Data|label = Gold|{{{gold|}}}}}<!--
-->{{Infobox Data|label = Iron|{{{iron|}}}}}<!--
-->{{Infobox Data|label = Marble|{{{marble|}}}}}<!--
-->{{Infobox Data|label = Planks|{{{planks|}}}}}<!--
-->{{Infobox Data|label = Polished Stone|{{{polished stone|}}}}}<!--
-->{{Infobox Data|label = Tools|{{{tools|}}}}}<!--
-->{{Infobox Data|label = Sculpture|{{{sculpture|}}}}}
}}<!--
-->{{Infobox Group
|rows = 2
|header = Running Costs
|{{Infobox Data|label = Tax|{{{tax|}}}}}<!--
-->{{Infobox Data|label = Maintenance|{{{maintenance|}}}}}
}}
}}<noinclude>[[Category:Infobox Templates]]<templatedata>
{
"params": {
"title": {
"label": "Title",
"description": "The title of the infobox",
"type": "string",
"default": "{{PAGENAME}}"
},
"image": {
"label": "Image",
"description": "The main image for the infobox, use with caption to add a description",
"type": "wiki-file-name",
"suggested": true
},
"caption": {
"label": "Caption",
"description": "A caption for the image, this will only display if there is an image.",
"type": "string"
},
"unlocked": {
"label": "Unlocked by",
"description": "A short note of requirements that must be met in order to construct the building",
"type": "string",
"required": true
},
"labor influence": {
"label": "Labor Influence",
"description": "The amount of Labor Influence required to acquire the building from the estates panel",
"type": "number"
},
"labor splendor": {
"label": "Labor Splendor",
"description": "The amount of labor slendor required to acquire the building from the estates panel",
"type": "number"
},
"kingdom influence": {
"label": "Kingdon Influence",
"description": "The amount of Kingdom Influence required to acquire the building from the estates panel",
"type": "number"
},
"kingdom splendor": {
"label": "Kingdom Splendor",
"description": "The amount of Kingdom Splendor required to acquire the building from the estates panel",
"type": "number"
},
"clergy influence": {
"label": "Clergy Influence",
"description": "The amount of Clergy Influence required to acquire the building from the estates panel",
"type": "number"
},
"clergy splendor": {
"label": "Clergy Splendor",
"description": "The amount of Clergy Splendor required to acquire the building from the estates panel",
"type": "number"
},
"workers": {
"label": "Workers",
"description": "The maximum number of workers that can work in the building",
"type": "number"
},
"requirements": {
"label": "Production Requirements",
"description": "Required materials to produce goods",
"type": "string"
},
"produces": {
"label": "Produces",
"description": "The output of the building",
"type": "string"
},
"coins": {
"label": "Coins Required",
"description": "The cost to construct the building",
"type": "number"
},
"stone": {
"label": "Stone",
"description": "The quantity of stone required to construct the building",
"type": "number"
},
"wood": {
"label": "Wood",
"description": "The quantity of wood required to construct the building",
"type": "number"
},
"cloth": {
"label": "Cloth",
"description": "The quantity of cloth required to construct the building"
},
"gems": {
"label": "Gems",
"description": "The quantity of gems required to construct the building",
"type": "number"
},
"glass": {
"label": "Glass",
"description": "The quantity of glass required to construct the building",
"type": "number"
},
"gold": {
"label": "Gold",
"description": "The quantity of gold bars required to construct the building",
"type": "number"
},
"iron": {
"label": "Iron",
"description": "The quantity of iron bars required to construct the building",
"type": "number"
},
"marble": {
"label": "Marble",
"description": "The quantity of marble required to construct the building",
"type": "number"
},
"planks": {
"label": "Planks",
"description": "The quantity of planks required to construct the building",
"type": "number"
},
"polished stone": {
"label": "Polished Stone",
"description": "The quantity of polished stone required to construct the building",
"type": "number"
},
"tools": {
"label": "Tools",
"description": "The quantity of tools required to construct the building",
"type": "number"
},
"sculpture": {
"label": "Sculpture",
"description": "The number of statues that must be crafted to construct the building. ",
"type": "number"
},
"tax": {
"label": "Tax",
"description": "The collectable tax amount available for collection per month",
"type": "number"
},
"maintenance": {
"label": "Maintenance",
"description": "The monthly cost of maintenance for the building.",
"type": "number"
}
},
"description": "The building template is the short summary infobox that is displayed on building pages",
"maps": {
"title": {},
"template": {}
},
"paramOrder": [
"title",
"image",
"caption",
"unlocked",
"labor influence",
"labor splendor",
"kingdom influence",
"kingdom splendor",
"clergy influence",
"clergy splendor",
"workers",
"requirements",
"produces",
"coins",
"stone",
"wood",
"cloth",
"gems",
"glass",
"gold",
"iron",
"marble",
"planks",
"polished stone",
"tools",
"sculpture",
"tax",
"maintenance"
],
"format": "{{_\n| _ = _\n}}"
}
</templatedata></noinclude>

Latest revision as of 16:35, 13 August 2022

Building Documentation - Any changes must be made from the documentation page.

The building template is the short summary infobox that is displayed on building pages

Template parameters

This template has custom formatting.

ParameterDescriptionTypeStatus
Titletitle

The title of the infobox

Default
{{PAGENAME}}
Stringoptional
Imageimage

The main image for the infobox, use with caption to add a description

Filesuggested
Captioncaption

A caption for the image, this will only display if there is an image.

Stringoptional
Unlocked byunlocked

A short note of requirements that must be met in order to construct the building

Stringsuggested
Labor Influencelabor influence

The amount of Labor Influence required to acquire the building from the estates panel

Numberoptional
Labor Splendorlabor splendor

The amount of labor slendor required to acquire the building from the estates panel

Numberoptional
Kingdon Influencekingdom influence

The amount of Kingdom Influence required to acquire the building from the estates panel

Numberoptional
Kingdom Splendorkingdom splendor

The amount of Kingdom Splendor required to acquire the building from the estates panel

Numberoptional
Clergy Influenceclergy influence

The amount of Clergy Influence required to acquire the building from the estates panel

Numberoptional
Clergy Splendorclergy splendor

The amount of Clergy Splendor required to acquire the building from the estates panel

Numberoptional
Workersworkers

The maximum number of workers that can work in the building

Numberoptional
Production Requirementsrequirements

Required materials to produce goods, use the format "item - 0; item2 - 0; ..." to display the resources

Example
iron ore - 1; coal - 2;
Stringsuggested
Producesproduces

The output of the building, use the format "item - 0; item2 - 0; ..." to display the resources

Example
iron ore - 1; coal - 2;
Stringsuggested
Coins Requiredcoins

The cost to construct the building

Numberoptional
Stonestone

The quantity of stone required to construct the building

Numberoptional
Woodwood

The quantity of wood required to construct the building

Numberoptional
Clothcloth

The quantity of cloth required to construct the building

Unknownoptional
Gemsgems

The quantity of gems required to construct the building

Numberoptional
Glassglass

The quantity of glass required to construct the building

Numberoptional
Goldgold

The quantity of gold bars required to construct the building

Numberoptional
Ironiron

The quantity of iron bars required to construct the building

Numberoptional
Marblemarble

The quantity of marble required to construct the building

Numberoptional
Planksplanks

The quantity of planks required to construct the building

Numberoptional
Polished Stonepolished stone

The quantity of polished stone required to construct the building

Numberoptional
Toolstools

The quantity of tools required to construct the building

Numberoptional
Sculpturesculpture

The number of statues that must be crafted to construct the building.

Numberoptional
Taxtax

The collectable tax amount available for collection per month

Numberoptional
Maintenancemaintenance

The monthly cost of maintenance for the building.

Numberoptional
buildingbuilding

no description

Unknownoptional
populationpopulation

no description

Unknownoptional