Template:Building infobox: Difference between revisions
From Corsair Cove Official Wiki
WIP |
No edit summary |
||
| (22 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
<includeonly><div class="cc-infobox-building" style=" | <includeonly><div class="cc-infobox-building" style="width: 360px; float: right;"><!-- | ||
<div class="cc-infobox- | ** HEADER ** | ||
{{#if: {{{building_icon_filename|}}}|[[File:{{{building_icon_filename}}}| | |||
{{{name| | --><div class="cc-infobox-building-header"><!-- | ||
---->{{#if: {{{building_icon_filename|}}}|<!-- | |||
</div> | ------><div class="cc-infobox-building-header-icon">[[File:{{{building_icon_filename}}}|link=|]]</div><!-- | ||
---->}} | |||
{{{name|Building name required}}} | |||
{{{category|}}} Building | |||
<!-- | |||
--></div><!-- | |||
** THEME WELL ** | |||
--><div class="cc-infobox-building-header-theme-well cc-infobox-building-header-theme-{{lc:{{#if:{{{theme|}}}|{{{theme}}}|generic}}}}"></div><!-- | |||
** DESCRIPTION ** | |||
--><div class="cc-infobox-building-description"><!-- | |||
---->{{{description|Description required}}}<!-- | |||
--></div><!-- | |||
** UNLOCKING ** | |||
-->{{#if: {{{unlocked_by_1|}}}{{{unlocked_by_2|}}}{{{unlocked_by_3|}}} |<!-- | |||
----><div class="cc-infobox-building-section" style="text-align: center;"><!-- | |||
------>Unlocked by<!-- | |||
------><hr><!-- | |||
------><div style="display: flex; justify-content: space-evenly; gap: 12px;"><!-- | |||
-------->{{#if: {{{unlocked_by_1|}}} | <span>{{{unlocked_by_1}}}</span> }}<!-- | |||
-------->{{#if: {{{unlocked_by_2|}}} | <span>{{{unlocked_by_2}}}</span> }}<!-- | |||
-------->{{#if: {{{unlocked_by_3|}}} | <span>{{{unlocked_by_3}}}</span> }}<!-- | |||
------></div><!-- | |||
----></div><!-- | |||
-->}}<!-- | |||
** HOUSING ** | |||
-->{{#if: {{{housing|}}} |<!-- | |||
----><div class="cc-infobox-building-section" style="text-align: center;"><!-- | |||
------>Housing<!-- | |||
------><hr><!-- | |||
------>{{{housing}}} {{Pirate icon|size=xs}}<!-- | |||
----></div><!-- | |||
-->}}<!-- | |||
** WORKERS ** | |||
-->{{#if: {{{hands_fetchers|}}}{{{hands_greenhands|}}}{{{hands_masterhands|}}} |<!-- | |||
----><div class="cc-infobox-building-section" style="text-align: center;"><!-- | |||
------>Hands<!-- | |||
------><hr><!-- | |||
------><div style="display: flex; justify-content: space-evenly; gap: 12px;"><!-- | |||
-------->{{#if: {{{hands_builders|}}} |<!-- | |||
----------><div>Builders<br />{{Pirate icon|Builders|size=lg}}<br/ >{{{hands_builders}}}</div><!-- | |||
-------->}}<!-- | |||
-------->{{#if: {{{hands_fetchers|}}} |<!-- | |||
----------><div>Fetchers<br />{{Pirate icon|Fetchers|size=lg}}<br/ >{{{hands_fetchers}}}</div><!-- | |||
-------->}}<!-- | |||
-------->{{#if: {{{hands_greenhands|}}} |<!-- | |||
----------><div>Greenhands<br />{{Pirate icon|Greenhands|size=lg}}<br />{{{hands_greenhands}}}</div><!-- | |||
-------->}}<!-- | |||
-------->{{#if: {{{hands_masterhands|}}} |<!-- | |||
----------><div>Masterhands<br />{{Pirate icon|Masterhands|size=lg}}<br />{{{hands_masterhands}}}</div><!-- | |||
-------->}}<!-- | |||
------></div><!-- | |||
----></div><!-- | |||
-->}}<!-- | |||
** WORKER UPKEEP ** | |||
-->{{#if: {{{hands_upkeep_1|}}}{{{hands_upkeep_2|}}} |<!-- | |||
</div> | ----><div class="cc-infobox-building-section" style="text-align: center;"><!-- | ||
------>Required Upkeep for Hands<!-- | |||
------><hr><!-- | |||
------><div style="display: flex; justify-content: space-evenly; gap: 12px;"><!-- | |||
-------->{{#if: {{{hands_upkeep_1|}}} |<!-- | |||
----------><span style="white-space: nowrap;">{{{hands_upkeep_1_qty|}}} {{Resource icon|{{{hands_upkeep_1}}}|size=sm}}</span><!-- | |||
-------->}}<!-- | |||
-------->{{#if: {{{hands_upkeep_2|}}} |<!-- | |||
----------><span style="white-space: nowrap;">{{{hands_upkeep_2_qty|}}} {{Resource icon|{{{hands_upkeep_2}}}|size=sm}}</span><!-- | |||
-------->}}<!-- | |||
------></div><!-- | |||
----></div><!-- | |||
-->}}<!-- | |||
** CONSTRUCTION ** | |||
<div style="text-align: center;"> | ----><div class="cc-infobox-building-section" style="text-align: center;"><!-- | ||
------>Construction Cost<!-- | |||
<hr> | ------><hr><!-- | ||
{|style=" | ------><div style="display: flex; justify-content: space-evenly; gap: 12px;"><!-- | ||
| | -------->{{#if: {{{construction_1|}}} |<!-- | ||
|- | ----------><span style="white-space: nowrap;">{{{construction_1_qty|}}} {{Resource icon|{{{construction_1}}}|size=sm}}</span><!-- | ||
| {{ | -------->}}<!-- | ||
| {{ | -------->{{#if: {{{construction_2|}}} |<!-- | ||
|- | ----------><span style="white-space: nowrap;">{{{construction_2_qty|}}} {{Resource icon|{{{construction_2}}}|size=sm}}</span><!-- | ||
| | -------->}}<!-- | ||
|} | -------->{{#if: {{{construction_3|}}} |<!-- | ||
</div> | ----------><span style="white-space: nowrap;">{{{construction_3_qty|}}} {{Resource icon|{{{construction_3}}}|size=sm}}</span><!-- | ||
-------->}}<!-- | |||
------></div><!-- | |||
------><div style="display: flex; justify-content: space-evenly; gap: 12px;"><!-- | |||
-------->{{#if: {{{construction_4|}}} |<!-- | |||
----------><span style="white-space: nowrap;">{{{construction_4_qty|}}} {{Resource icon|{{{construction_4}}}|size=sm}}</span><!-- | |||
-------->}}<!-- | |||
-------->{{#if: {{{construction_5|}}} |<!-- | |||
----------><span style="white-space: nowrap;">{{{construction_5_qty|}}} {{Resource icon|{{{construction_5}}}|size=sm}}</span><!-- | |||
-------->}}<!-- | |||
-------->{{#if: {{{construction_6|}}} |<!-- | |||
----------><span style="white-space: nowrap;">{{{construction_6_qty|}}} {{Resource icon|{{{construction_6}}}|size=sm}}</span><!-- | |||
-------->}}<!-- | |||
------></div><!-- | |||
------>{{#if: {{{construction_requires_fertile_area|}}} |<!-- | |||
-------->Needs to be placed in [[Fertile Area]]<!-- | |||
------>}}<!-- | |||
----></div><!-- | |||
** PRODUCTION ** | |||
<div style="text-align: center;"> | -->{{#if: {{{production_input_1|}}}{{{production_input_2|}}}{{{production_output|}}} |<!-- | ||
----><div class="cc-infobox-building-section" style="text-align: center;"><!-- | |||
<hr> | ------>Production<!-- | ||
{| | ------><hr><!-- | ||
| | ------><div style="display: flex; justify-content: space-evenly; gap: 12px;"><!-- | ||
|} | -------->{{#if: {{{production_input_1|}}}{{{production_input_2|}}} |<!-- | ||
----------><div><!-- | |||
</div> | ------------>Input<!-- | ||
------------><hr><!-- | |||
------------>{{Resource stack|{{{production_input_1|}}}={{{production_input_1_qty|0}}}|{{{production_input_2|}}}={{{production_input_2_qty|0}}}|size=sm}}<!-- | |||
----------></div><!-- | |||
-------->}}<!-- | |||
-------->{{#if: {{{production_output|}}} |<!-- | |||
----------><div><!-- | |||
------------>Output<!-- | |||
------------><hr><!-- | |||
------------><span style="white-space: nowrap;">{{{production_output_qty|}}} {{Resource|{{{production_output}}}|size=sm}}</span><!-- | |||
----------></div><!-- | |||
-------->}}<!-- | |||
------></div><!-- | |||
------>{{#if: {{{production_output|}}} |<!-- | |||
--------><div class="cc-infobox-building-section-production-table"> | |||
{{{!}}style="width: 100%; text-align: left;" | |||
! Base production (per min.) !! {{{production_base_per_min|{{{production_output_qty|}}}}}} | |||
{{#if: {{{production_booster_1|}}} | | |||
{{!}}- | |||
{{!}} Booster: [[Compass#List of Compass unlocks|{{{production_booster_1}}}]] {{!}}{{!}} | |||
}} | |||
{{#if: {{{production_booster_2|}}} | | |||
{{!}}- | |||
{{!}} Booster: [[{{{production_booster_2}}}]] {{!}}{{!}} | |||
}} | |||
{{!}}- | |||
! Output storage !! {{{production_output_storage|0}}} | |||
{{!}}}<!-- | |||
--------></div><!-- | |||
------>}}<!-- | |||
----></div><!-- | |||
-->}}<!-- | |||
** COMMUNITY BUILDINGS PROVIDING UPKEEP RESOURCES ** | |||
<div style="text-align: center;"> | -->{{#if: {{{community_upkeep_1|}}}{{{community_upkeep_2|}}}{{{community_upkeep_3|}}}{{{community_upkeep_4|}}} |<!-- | ||
Upkeep for Community | ----><div class="cc-infobox-building-section" style="text-align: center;"><!-- | ||
<hr> | ------>Upkeep for Community<!-- | ||
<div style="display: flex; flex-wrap: wrap; justify-content: space-evenly; gap: 12px;"><!-- | ------><hr><!-- | ||
--><span>{{Resource| | ------><div style="display: flex; flex-wrap: wrap; justify-content: space-evenly; gap: 12px;"><!-- | ||
--><span>{{Resource| | -------->{{#if:{{{community_upkeep_1|}}}|<span>{{Resource|{{{community_upkeep_1}}}|size=md}}</span>}}<!-- | ||
--><span>{{Resource| | -------->{{#if:{{{community_upkeep_2|}}}|<span>{{Resource|{{{community_upkeep_2}}}|size=md}}</span>}}<!-- | ||
--><span>{{Resource| | -------->{{#if:{{{community_upkeep_3|}}}|<span>{{Resource|{{{community_upkeep_3}}}|size=md}}</span>}}<!-- | ||
-------->{{#if:{{{community_upkeep_4|}}}|<span>{{Resource|{{{community_upkeep_4}}}|size=md}}</span>}}<!-- | |||
------></div><!-- | |||
----></div><!-- | |||
-->}} | |||
</div> | </div> | ||
[[Category: Buildings]] | |||
{{#if: {{{category|}}} | [[Category: {{{category}}}]] }} | |||
{{#if: {{{theme|}}} | [[Category: {{{theme}}}]] }} | |||
</includeonly><noinclude> | |||
Generates an infobox for the building using the supplied data. | Generates an infobox for the building using the supplied data. | ||
__FORCETOC__ | |||
== Usage == | == Usage == | ||
=== | {|class=wikitable | ||
! Parameter !! Purpose | |||
|- | |||
| <code>name=</code> || '''Required.''' The building's name. | |||
|- | |||
| <code>building_icon_filename=</code> || The filename of the building's icon. | |||
|- | |||
| <code>category=</code> || The construction category. | |||
|- | |||
| <code>theme=</code> || The visual theme for the header, or omit for a generic theme, selected from one of the following: | |||
* <code>Generic</code> - default | |||
* <code>Camp</code> | |||
* <code>Galley</code> | |||
* <code>Tavern</code> | |||
* <code>Pier</code> | |||
* <code>Defense</code> | |||
* <code>Notoriety</code> | |||
* <code>Empire</code> | |||
* <code>Seafaring</code> | |||
* <code>Wealth</code> | |||
|- | |||
| <code>description=</code> || '''Required.''' The flavor text of the building. | |||
|- | |||
| <code>unlocked_by_1=</code> || The earliest Compass node that unlocks the building, if any, for example the booster. If a ship unlocks it, name the first (clockwise) ship. If it is first unlocked by crew requirements, e.g., the Marketplace, name the ship that first (clockwise) introduces that crew. Wrap in <code><nowiki>[[...]]</nowiki></code> to make it a link, or not for plain text, if the unlock condition is more generic. | |||
|- | |||
| <code>unlocked_by_2=</code> || The second Compass node, ship, etc. | |||
|- | |||
| <code>unlocked_by_3=</code> || ''"'' | |||
|- | |||
| <code>housing=</code> || The number of housing slots the building provides, if any. | |||
|- | |||
| <code>hands_builders=</code> || Builders employed by this building, if any. | |||
|- | |||
| <code>hands_fetchers=</code> || Maximum number of Fetchers employed by this building, if any. | |||
|- | |||
| <code>hands_greenhands=</code> || Greenhands employed by this building, if any. | |||
|- | |||
| <code>hands_masterhands=</code> || Masterhands employed by this building, if any. | |||
|- | |||
| <code>hands_upkeep_1=</code> || Name of the first upkeep resource required by Hands. | |||
|- | |||
| <code>hands_upkeep_1_qty=</code> || Quantity of the first upkeep resource required by Hands. | |||
|- | |||
| <code>hands_upkeep_2=</code> || ''"'' | |||
|- | |||
| <code>hands_upkeep_2_qty=</code> || ''"'' | |||
|- | |||
| <code>construction_1=</code> || Name of the first construction resource required to build. | |||
|- | |||
| <code>construction_1_qty=</code> || Quantity of the first construction resource required to build. | |||
|- | |||
| <code>construction_2=</code> || ''"'' | |||
|- | |||
| <code>construction_2_qty=</code> || ''"'' | |||
|- | |||
| <code>construction_3=</code> || ''"'' | |||
|- | |||
| <code>construction_3_qty=</code> || ''"'' | |||
|- | |||
| <code>construction_requires_fertile_area=</code> || If this building must be placed on Fertile Area, then mark this as <code>true</code> | |||
|- | |||
| <code>production_input_1=</code> || Name of the first input resource for production | |||
|- | |||
| <code>production_input_1_qty=</code> || Quantity of the first input resource for production | |||
|- | |||
| <code>production_input_2=</code> || ''"'' | |||
|- | |||
| <code>production_input_2_qty=</code> || ''"'' | |||
|- | |||
| <code>production_output=</code> || Name of the resource produced. | |||
|- | |||
| <code>production_output_qty=</code> || Quantity of the resource produced. | |||
|- | |||
| <code>production_base_per_min=</code> || Production rate per minute, if different from the output quantity. | |||
|- | |||
| <code>production_booster_1=</code> || Name of the first production booster from the Compass. | |||
|- | |||
| <code>production_booster_2=</code> || ''"'' | |||
|- | |||
| <code>production_output_storage=</code> || Maximum storage capacity for the output resource. | |||
|- | |||
| <code>community_upkeep_1=</code> || For community buildings, the name of the first Upkeep Resource this building supplies to the community. | |||
|- | |||
| <code>community_upkeep_1_qty=</code> || Quantity of the first community upkeep resource. | |||
|- | |||
| <code>community_upkeep_2=</code> || ''"'' | |||
|- | |||
| <code>community_upkeep_2_qty=</code> || ''"'' | |||
|- | |||
| <code>community_upkeep_3=</code> || ''"'' | |||
|- | |||
| <code>community_upkeep_3_qty=</code> || ''"'' | |||
|- | |||
| <code>community_upkeep_4=</code> || ''"'' | |||
|- | |||
| <code>community_upkeep_4_qty=</code> || ''"'' | |||
|} | |||
=== Examples === | |||
<pre><!-- | <pre><!-- Template parameters are explained at https://wiki.hoodedhorse.com/Corsair_Cove/Template:Building_infobox --> | ||
{{Building infobox | {{Building infobox | ||
|name=Charburner | |name=Charburner | ||
|building_icon_filename=T ICO Charburner.png | |||
|category=Materials | |category=Materials | ||
| | |theme= | ||
|description=Is said to have a smouldering gaze. | |description=Is said to have a smouldering gaze. | ||
|unlocked_by_1=Kindle-Coal | |||
|unlocked_by_2=Any tier 2 ship | |||
|unlocked_by_3= | |||
|housing= | |housing= | ||
|hands_builders= | |||
|hands_fetchers=2 | |hands_fetchers=2 | ||
|hands_greenhands=2 | |hands_greenhands=2 | ||
|hands_masterhands= | |hands_masterhands= | ||
|hands_upkeep_1=Stew | |hands_upkeep_1=Stew | ||
|hands_upkeep_1_qty=2 | |hands_upkeep_1_qty=+2 | ||
|hands_upkeep_2= | |hands_upkeep_2= | ||
|hands_upkeep_2_qty= | |||
|construction_1=Planks | |construction_1=Planks | ||
|construction_1_qty=30 | |construction_1_qty=30 | ||
| Line 110: | Line 313: | ||
|construction_3_qty= | |construction_3_qty= | ||
|construction_requires_fertile_area= | |construction_requires_fertile_area= | ||
|production_input_1= | |production_input_1=Hardwood | ||
|production_input_1_qty= | |production_input_1_qty=6 | ||
|production_input_2= | |production_input_2=Stone | ||
|production_input_2_qty= | |production_input_2_qty=2 | ||
|production_output= | |production_output=Charcoal | ||
|production_output_qty= | |production_output_qty=16 | ||
|production_base_per_min=16 | |production_base_per_min=16 | ||
|production_booster_1=Kindle-Coal | |production_booster_1=Kindle-Coal | ||
| Line 127: | Line 330: | ||
|community_upkeep_3_qty= | |community_upkeep_3_qty= | ||
|community_upkeep_4= | |community_upkeep_4= | ||
|community_upkeep_4_qty= | |||
}}</pre> | }}</pre> | ||
{{Building infobox | {{Building infobox | ||
|name=Charburner | |name=Charburner | ||
|building_icon_filename=T ICO Charburner.png | |||
|category=Materials | |category=Materials | ||
| | |theme= | ||
|description=Is said to have a smouldering gaze. | |description=Is said to have a smouldering gaze. | ||
|unlocked_by_1=Kindle-Coal | |||
|unlocked_by_2=Any tier 2 ship | |||
|unlocked_by_3= | |||
|housing= | |housing= | ||
|hands_builders= | |||
|hands_fetchers=2 | |hands_fetchers=2 | ||
|hands_greenhands=2 | |hands_greenhands=2 | ||
|hands_masterhands= | |hands_masterhands= | ||
|hands_upkeep_1=Stew | |hands_upkeep_1=Stew | ||
|hands_upkeep_1_qty=2 | |hands_upkeep_1_qty=+2 | ||
|hands_upkeep_2= | |hands_upkeep_2= | ||
|hands_upkeep_2_qty= | |||
|construction_1=Planks | |construction_1=Planks | ||
|construction_1_qty=30 | |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= | |||
}} | |||
<div style="clear: both;"></div> | |||
<pre><!-- 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. | |||
|unlocked_by_1= | |||
|unlocked_by_2= | |||
|unlocked_by_3= | |||
|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= | ||
|construction_2_qty= | |construction_2_qty= | ||
| Line 153: | Line 411: | ||
|production_output= | |production_output= | ||
|production_output_qty= | |production_output_qty= | ||
|production_base_per_min= | |production_base_per_min= | ||
|production_booster_1= | |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= | |||
}}</pre> | |||
{{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. | |||
|unlocked_by_1= | |||
|unlocked_by_2= | |||
|unlocked_by_3= | |||
|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_booster_2= | ||
|production_output_storage= | |production_output_storage= | ||
|community_upkeep_1= | |community_upkeep_1= | ||
|community_upkeep_1_qty= | |community_upkeep_1_qty= | ||
| Line 164: | Line 466: | ||
|community_upkeep_3_qty= | |community_upkeep_3_qty= | ||
|community_upkeep_4= | |community_upkeep_4= | ||
|community_upkeep_4_qty= | |||
}} | }} | ||
<div style="clear: both;"></div> | |||
=== Copypasta === | |||
Copy and paste this at the top of any article on a specific building: | |||
<pre><!-- Template parameters are explained at https://wiki.hoodedhorse.com/Corsair_Cove/Template:Building_infobox --> | |||
{{Building infobox | |||
|name= | |||
|building_icon_filename= | |||
|category= | |||
|theme= | |||
|description= | |||
|unlocked_by_1= | |||
|unlocked_by_2= | |||
|unlocked_by_3= | |||
|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= | |||
}}</pre> | |||
[[Category: Infobox templates]] | [[Category: Infobox templates]] | ||
</noinclude> | </noinclude> | ||
Latest revision as of 12:43, 22 August 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:
|
description= |
Required. The flavor text of the building. |
unlocked_by_1= |
The earliest Compass node that unlocks the building, if any, for example the booster. If a ship unlocks it, name the first (clockwise) ship. If it is first unlocked by crew requirements, e.g., the Marketplace, name the ship that first (clockwise) introduces that crew. Wrap in [[...]] to make it a link, or not for plain text, if the unlock condition is more generic.
|
unlocked_by_2= |
The second Compass node, ship, etc. |
unlocked_by_3= |
" |
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.
|unlocked_by_1=Kindle-Coal
|unlocked_by_2=Any tier 2 ship
|unlocked_by_3=
|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.
Unlocked by
Kindle-CoalAny tier 2 ship
Hands
Fetchers
2
2
Greenhands
2
2
Production
| 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.
|unlocked_by_1=
|unlocked_by_2=
|unlocked_by_3=
|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
Housing. Build additional Housing to shelter more Pirates.
Housing
25
25
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=
|unlocked_by_1=
|unlocked_by_2=
|unlocked_by_3=
|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=
}}




