Modèle:Structure Infobox

De Anvil Empires Wiki
Aller à la navigation Aller à la recherche

Ce modèle définit la table « structuretiers ». Afficher la table.

Template-info.svg Documentation

Usage

{{Structure 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.

Paramètres du modèle[Modifier les données du modèle]

La mise en forme multiligne est préférée pour ce modèle.

ParamètreDescriptionTypeÉtat
IsReleasedAndEnabledIsReleasedAndEnabled

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

Par défaut
Yes
Exemple
No
Booléensuggéré
ContentLangContentLang

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

Par défaut
en
Chaînesuggéré
CodeNameStringCodeNameString

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

Exemple
BerryRations
Chaîneobligatoire
NameTextNameText

Ingame name for the structure

Par défaut
{{PAGENAME}}
Chaîneobligatoire
IconIcon

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

Par défaut
DefaultImage.png
Exemple
IconFirepit.png
Chaînesuggéré
TierTier

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

Exemple
3
Nombresuggéré
IsBaseTierIsBaseTier

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

Exemple
Yes
Chaînesuggéré
MaxHealthMaxHealth

Health number for the structure. Game data value.

Nombresuggéré
TotalRepairCostTotalRepairCost

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

Nombrefacultatif
DecayTimeHoursDecayTimeHours

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

Nombrefacultatif
RequiredToolRequiredTool

Required tool to build the structure. Game data value.

Nombrefacultatif
BuildSiteCategoryBuildSiteCategory

Structure build menu category. Game data value.

Nombrefacultatif
AccessibilityTypeAccessibilityType

Structure player access category. Game data value.

Nombrefacultatif
RequiresTownHallRequiresTownHall

Structure requires a townhall to build. Game data value.

Exemple
Yes
Booléensuggéré
RequiresHomesteadRequiresHomestead

Structure requires a homestead to build.

Exemple
Yes
Booléensuggéré
RequiresCampRequiresCamp

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

Exemple
Yes
Booléensuggéré
RequiresSmallCampRequiresSmallCamp

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

Exemple
Yes
Booléensuggéré
TownTierPrerequisiteTownTierPrerequisite

Town requirement to build structure. Game data value.

Nombrefacultatif
HomesteadTierPrerequisiteHomesteadTierPrerequisite

Homestead requirement to build structure. Game data value.

Nombrefacultatif
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.

Exemple
ProcessedWood:3,ProcessedStone:3,ProcessedIron:3
Chaînesuggéré
ResourceHitpointsResourceHitpoints

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

Nombrefacultatif
DescriptionTextDescriptionText

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

Chaînesuggéré
DescriptionFooterTextDescriptionFooterText

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

Chaînesuggéré
The above documentation is transcluded from Modèle:Structure Infobox/doc.[edit | history | purge]