Template:Armour Infobox

From Anvil Empires Wiki
Jump to navigation Jump to search

This template defines the table "armours". View table.This template adds rows to the table "itemdata", which is declared by the template Itemdata. View table.

Template-info.svg Documentation

Usage

{{Armour Infobox
|IsReleasedAndEnabled=
|ContentLang=
|CodeNameString=
|NameText=
|Icon=
|ItemTags=
|Encumberance=
|ArmourType=
|ArmorMitigation=
|MitigationSuccessDurabilityLoss=
|MitigationFailureDurabilityLoss=
|DescriptionText=
|DescriptionFooterText=
}}

Details

This template is used by all Resources.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
IsReleasedAndEnabledIsReleasedAndEnabled

If this resource has is an active item in the current build or if its upcoming or removed from the game.

Default
Yes
Example
No
Booleansuggested
ContentLangContentLang

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

Default
en
Example
en
Stringsuggested
CodeNameStringCodeNameString

Game codename for the item, used as the primary ID.

Example
Branches
Stringrequired
NameTextNameText

Ingame name for the item

Default
{{PAGENAME}}
Stringrequired
IconIcon

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

Default
DefaultImage.png
Example
Branches
Stringsuggested
ItemTagsItemTags

Comma split string list of tags, used for item inventory filtering.

Example
Resource,Large
Stringsuggested
EncumberanceEncumberance

The weight of this item as defined by the game data, a value between 1-255

Example
40
Numbersuggested
ArmourTypeArmourType

The armour inventory type/slot

Example
Head
Stringsuggested
ArmorMitigationArmorMitigation

Game data value. Armor Mitigation percent,

Numbersuggested
MitigationSuccessDurabilityLossMitigationSuccessDurabilityLoss

Game data value. Durability lost when successfully blocking damage,

Numbersuggested
MitigationFailureDurabilityLossMitigationFailureDurabilityLoss

Game data value. Durability lost when failing to block damage,

Numbersuggested
DescriptionTextDescriptionText

Parse through value of the ingame description for the item, placed at the top of the resource page.

Stringsuggested
The above documentation is transcluded from Template:Armour Infobox/doc.[edit | history | purge]