Template:Infobox building: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 22: | Line 22: | ||
| colspan="2" style="background:#214D1E; width:90px; color: #fff; font-size:10pt; text-align:center;" | <small>'''Production Information'''</small> | | 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|'''Input'''|Resource(s) used for production of another.}} || style="font-size:9pt; background-color: #587B56;" | {{#if:{{{input}}}|{{{input}}}|None}} | | style="font-size:9pt; background:#426C3F;" | {{tooltip|'''Input'''|Resource(s) used for production of another.}} || style="font-size:9pt; background-color: #587B56;" | {{#if:{{{input}}}|{{{input}}}|<span style="color:#ff5;"None</span>}} | ||
|- | |- | ||
| style="font-size:9pt; background:#426C3F;" | {{tooltip|'''Output'''|The resource(s) this building is meant to create.}} || style="font-size:9pt; background-color: #587B56;" | {{#if:{{{output}}}|{{{output}}}|'''None''' | | style="font-size:9pt; background:#426C3F;" | {{tooltip|'''Output'''|The resource(s) this building is meant to create.}} || style="font-size:9pt; background-color: #587B56;" | {{#if:{{{output}}}|{{{output}}}|'''None'''}} | ||
|- | |- | ||
| style="font-size:9pt; background:#426C3F;" | {{tooltip|'''Percent'''|The percentage of each resource needed to create a single unit of another resource. For example, 50% would mean it takes 2 of something to create 1 resource. 200% means it takes 2 resources to create 1, etc.}} || style="font-size:9pt; background-color: #587B56;" | {{#if:{{{percent}}}|{{{percent}}}|None}} | | style="font-size:9pt; background:#426C3F;" | {{tooltip|'''Percent'''|The percentage of each resource needed to create a single unit of another resource. For example, 50% would mean it takes 2 of something to create 1 resource. 200% means it takes 2 resources to create 1, etc.}} || style="font-size:9pt; background-color: #587B56;" | {{#if:{{{percent}}}|{{{percent}}}|None}} |
Revision as of 01:10, 6 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 | |
Input | {{{input}}} |
Output | {{{output}}} |
Percent | {{{percent}}} |
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. |input = Which resources are used in production for this building. |output = Which resources are created from this building. |percent = 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: 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.