Difference between revisions of "Template:Infobox Building"

From Foundation - Wiki
Jump to navigation Jump to search
Line 1: Line 1:
<includeonly>
<infobox>
<title source="title"><default>{{PAGENAME}}</default></title>
<image source="image"><default>[[File:{{PAGENAME:{{{image}}}}}|260px]]</default></image>


<noinclude>
<group>
<templatedata>
<header>Prerequisites</header>
{
<data source="splendour">
"params": {
  <label>Splendour</label>
"PageName": {
  <format></format>
"description": "The page name",
</data>
"type": "wiki-page-name",
</group>
"required": true,
 
"autovalue": "{{PAGENAME}}"
<group>
},
<header>Production</header>
"Image": {
<data source="workers">
"type": "wiki-file-name",
  <label>Workers</label>
"autovalue": "{{PAGENAME}}",
  <data source="class">
"suggested": true
  <label font-style: italic>Best suited to</label>
}
</data>
},
</data>
"description": "A template for manual infobox editing",
<data source="input">
"paramOrder": [
  <label>Consumes</label>
"PageName",
</data>
"Image"
<data source="output">
]
  <label>Produces</label>
}
</data>
</templatedata>
</group>
</noinclude>
 
<group-layout: horizontal>
<header>Construction Requirements</header>
<data source="construction"></data>
  <data source="maintenance">
  <label>Maintenance Cost</label>
</group>
 
|building
|title={{{title|}}}
|image={{{image|}}}
|caption={{{caption|}}}
</infobox>
</includeonly>
<!---->
{{Infobox
|
}}

Revision as of 08:40, 11 April 2025