Template:Vehicle Infobox

From Anvil Empires Wiki
Jump to navigation Jump to search

This template defines the table "vehicles". View table.

Template-info.svg Documentation

Usage

{{Vehicle Infobox
|IsReleasedAndEnabled=
|ContentLang=
|CodeNameString=
|NameText=
|Icon=
|VehicleType=
|MaxHealth=
|Behaviour=
|Seats=
|RammingDamage=
|IsBaseTier=
|BuildSiteCategory=
|AccessibilityType=
|TotalRepairCost=
|DecayTimeHours=
|RequiredTool=
|RequiresTownHall=
|RequiresHomestead=
|RequiresCamp=
|RequiresSmallCamp=
|TownTierPrerequisite=
|HomesteadTierPrerequisite=
|BuildCost=
|DescriptionText=
|DescriptionFooterText=
}}

Details

This template is used by all animal and structure vehicles. It will store cargo data into both the vehicle table and the animal/structure specific table based on set VehicleType.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
IsReleasedAndEnabledIsReleasedAndEnabled

If this vehicle 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 vehicle, used as the primary ID. Game data value.

Example
BoatSmall
Stringrequired
NameTextNameText

Ingame name for the vehicle

Default
Matching {{PAGENAME}}
Stringrequired
IconIcon

Game icon image for the vehicle. Set to a default image if none is set.

Default
DefaultImage.png
Example
BoatSmallIcon.png
Stringsuggested
VehicleTypeVehicleType

Vehicles type, either Animal or Structure. Will allow this

Example
3
Stringrequired
MaxHealthMaxHealth

Health number for the vehicle. Game data value.

Numbersuggested
BehaviourBehaviour

Animal vehicle value. Animals behaviour state, Passive, Netrual (only attacks after being attacked) or Aggressive.

Stringsuggested
SeatsSeats

Number of seats the vehicle has for players. An example the Battering Ram has 4.

Numbersuggested
RammingDamageRammingDamage

Base maximum amount of damage done by ramming a target at speed.

Numbersuggested
IsBaseTierIsBaseTier

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

Example
Yes
Stringsuggested
BuildSiteCategoryBuildSiteCategory

Structure vehicle value. Build menu category. Game data value.

Numberoptional
AccessibilityTypeAccessibilityType

Structure vehicle value. Player access category. Game data value.

Numberoptional
TotalRepairCostTotalRepairCost

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

Numberoptional
DecayTimeHoursDecayTimeHours

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

Numberoptional
RequiredToolRequiredTool

Structure vehicle value. Required tool to build the vehicle. Game data value.

Numberoptional
RequiresTownHallRequiresTownHall

Structure vehicle value. Vehicle requires a townhall to build. Game data value.

Example
Yes
Booleansuggested
RequiresHomesteadRequiresHomestead

Structure vehicle value. Vehicle requires a homestead to build. Game data value.

Example
Yes
Booleansuggested
RequiresCampRequiresCamp

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

Example
Yes
Booleansuggested
RequiresSmallCampRequiresSmallCamp

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

Example
Yes
Booleansuggested
TownTierPrerequisiteTownTierPrerequisite

Structure vehicle value. Town requirement to build vehicle. Game data value

Numberoptional
HomesteadTierPrerequisiteHomesteadTierPrerequisite

Structure vehicle value. Homestead requirement to build vehicle. Game data value

Numberoptional
BuildCostBuildCost

Structure vehicle value. 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
DescriptionTextDescriptionText

Parse through value of the ingame description, placed at the top of the structure page.

Stringsuggested
DescriptionFooterTextDescriptionFooterText

Parse through value of the ingame description footer, placed at the top of the structure page.

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