Content added Content deleted
miraheze:farthestfrontier>Pikester No edit summary |
NotAracham (talk | contribs) (→Basic Example: vizfix) |
||
(24 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{| class="wikitable" style="float: right; padding: 5px; background: #eaecf0; border: 3px solid #000000; width: 200px; margin-left: 3px" |
|||
<includeonly><table class="floatright infoboxBuilding"><!-- |
|||
! colspan="2" | {{{subj}}} |
|||
--><th>'''{{{name}}}'''</th><!-- |
|||
|- |
|||
--><tr><td>[[Image:{{{image}}}|center|200x400px]]</td></tr><!-- |
|||
! colspan="2" | [[{{{img|File:Blank.png}}}|200px]] |
|||
--><th>'''Tier'''</th><!-- |
|||
|- |
|||
--><tr><td>{{#if:{{{Tier|}}}|{{{Tier}}}|???}}</td></tr><!-- |
|||
! style="text-align: left;" | Category |
|||
--><th>'''Prerequisite'''</th><!-- |
|||
| {{{category}}} |
|||
--><tr><td>{{#if:{{{prerequisite|}}}|{{{prerequisite}}}|???}}</td></tr><!-- |
|||
|- |
|||
--><th>'''Size'''</th><!-- |
|||
! style="text-align: left;" | Tier |
|||
--><tr><td>{{#if:{{{size|}}}|{{{size}}}|???}}</td></tr><!-- |
|||
| {{{tier}}} |
|||
--><th>'''Materials'''</th><!-- |
|||
|- |
|||
--><tr><td>{{#if:{{{materials|}}}|{{{materials}}}|???}}</td></tr><!-- |
|||
! style="text-align: left;" | Prerequisite |
|||
--><th>'''Upkeep'''</th><!-- |
|||
| {{{prerequisite}}} |
|||
--><tr><td>{{#if:{{{upkeep|}}}|{{{upkeep}}}|???}}</td></tr><!-- |
|||
|- |
|||
--><th>'''Producted Item'''</th><!-- |
|||
! style="text-align: left;" | Size |
|||
--><tr><td>{{#if:{{{producted_item|}}}|{{{producted_item}}}|???}}</td></tr><!-- |
|||
| {{{size}}} |
|||
--><th>'''Occupancy'''</th><!-- |
|||
|- |
|||
--><tr><td>{{#if:{{{Occupancy|}}}|{{{Occupancy}}}|???}}</td></tr><!-- |
|||
! style="text-align: left;" | Cost |
|||
--><th>'''Upgrades to'''</th><!-- |
|||
| |
|||
--><tr><td>{{#if:{{{upgrades_to|}}}|{{{upgrades_to}}}|???}}</td></tr><!-- |
|||
{{{cost}}} |
|||
--><th>'''Desirability'''</th><!-- |
|||
|- |
|||
--><tr><td>{{#if:{{{desirability|}}}|{{{desirability}}}|???}}</td></tr><!-- |
|||
! style="text-align: left;" | Upkeep |
|||
--></table></includeonly><noinclude> |
|||
| {{{upkeep}}} |
|||
⚫ | |||
|- |
|||
<!-- Add categories and interwikis to the /doc subpage, not here! --> |
|||
! style="text-align: left;" | Produced [[Resources|Item]] |
|||
</noinclude> |
|||
| {{{produced_item}}} |
|||
|- |
|||
! style="text-align: left;" | [[Occupancy]] |
|||
| {{{occupancy}}} |
|||
|- |
|||
! style="text-align: left;" | Upgrades To |
|||
| {{{upgrades_to}}} |
|||
|- |
|||
! style="text-align: left;" | Upgrade Cost |
|||
| |
|||
{{{upgrade_cost}}} |
|||
|- |
|||
! style="text-align: left;" | [[Desirability]] |
|||
| {{{desirability}}} |
|||
|} |
|||
⚫ |
Latest revision as of 02:43, 26 September 2022
{{{subj}}} | |
---|---|
![]() | |
Category | {{{category}}} |
Tier | {{{tier}}} |
Prerequisite | {{{prerequisite}}} |
Size | {{{size}}} |
Cost |
{{{cost}}} |
Upkeep | {{{upkeep}}} |
Produced Item | {{{produced_item}}} |
Occupancy | {{{occupancy}}} |
Upgrades To | {{{upgrades_to}}} |
Upgrade Cost |
{{{upgrade_cost}}} |
Desirability | {{{desirability}}} |
- This help documentation is transcluded from Template:InfoboxBuilding/doc
Usage
This template displays an Infobox for a Building with the following parameters:
- subj
- Name of the building
- img
- Image filename of the building
- category
- Category for the building
- tier
- Tier of the building
- prerequisite
- Any building or other requirement to construct this building
- size
- Actual per-square grid size in game, shorter number being first
- cost
- Embeds Template:InfoboxCost to implement resource cost for initial construction
- upkeep
- Cost to maintain the building
- produced_item
- What resources this building creates
- occupancy
- Details related to total occupancy and associated Profession
- upgrades_to
- The next upgrade of this building
- upgrade_cost
- Embeds Template:InfoboxCost to implement resource cost for upgrades
- desirability
- What impact does this building have on desirability
Basic Example
{{InfoboxBuilding | subj = Trading Post | img = File:Building_TradingPostT1_01.png | category = Amenities & Services | tier = 2 | prerequisite = [[Town Center|Town Center - Tier 2]] | size = 4x5 | cost = {{InfoboxCost | labor = 80 | logs = 35 | stone= 10 }} | upkeep = None | produced_item = None | occupancy = 1-2 [[Trader|Traders]] | upgrades_to = Trading Center | upgrade_cost = {{InfoboxCost | planks = 100 | bricks = 50 | gold = 500 }} | desirability = Neutral }}
Trading Post | ||||
---|---|---|---|---|
![]() | ||||
Category | Amenities & Services | |||
Tier | 2 | |||
Prerequisite | Town Center - Tier 2 | |||
Size | 4x5 | |||
Cost |
| |||
Upkeep | None | |||
Produced Item | None | |||
Occupancy | 1-2 Traders | |||
Upgrades To | Trading Center | |||
Upgrade Cost |
| |||
Desirability | Neutral |
Tabbed Example
<div style="float: right; width: 25%; margin-left: 3px">{{#tag:tabber| Base= {{InfoboxBuilding | subj = Market | img = File:Building_Market_T1.png | category = Amenities & Services | tier = 1 | prerequisite = [[Saw Pit]]<br/>[[Storehouse]] | size = 4x4 | cost = {{InfoboxCost | planks = 40 | stone= 10 }} | upkeep = None | produced_item = {{Gold}} | occupancy = 1 [[Grocer]]<br/> 2 Grocers at Tier 2 | upgrades_to = Market Square | upgrade_cost = {{InfoboxCost | planks = 50 | bricks = 50 | gold = 250 }} | desirability = Positive }} {{!}}-{{!}} Upgrade= {{InfoboxBuilding | subj = Market Square | img = File:Building_Market_T2.png | category = Amenities & Services | tier = Upgrade | prerequisite = None | size = 4x4 | cost = {{InfoboxCost | planks = 50 | bricks = 50 | gold = 250 }} | upkeep = None | produced_item = {{Gold}} | occupancy = 2 Grocers | upgrades_to = N/A | upgrade_cost = N/A | desirability = Positive }} }} </div>
<tabber>
Base=
Market | ||||
---|---|---|---|---|
![]() | ||||
Category | Amenities & Services | |||
Tier | 1 | |||
Prerequisite | Saw Pit Storehouse | |||
Size | 4x4 | |||
Cost |
| |||
Upkeep | None | |||
Produced Item | ![]() | |||
Occupancy | 1 Grocer 2 Grocers at Tier 2 | |||
Upgrades To | Market Square | |||
Upgrade Cost |
| |||
Desirability | Positive |
|-|
Upgrade=
Market Square | ||||
---|---|---|---|---|
![]() | ||||
Category | Amenities & Services | |||
Tier | Upgrade | |||
Prerequisite | None | |||
Size | 4x4 | |||
Cost |
| |||
Upkeep | None | |||
Produced Item | ![]() | |||
Occupancy | 2 Grocers | |||
Upgrades To | N/A | |||
Upgrade Cost |
N/A | |||
Desirability | Positive |
</tabber>