Template:Building infobox: Difference between revisions
From Corsair Cove Official Wiki
WIP |
Ready for graphics |
||
| Line 5: | Line 5: | ||
--><div class="cc-infobox-builing-header"><!-- | --><div class="cc-infobox-builing-header"><!-- | ||
---->{{#if: {{{building_icon_filename|}}}|<!-- | ---->{{#if: {{{building_icon_filename|}}}|<!-- | ||
------><div class="cc-infobox-bulding-header-icon">[[File:{{{building_icon_filename}}} | ------><div class="cc-infobox-bulding-header-icon">[[File:{{{building_icon_filename}}}]]</div><!-- | ||
---->}} | ---->}} | ||
{{{name|Building name required}}} | {{{name|Building name required}}} | ||
| Line 128: | Line 128: | ||
-->}}<!-- | -->}}<!-- | ||
** COMMUNITY BUILDINGS UPKEEP ** | ** COMMUNITY BUILDINGS PROVIDING UPKEEP RESOURCES ** | ||
--> | -->{{#if: {{{community_upkeep_1|}}}{{{community_upkeep_2|}}}{{{community_upkeep_3|}}}{{{community_upkeep_4|}}} |<!-- | ||
----><div class="cc-infobox-building-section" style="text-align: center;"><!-- | |||
<div style="text-align: center;"> | ------>Upkeep for Community<!-- | ||
Upkeep for Community | ------><hr><!-- | ||
<hr> | ------><div style="display: flex; flex-wrap: wrap; justify-content: space-evenly; gap: 12px;"><!-- | ||
<div style="display: flex; flex-wrap: wrap; justify-content: space-evenly; gap: 12px;"><!-- | --------><span>{{Resource|Stew|size=md}}</span><!-- | ||
--><span>{{Resource|Stew|size=md}}</span><!-- | --------><span>{{Resource|Cassava Bread|size=md}}</span><!-- | ||
--><span>{{Resource|Cassava Bread|size=md}}</span><!-- | --------><span>{{Resource|Roast Bird|size=md}}</span><!-- | ||
--><span>{{Resource|Roast Bird|size=md}}</span><!-- | --------><span>{{Resource|Turtle Soup|size=md}}</span><!-- | ||
--><span>{{Resource|Turtle Soup|size=md}}</span> | ------></div><!-- | ||
</div> | ----></div><!-- | ||
</div></includeonly><noinclude> | -->}}</includeonly><noinclude> | ||
Generates an infobox for the building using the supplied data. | Generates an infobox for the building using the supplied data. | ||
| Line 186: | Line 186: | ||
|community_upkeep_3_qty= | |community_upkeep_3_qty= | ||
|community_upkeep_4= | |community_upkeep_4= | ||
|community_upkeep_4_qty= | |||
}}</pre> | }}</pre> | ||
{{Building infobox | {{Building infobox | ||
| Line 223: | Line 224: | ||
|community_upkeep_3_qty= | |community_upkeep_3_qty= | ||
|community_upkeep_4= | |community_upkeep_4= | ||
|community_upkeep_4_qty= | |||
}} | }} | ||
[[Category: Infobox templates]] | [[Category: Infobox templates]] | ||
</noinclude> | </noinclude> | ||
Revision as of 22:57, 29 July 2026
Generates an infobox for the building using the supplied data.
Usage
Example
<!-- Building infobox template parameters are explained at https://wiki.hoodedhorse.com/Corsair_Cove/Template:Building_infobox
{{Building infobox
|name=Charburner
|category=Materials
|building_icon_filename=T ICO Charburner.png
|description=Is said to have a smouldering gaze.
|housing=
|hands_fetchers=2
|hands_greenhands=2
|hands_masterhands=
|hands_upkeep_1=Stew
|hands_upkeep_1_qty=+2
|hands_upkeep_2=
|construction_1=Planks
|construction_1_qty=30
|construction_2=
|construction_2_qty=
|construction_3=
|construction_3_qty=
|construction_requires_fertile_area=
|production_input_1=Hardwood
|production_input_1_qty=6
|production_input_2=Stone
|production_input_2_qty=2
|production_output=Charcoal
|production_output_qty=16
|production_base_per_min=16
|production_booster_1=Kindle-Coal
|production_booster_2=
|production_output_storage=32
|community_upkeep_1=
|community_upkeep_1_qty=
|community_upkeep_2=
|community_upkeep_2_qty=
|community_upkeep_3=
|community_upkeep_3_qty=
|community_upkeep_4=
|community_upkeep_4_qty=
}}



