Template:StructureTier Infobox/doc

From Anvil Empires Wiki
Jump to navigation Jump to search
Template-info.png Documentation

Usage

{{StructureTier Infobox
|IsReleasedAndEnabled=
|ContentLang=
|CodeNameString=
|NameText=
|Icon=
|Tier=
|IsBaseTier=
|MaxHealth=
|TotalRepairCost=
|DecayTimeHours=
|RequiredTool=
|BuildSiteCategory=
|AccessibilityType=
|RequiresTownHall=
|RequiresHomestead=
|RequiresCamp=
|RequiresSmallCamp=
|TownTierPrerequisite=
|HomesteadTierPrerequisite=
|BuildCost=
|ResourceHitpoints=
|DescriptionText=
|DescriptionFooterText=
}}

Details

This template is used by all structures.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
IsReleasedAndEnabledIsReleasedAndEnabled

If this structure is active in the current build or if its unreleased or removed from the game.

Default
Yes
Example
No
Booleansuggested
ContentLangContentLang

Content Language, legacy field from before the french wiki split.

Default
en
Stringsuggested
CodeNameStringCodeNameString

Game codename for the structure, used as the primary ID. Game data value.

Example
BerryRations
Stringrequired
NameTextNameText

Ingame name for the structure

Default
{{PAGENAME}}
Stringrequired
IconIcon

Game icon image for the structure, is set to a default image if none is set.

Default
DefaultImage.png
Example
IconFirepit.png
Stringsuggested
TierTier

Structure tier. Either 1,2,3 or null (leave empty). Game data value.

Example
3
Numbersuggested
IsBaseTierIsBaseTier

If this structure is the primary/starting structure of its type.

Example
Yes
Stringsuggested
MaxHealthMaxHealth

Health number for the structure. Game data value.

Numbersuggested
TotalRepairCostTotalRepairCost

Total amount of repair supplies to fully repair the structure. Game data value.

Numberoptional
DecayTimeHoursDecayTimeHours

Amount of time before the structure would be destroyed by decay without upkeep. Game data value.

Numberoptional
RequiredToolRequiredTool

Required tool to build the structure. Game data value.

Numberoptional
BuildSiteCategoryBuildSiteCategory

Structure build menu category. Game data value.

Numberoptional
AccessibilityTypeAccessibilityType

Structure player access category. Game data value.

Numberoptional
RequiresTownHallRequiresTownHall

Structure requires a townhall to build. Game data value.

Example
Yes
Booleansuggested
RequiresHomesteadRequiresHomestead

Structure requires a homestead to build.

Example
Yes
Booleansuggested
RequiresCampRequiresCamp

Structure requires a large camp to build. Game data value.

Example
Yes
Booleansuggested
RequiresSmallCampRequiresSmallCamp

Structure requires a small camp to build. Game data value.

Example
Yes
Booleansuggested
TownTierPrerequisiteTownTierPrerequisite

Town requirement to build structure. Game data value.

Numberoptional
HomesteadTierPrerequisiteHomesteadTierPrerequisite

Homestead requirement to build structure. Game data value.

Numberoptional
BuildCostBuildCost

Build cost comma delimited list. Supports any item codename plus an amount. Codenames can be found on the item pages or in the itemdata table.

Example
ProcessedWood:3,ProcessedStone:3,ProcessedIron:3
Stringsuggested
ResourceHitpointsResourceHitpoints

Number of hitpoints on resource node world structures. Game data value.

Numberoptional
DescriptionTextDescriptionText

Pass through value of the ingame description for the item, placed at the top of the structure page.

Stringsuggested
DescriptionFooterTextDescriptionFooterText

Pass through value of the ingame description footer for the item, placed at the top of the structure page.

Stringsuggested
This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.