Template documentation [view] [edit] [history] [purge]

Usage

edit

A shorthand template to retrieve raw technical values from datamined game data. Searches across abilities, heroes, and items automatically, and can also look up console variables (convars) on request.

Powered by Module:GameData.

Dot notation is supported for nested properties (e.g. Scale.Value). Tables with a Value field are automatically unwrapped.

An optional third parameter selects a game mode variant. Passing Street Brawl returns the value as changed for Street Brawl; properties that Street Brawl leaves alone fall back to the base value, so the parameter is safe to use on any property. Only abilities are affected.

Parameters

edit

Retrieves a raw data value from abilities, heroes, items, or console variables.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Entity name1

Name of the ability, hero, or item. Pass the literal value Convar to look up a console variable instead.

Example
Singularity, Drifter, Grit, Convar
Stringrequired
Property2

Property key to retrieve. Supports dot notation for nested values. When the first parameter is Convar, this is the console variable name instead.

Example
DPS, BaseHealthRegen, citadel_camera_fov
Stringrequired
Variant3

Optional game mode variant. Accepts Street Brawl, ignoring case and spacing, and returns the value changed for Street Brawl. Properties that Street Brawl does not change fall back to the base value. Applies to abilities only.

Example
Street Brawl
Stringoptional

Examples

edit

Hero

edit

Drifter regenerates {{DataProp|Drifter|BaseHealthRegen}} HP each second.

Drifter regenerates 3.5 HP each second.

Weapon

edit

Mo & Krill fires {{DataProp|Mo & Krill|Weapon.BulletsPerShot}} bullets per shot.

Mo & Krill fires 4 bullets per shot.

Ability

edit

Singularity deals {{DataProp|Singularity|DPS}} damage per second.

Singularity deals 75 damage per second.

Item

edit

Grit's barrier lasts {{DataProp|Grit|BarrierDuration}}s.

Grit's barrier lasts 4s.

Convar

edit

The default camera field of view is {{DataProp|Convar|citadel_camera_fov}}.

The default camera field of view is 75.

Street Brawl

edit

Essence Bomb has a radius of {{DataProp|Essence Bomb|Radius}}m, or {{DataProp|Essence Bomb|Radius|Street Brawl}}m in Street Brawl.

Essence Bomb has a radius of 7m, or 6m in Street Brawl.

Street Brawl does not change Essence Bomb's damage, so the base value is returned:

{{DataProp|Essence Bomb|Damage|Street Brawl}}

90

Errors

edit

If the entity does not exist:

{{DataProp|Nonexistent Thing|Whatever}}

Entity not found: Nonexistent Thing

If the entity exists but the property does not:

{{DataProp|Abrams|FakeProp}}

Prop not found: Abrams/FakeProp

If the convar does not exist:

{{DataProp|Convar|fake_convar}}

Convar not found: fake_convar

If the variant is not recognised:

{{DataProp|Essence Bomb|Radius|Deathmatch}}

Unknown variant: Deathmatch