Template:Building infobox: Difference between revisions

From Corsair Cove Official Wiki
added documentation on parameters. put link around the booster name; production per min falls back to output quantity if not specified
m Copypasta: cleaned out old data from the copypasta
Line 432: Line 432:
<pre><!-- Template parameters are explained at https://wiki.hoodedhorse.com/Corsair_Cove/Template:Building_infobox -->
<pre><!-- Template parameters are explained at https://wiki.hoodedhorse.com/Corsair_Cove/Template:Building_infobox -->
{{Building infobox
{{Building infobox
|name=Pirate Camp
|name=
|building_icon_filename=T ICO Camp.png
|building_icon_filename=
|category=Community
|category=
|theme=Camp
|theme=
|description=Where everyone meets. Offers some basic shelter and has some pirates permanently assigned to take care of construction and repairs. Provides 25 {{Pirate icon}} Housing. Build additional Housing to shelter more Pirates.
|description=
|housing=25
|housing=
|hands_builders=2
|hands_builders=
|hands_fetchers=
|hands_fetchers=
|hands_greenhands=
|hands_greenhands=
Line 446: Line 446:
|hands_upkeep_2=
|hands_upkeep_2=
|hands_upkeep_2_qty=
|hands_upkeep_2_qty=
|construction_1=Planks
|construction_1=
|construction_1_qty=20
|construction_1_qty=
|construction_2=
|construction_2=
|construction_2_qty=
|construction_2_qty=

Revision as of 01:53, 30 July 2026


Generates an infobox for the building using the supplied data.


Usage

Parameter Purpose
name= Required. The building's name.
building_icon_filename= The filename of the building's icon.
category= The construction category.
theme= The visual theme for the header, or omit for a generic theme, selected from one of the following:
  • Generic - default
  • Camp
  • Galley
  • Tavern
  • Pier
  • Defense
  • Notoriety
  • Empire
  • Seafaring
  • Wealth
description= Required. The flavor text of the building.
housing= The number of housing slots the building provides, if any.
hands_builders= Builders employed by this building, if any.
hands_fetchers= Maximum number of Fetchers employed by this building, if any.
hands_greenhands= Greenhands employed by this building, if any.
hands_masterhands= Masterhands employed by this building, if any.
hands_upkeep_1= Name of the first upkeep resource required by Hands.
hands_upkeep_1_qty= Quantity of the first upkeep resource required by Hands.
hands_upkeep_2= "
hands_upkeep_2_qty= "
construction_1= Name of the first construction resource required to build.
construction_1_qty= Quantity of the first construction resource required to build.
construction_2= "
construction_2_qty= "
construction_3= "
construction_3_qty= "
construction_requires_fertile_area= If this building must be placed on Fertile Area, then mark this as true
production_input_1= Name of the first input resource for production
production_input_1_qty= Quantity of the first input resource for production
production_input_2= "
production_input_2_qty= "
production_output= Name of the resource produced.
production_output_qty= Quantity of the resource produced.
production_base_per_min= Production rate per minute, if different from the output quantity.
production_booster_1= Name of the first production booster from the Compass.
production_booster_2= "
production_output_storage= Maximum storage capacity for the output resource.
community_upkeep_1= For community buildings, the name of the first Upkeep Resource this building supplies to the community.
community_upkeep_1_qty= Quantity of the first community upkeep resource.
community_upkeep_2= "
community_upkeep_2_qty= "
community_upkeep_3= "
community_upkeep_3_qty= "
community_upkeep_4= "
community_upkeep_4_qty= "

Examples

<!-- Template parameters are explained at https://wiki.hoodedhorse.com/Corsair_Cove/Template:Building_infobox -->
{{Building infobox
|name=Charburner
|building_icon_filename=T ICO Charburner.png
|category=Materials
|theme=
|description=Is said to have a smouldering gaze.
|housing=
|hands_builders=
|hands_fetchers=2
|hands_greenhands=2
|hands_masterhands=
|hands_upkeep_1=Stew
|hands_upkeep_1_qty=+2
|hands_upkeep_2=
|hands_upkeep_2_qty=
|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=
}}

Charburner

Materials Building

Is said to have a smouldering gaze.
Hands
Fetchers
Fetchers
2
Greenhands
Greenhands
2
Required Upkeep for Hands
+2 Stew
Construction Cost
30 Planks
Production
Input
2 Stone Stone
6 Hardwood Hardwood
Output
16 Charcoal Charcoal
Base production (per min.) 16
Booster: Kindle-Coal
Output storage 32
<!-- Template parameters are explained at https://wiki.hoodedhorse.com/Corsair_Cove/Template:Building_infobox -->
{{Building infobox
|name=Pirate Camp
|building_icon_filename=T ICO Camp.png
|category=Community
|theme=Camp
|description=Where everyone meets. Offers some basic shelter and has some pirates permanently assigned to take care of construction and repairs. Provides 25 {{Pirate icon}} Housing. Build additional Housing to shelter more Pirates.
|housing=25
|hands_builders=2
|hands_fetchers=
|hands_greenhands=
|hands_masterhands=
|hands_upkeep_1=
|hands_upkeep_1_qty=
|hands_upkeep_2=
|hands_upkeep_2_qty=
|construction_1=Planks
|construction_1_qty=20
|construction_2=
|construction_2_qty=
|construction_3=
|construction_3_qty=
|construction_requires_fertile_area=
|production_input_1=
|production_input_1_qty=
|production_input_2=
|production_input_2_qty=
|production_output=
|production_output_qty=
|production_base_per_min=
|production_booster_1=
|production_booster_2=
|production_output_storage=
|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=
}}

Pirate Camp

Community Building

Where everyone meets. Offers some basic shelter and has some pirates permanently assigned to take care of construction and repairs. Provides 25 Pirates Housing. Build additional Housing to shelter more Pirates.
Housing
25 Pirates
Construction Cost
20 Planks

Copypasta

Copy and paste this at the top of any article on a specific building:

<!-- Template parameters are explained at https://wiki.hoodedhorse.com/Corsair_Cove/Template:Building_infobox -->
{{Building infobox
|name=
|building_icon_filename=
|category=
|theme=
|description=
|housing=
|hands_builders=
|hands_fetchers=
|hands_greenhands=
|hands_masterhands=
|hands_upkeep_1=
|hands_upkeep_1_qty=
|hands_upkeep_2=
|hands_upkeep_2_qty=
|construction_1=
|construction_1_qty=
|construction_2=
|construction_2_qty=
|construction_3=
|construction_3_qty=
|construction_requires_fertile_area=
|production_input_1=
|production_input_1_qty=
|production_input_2=
|production_input_2_qty=
|production_output=
|production_output_qty=
|production_base_per_min=
|production_booster_1=
|production_booster_2=
|production_output_storage=
|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=
}}