Template:Building page: Difference between revisions
Mostly hands off to the Building infobox, but generates sections with the supplied open-ended fields |
No edit summary |
||
| (5 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
<includeonly>{{ | <includeonly>{{#invoke:BuildingInfoboxGenerator|makeInfobox | ||
|name={{{name|}}} | |name={{{name|}}} | ||
|description={{{description|}}} | |description={{{description|}}} | ||
| | |unlocked_by_1={{{unlocked_by_1|}}} | ||
| | |unlocked_by_2={{{unlocked_by_2|}}} | ||
| | |unlocked_by_3={{{unlocked_by_3|}}} | ||
}} | }} | ||
| Line 85: | Line 47: | ||
! Parameter !! Purpose | ! Parameter !! Purpose | ||
|- | |- | ||
| <code>one_liner=</code> || The shortest possible explanation of what this is that doesn't duplicate the | | <code>name=</code> || The building name | ||
|- | |||
| <code>description=</code> || The ingame description | |||
|- | |||
| <code>unlocked_by_1=</code> || A Compass Unlock Option | |||
|- | |||
| <code>unlocked_by_2=</code> || A Compass Unlock Option | |||
|- | |||
| <code>unlocked_by_3=</code> || A Compass Unlock Option | |||
|- | |||
| <code>one_liner=</code> || The shortest possible explanation of what this is that doesn't duplicate the '''description''' or '''overview.''' | |||
|- | |- | ||
| <code>overview=</code> || A paragraph or two summarizing of the facts about this building. | | <code>overview=</code> || A paragraph or two summarizing of the facts about this building. | ||
| Line 99: | Line 71: | ||
=== Example === | === Example === | ||
Just as an example, so you can see what it looks like. A real page should have a lot more in the sections after the overview. | |||
<pre><!-- Template parameters are explained at https://wiki.hoodedhorse.com/Corsair_Cove/Template:Building_page --> | <pre><!-- Template parameters are explained at https://wiki.hoodedhorse.com/Corsair_Cove/Template:Building_page --> | ||
{{Building page | {{Building page | ||
|name=Charburner | |name=Charburner | ||
|description=Is said to have a smoldering gaze | |||
|unlocked_by_1=[[Gun Tower]] | |||
|unlocked_by_2= | |||
|description=Is said to have a | |unlocked_by_3= | ||
| | |one_liner=Produces the fuel resource required by many other production buildings. | ||
| | |overview=The '''Charburner''' is a building available early to the pirate haven that generates the '''Intermediate Resource''' {{Resource|Charcoal}} that many middle- and late-stage resources need as part of their lengthy production chains. | ||
| | |||
| | |||
| | |||
| | |||
|acquisition= | |acquisition= | ||
|purpose= | |purpose=The '''Charburner''' provides {{Resource|Charcoal}} that sits in the middle of many complex resource production chains. Advanced ship construction materials, especially those requiring metals, require Charcoal in their production chain. | ||
|production_chain_detail= | |production_chain_detail=The production of some resources, like {{Resource|Pitch}}, require {{Resource|Hardwood}} to be processed several ways in its supply chain, including into {{Resource|Charcoal}} at the '''Charburner,''' which altogether demand more Hardwood per minute than one Woodcutter can produce. | ||
|strategy= | |strategy=The Charburner is really great. It fits in really nicely with one Woodcutter and leaves room for the Sawmill to use the rest of the wood. Highly recommend. | ||
}}</pre> | }}</pre> | ||
<div style="display: inline-block; margin: 24px; border: 1px solid #f35961;"> | <div style="display: inline-block; margin: 24px; border: 1px solid #f35961;"> | ||
{{Building page | {{Building page | ||
|name=Charburner | |name=Charburner | ||
|description=Is said to have a smoldering gaze | |||
|unlocked_by_1=Gun Tower | |||
|unlocked_by_2= | |||
|description=Is said to have a | |unlocked_by_3= | ||
| | |||
| | |||
| | |||
|one_liner=Produces the fuel resource required by many other production buildings. | |one_liner=Produces the fuel resource required by many other production buildings. | ||
|overview=The '''Charburner''' is a building available early to the pirate haven that generates the '''Intermediate Resource''' {{Resource|Charcoal}} that many middle- and late-stage resources need as part of their lengthy production chains. | |overview=The '''Charburner''' is a building available early to the pirate haven that generates the '''Intermediate Resource''' {{Resource|Charcoal}} that many middle- and late-stage resources need as part of their lengthy production chains. | ||
|acquisition= | |acquisition= | ||
|purpose=The '''Charburner''' provides {{Resource|Charcoal}} that sits in the middle of many complex resource production chains. Advanced ship construction materials, especially those requiring metals, require Charcoal in their production chain. | |purpose=The '''Charburner''' provides {{Resource|Charcoal}} that sits in the middle of many complex resource production chains. Advanced ship construction materials, especially those requiring metals, require Charcoal in their production chain. | ||
|production_chain_detail=The production of some resources, like {{Resource|Pitch}}, require {{Resource|Hardwood}} to be processed several ways in its supply chain, including into {{Resource|Charcoal}} at the '''Charburner,''' which altogether demand more Hardwood per minute than one Woodcutter can produce. | |||
The production of some resources, like {{Resource|Pitch}}, require {{Resource|Hardwood}} to be processed several ways in its supply chain, including into {{Resource|Charcoal}} at the '''Charburner,''' which altogether demand more Hardwood per minute than one Woodcutter can produce. | |||
|strategy=The Charburner is really great. It fits in really nicely with one Woodcutter and leaves room for the Sawmill to use the rest of the wood. Highly recommend. | |strategy=The Charburner is really great. It fits in really nicely with one Woodcutter and leaves room for the Sawmill to use the rest of the wood. Highly recommend. | ||
}} | }} | ||
| Line 207: | Line 111: | ||
{{Building page | {{Building page | ||
|name= | |name= | ||
|description= | |description= | ||
| | |unlocked_by_1= | ||
| | |unlocked_by_2= | ||
| | |unlocked_by_3= | ||
|one_liner= | |one_liner= | ||
|overview= | |overview= | ||
Latest revision as of 10:59, 3 August 2026
Passes off data to the Template:Building infobox and lays out standard sections for buildings: overview, acquisition, purpose, including details about production chain, if applicable, and strategy.
Opinions go in the section on strategy. Facts go in the other sections.
Usage
See Building infobox for descriptions of its many parameters.
The expectation is that the contents of each parameter for the page (not the infobox) are blocks of text, interspersed with icons and possibly tables, to assist readers. There is little formatting wrapping the following page-level parameters:
| Parameter | Purpose |
|---|---|
name= |
The building name |
description= |
The ingame description |
unlocked_by_1= |
A Compass Unlock Option |
unlocked_by_2= |
A Compass Unlock Option |
unlocked_by_3= |
A Compass Unlock Option |
one_liner= |
The shortest possible explanation of what this is that doesn't duplicate the description or overview. |
overview= |
A paragraph or two summarizing of the facts about this building. |
acquisition= |
The requirement to unlock this building on the Compass, or leave blank if it is available right away or as a matter of course in the tutorial. |
purpose= |
Explanation of the facts of the effects of the building, constraints, requirements, gameplay interactions, and how it fits into the island economics and mechanics. |
production_chain_detail= |
If a producer or consumer, explain details about the supply chain here, if a separate section for additional detail is needed. This will appear as a subsection under Purpose. |
strategy= |
If you're addressing the player with a statement, it goes here. Share opinions, advice, value judgments, tips, techniques, strategies, and things to pay attention to here. There can be contradictory views in this section, so feel free to create subsections with === 3rd-level headings === to keep this organized, if necessary.
|
Example
Just as an example, so you can see what it looks like. A real page should have a lot more in the sections after the overview.
<!-- Template parameters are explained at https://wiki.hoodedhorse.com/Corsair_Cove/Template:Building_page -->
{{Building page
|name=Charburner
|description=Is said to have a smoldering gaze
|unlocked_by_1=[[Gun Tower]]
|unlocked_by_2=
|unlocked_by_3=
|one_liner=Produces the fuel resource required by many other production buildings.
|overview=The '''Charburner''' is a building available early to the pirate haven that generates the '''Intermediate Resource''' {{Resource|Charcoal}} that many middle- and late-stage resources need as part of their lengthy production chains.
|acquisition=
|purpose=The '''Charburner''' provides {{Resource|Charcoal}} that sits in the middle of many complex resource production chains. Advanced ship construction materials, especially those requiring metals, require Charcoal in their production chain.
|production_chain_detail=The production of some resources, like {{Resource|Pitch}}, require {{Resource|Hardwood}} to be processed several ways in its supply chain, including into {{Resource|Charcoal}} at the '''Charburner,''' which altogether demand more Hardwood per minute than one Woodcutter can produce.
|strategy=The Charburner is really great. It fits in really nicely with one Woodcutter and leaves room for the Sawmill to use the rest of the wood. Highly recommend.
}}
Charburner
Materials Building
4
2
2
Produces the fuel resource required by many other production buildings.
Overview
The Charburner is a building available early to the pirate haven that generates the Intermediate Resource
Charcoal that many middle- and late-stage resources need as part of their lengthy production chains.
Acquisition
The Charburner is available to build right away.
Purpose
The Charburner provides
Charcoal that sits in the middle of many complex resource production chains. Advanced ship construction materials, especially those requiring metals, require Charcoal in their production chain.
Production chain details
The production of some resources, like
Pitch, require
Hardwood to be processed several ways in its supply chain, including into
Charcoal at the Charburner, which altogether demand more Hardwood per minute than one Woodcutter can produce.
Strategy
The Charburner is really great. It fits in really nicely with one Woodcutter and leaves room for the Sawmill to use the rest of the wood. Highly recommend.
Copypasta
Copy and paste this to the top of every article about a specific building.
<!-- Template parameters are explained at https://wiki.hoodedhorse.com/Corsair_Cove/Template:Building_page -->
{{Building page
|name=
|description=
|unlocked_by_1=
|unlocked_by_2=
|unlocked_by_3=
|one_liner=
|overview=
|acquisition=
|purpose=
|production_chain_detail=
|strategy=
}}



