Template:Infobox building: Difference between revisions

From Songs of Syx Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 10: Line 10:
| style="font-size:9pt; background:#426C3F;" | '''Icon''' || style="font-size:9pt; background-color: #587B56;" | {{{icon}}}
| style="font-size:9pt; background:#426C3F;" | '''Icon''' || style="font-size:9pt; background-color: #587B56;" | {{{icon}}}
|-
|-
| style="font-size:9pt; background:#426C3F;" | <span class="basic-tooltip" style="text-decoration:underline; text-decoration-style:dotted" title="Does NOT count walls unless stated otherwise. These numbers are the rough estimate cost and are not exact. A hyphen mean a building costs exactly the number. A times symbol means the cost is one resource per X number of tiles. A plus means a building costs that amount by default and at the smallest size, the next number is the cost of resource per X number of tiles when expanded any farther. A long hyphen means "give or take" some resources.">'''Building cost'''</span> || style="font-size:9pt; background-color: #587B56;" | {{{cost}}}
| style="font-size:9pt; background:#426C3F;" | {{tooltip|'''Building cost'''|Does NOT count walls unless stated otherwise. These numbers are the rough estimate cost and are not exact. A hyphen mean a building costs exactly the number. A times symbol means the cost is one resource per X number of tiles. A plus means a building costs that amount by default and at the smallest size, the next number is the cost of resource per X number of tiles when expanded any farther. A long hyphen means "give or take" some resources.}} || style="font-size:9pt; background-color: #587B56;" | {{{cost}}}
|-
|-
| style="font-size:9pt; background:#426C3F; width:100px;" | '''Building type''' || style="font-size:9pt; background-color: #587B56;" | {{{building_type}}}
| style="font-size:9pt; background:#426C3F; width:100px;" | '''Building type''' || style="font-size:9pt; background-color: #587B56;" | {{{building_type}}}
Line 18: Line 18:
| style="font-size:9pt; background:#426C3F;" | '''Expandable?''' || style="font-size:9pt; background-color: #587B56;" | {{{expandable}}}
| style="font-size:9pt; background:#426C3F;" | '''Expandable?''' || style="font-size:9pt; background-color: #587B56;" | {{{expandable}}}
|-
|-
| style="font-size:9pt; background:#426C3F;" | <span class="basic-tooltip" style="text-decoration:underline; text-decoration-style:dotted" title="Approximate cost of resources per X number of components. If stated, the component cost will be written by &quot;per tiles&quot; instead. If a plus is seen, this means the cost starts at the first number when the component is at the smallest size, and the second number means the resource cost will go up for every size or tile after that when expanded. A long hyphen means "give or take" some resources.">'''Component requirements'''</span> || style="font-size:9pt; background-color: #587B56;" | {{{comp_req}}}
| style="font-size:9pt; background:#426C3F;" | {{tooltip|'''Component Requirements'''|Approximate cost of resources per X number of components. If stated, the component cost will be written by &quot;per tiles&quot; instead. If a plus is seen, this means the cost starts at the first number when the component is at the smallest size, and the second number means the resource cost will go up for every size or tile after that when expanded. A long hyphen means "give or take" some resources.}} || style="font-size:9pt; background-color: #587B56;" | {{{comp_req}}}
|-
| colspan="2" style="background:#214D1E; width:90px; color: #fff; font-size:10pt; text-align:center;" | <small>'''Production Information'''</small>
|-
| style="font-size:9pt; background:#426C3F;" | {{tooltip|'''Uses'''|The rate of which input resources used to create one unit of the output resource.}} || style="font-size:9pt; background-color: #587B56;" | {{{icon}}}
|}
|}
[[Category:Infobox page]]
[[Category:Infobox page]]

Revision as of 23:26, 5 June 2021

{{{title}}}
{{{image}}}
{{{caption}}}
Building Information
Icon {{{icon}}}
Building cost {{{cost}}}
Building type {{{building_type}}}
Components {{{components}}}
Expandable? {{{expandable}}}
Component Requirements {{{comp_req}}}
Production Information
Uses {{{icon}}}

The documentation and help in relation to this infobox can be found here.

The format of this infobox works as shown below:

{{Infobox_building
|title = Name of building.
|image = Image of building.
|caption = Caption (jokingly) explaining the image.
|icon = Small icon of the building when selecting it in-game.
|cost = Cost of creating the building, which goes by resource cost per number of tiles.
|building_type = Category of building.
|components = Individual components needed to complete the building (some may be optional).
|expandable = If the building can be freely expanded or shrunk by the player.
|comp_req = Resources needed to make extra components for said building, which goes by resource cost per component.
}}