Template:Tool Infobox

From Anvil Empires Wiki
Jump to navigation Jump to search

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

Template-info.svg Documentation

Usage

{{Tool Infobox
|ContentLang=
|CodeNameString=
|NameText=
|Icon=
|ItemTags=
|ToolGroup=
|ToolTypes=
|DamageType1=
|Damage1=
|StaminaCost1=
|DamageType2=
|Damage2=
|StaminaCost2=
|Effectiveness=
|Encumberance=
|DurabilityLossPerUse=
|ShieldDurabilityLossMultiplier=
|GuardMeterReductionMultiplier=
|DescriptionText=
|DescriptionFooterText=
}}

Details

This template is used by all Tools and Weapons.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
IsReleasedAndEnabledIsReleasedAndEnabled

If this tool 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
Stringsuggested
CodeNameStringCodeNameString

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

Example
BerryRations
Stringrequired
NameTextNameText

Ingame name for the item

Default
{{PAGENAME}}
Stringrequired
IconIcon

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

Default
DefaultImage.png
Example
IconBerryRation.png
Stringsuggested
ItemTagsItemTags

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

Example
PrimaryTool,WeaponStorage,TwoHanded
Stringsuggested
ToolGroupToolGroup

Base tool group for the tool. i.e Axe, Pickaxe, Hoe, Sword, Sheild

Stringsuggested
ToolTypesToolTypes

Comma split string list of tool types. i.e resource might require T2 knife or better. Game data value.

Example
Knife,KnifeT2
Stringsuggested
DamageType1DamageType1

Damage type of first attack. Game data value.

Numberoptional
Damage1Damage1

Damage value of first attack. Game data value.

Numberoptional
StaminaCost1StaminaCost1

Stamina usage of the first attack action. Game data value.

Numberoptional
DamageType2DamageType2

Damage type of second attack. Game data value.

Numberoptional
Damage2Damage2

Damage value of second attack. Game data value.

Numberoptional
StaminaCost2StaminaCost2

Stamina usage of the second attack action. Game data value.

Numberoptional
EffectivenessEffectiveness

Tools resource effectiveness, controls how many hits a resource node takes to process. Game data value.

Numberoptional
EncumberanceEncumberance

Weight of this tool. Game data value.

Numberoptional
DurabilityLossPerUseDurabilityLossPerUse

Amount of durability lost via use actions. Game data value.

Numberoptional
ShieldDurabilityLossMultiplierShieldDurabilityLossMultiplier

Damage multiplier applied to target shields durability. Game data value.

Numberoptional
GuardMeterReductionMultiplierGuardMeterReductionMultiplier

Damage multiplier applied to target guard meter. Game data value.

Numberoptional
DescriptionTextDescriptionText

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

Stringsuggested
DescriptionFooterTextDescriptionFooterText

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

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