Template:Infobox building: Difference between revisions

From Songs of Syx Wiki
Jump to navigation Jump to search
No edit summary
Tag: Manual revert
No edit summary
Line 12: Line 12:
| style="font-size:9pt; background:#396254;" | {{tooltip|{{shadow|'''Building cost'''|#00000091}}|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: #567B6B;" | {{{cost}}}
| style="font-size:9pt; background:#396254;" | {{tooltip|{{shadow|'''Building cost'''|#00000091}}|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: #567B6B;" | {{{cost}}}
|-
|-
| style="font-size:9pt; background:#396254; width:100px;" | {{shadow|'''Building type'''|#00000091}} || style="font-size:9pt; background-color: #567B6B;" | {{{building_type}}}
| style="font-size:9pt; background:#396254; width:100px;" | {{shadow|'''Category'''|#00000091}} || style="font-size:9pt; background-color: #567B6B;" | {{{building_type}}}
|-
| style="font-size:9pt; background:#396254; width:100px;" | {{shadow|'''Sub-category'''|#00000091}} || style="font-size:9pt; background-color: #567B6B;" | {{{subtype}}}
|-
|-
| style="font-size:9pt; background:#396254; width:100px;" | {{shadow|'''Produces noise?'''|#00000091}} || style="font-size:9pt; background-color: #567B6B;" | {{{noise}}}
| style="font-size:9pt; background:#396254; width:100px;" | {{shadow|'''Produces noise?'''|#00000091}} || style="font-size:9pt; background-color: #567B6B;" | {{{noise}}}
Line 39: Line 41:
|cost = Cost of creating the building, which goes by resource cost per number of tiles.
|cost = Cost of creating the building, which goes by resource cost per number of tiles.
|building_type = Category of building.
|building_type = Category of building.
|subtype = Sub category of building.
|noise = Yes/No
|noise = Yes/No
|components = Individual components needed to complete the building (some may be optional).
|components = Individual components needed to complete the building (some may be optional).

Revision as of 11:05, 20 September 2021

{{{title}}}
{{{image}}}
{{{caption}}}
Building Information
Icon {{{icon}}}
Building cost {{{cost}}}
Category {{{building_type}}}
Sub-category {{{subtype}}}
Produces noise? {{{noise}}}
Components {{{components}}}
Expandable? {{{expandable}}}
Component Requirements {{{comp_req}}}
Production Information
Input {{{input}}}
Output {{{output}}}

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.
|subtype = Sub category of building.
|noise = Yes/No
|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.
|input = Which resources are used in production for this building.
|output = Which resources are created from this building.
|percent = (CURRENTLY UNUSED) The percentage of input resources compared to the output resources. For example, 50% would mean 2 resources would be needed to make 1 unit of another resource.
}}

Note: When placing this infobox, make sure ALL parameters are there, even if you're leaving them blank. The parameters above "input" are required, meaning if they are not assigned something, they will output something like {{{something}}} if left empty.
That looks messy and unattractive for this wiki. We don't want that.