Editing
Template
:
DataProp/doc
Give feedback
Jump to navigation
Jump to search
Warning:
You are not logged in. Once you make an edit, a temporary account will be created for you.
Learn more
.
Log in
or
create an account
to continue receiving notifications after this account expires, and to access other features.
Anti-spam check. Do
not
fill this in!
== Usage == 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 commands|console variables]] (convars) on request. Powered by [[Module:GameData|Module:GameData]]. Dot notation is supported for nested properties (e.g. <code>Scale.Value</code>). Tables with a <code>Value</code> field are automatically unwrapped. An optional third parameter selects a game mode variant. Passing <code>Street Brawl</code> 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 == <templatedata> { "params": { "1": { "label": "Entity name", "description": "Name of the ability, hero, or item. Pass the literal value Convar to look up a console variable instead.", "type": "string", "required": true, "example": "Singularity, Drifter, Grit, Convar" }, "2": { "label": "Property", "description": "Property key to retrieve. Supports dot notation for nested values. When the first parameter is Convar, this is the console variable name instead.", "type": "string", "required": true, "example": "DPS, BaseHealthRegen, citadel_camera_fov" }, "3": { "label": "Variant", "description": "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.", "type": "string", "required": false, "example": "Street Brawl" } }, "format": "inline", "paramOrder": ["1", "2", "3"], "description": "Retrieves a raw data value from abilities, heroes, items, or console variables." } </templatedata> == Examples == === Hero === <code>Drifter regenerates {{DataProp|Drifter|BaseHealthRegen}} HP each second.</code> Drifter regenerates {{DataProp|Drifter|BaseHealthRegen}} HP each second. === Weapon === <code>Mo & Krill fires {{DataProp|Mo & Krill|Weapon.BulletsPerShot}} bullets per shot.</code> Mo & Krill fires {{DataProp|Mo & Krill|Weapon.BulletsPerShot}} bullets per shot. === Ability === <code>Singularity deals {{DataProp|Singularity|DPS}} damage per second.</code> Singularity deals {{DataProp|Singularity|DPS}} damage per second. === Item === <code>Grit's barrier lasts {{DataProp|Grit|BarrierDuration}}s.</code> Grit's barrier lasts {{DataProp|Grit|BarrierDuration}}s. === Convar === <code>The default camera field of view is {{DataProp|Convar|citadel_camera_fov}}.</code> The default camera field of view is {{DataProp|Convar|citadel_camera_fov}}. === Street Brawl === <code>Essence Bomb has a radius of {{DataProp|Essence Bomb|Radius}}m, or {{DataProp|Essence Bomb|Radius|Street Brawl}}m in Street Brawl.</code> Essence Bomb has a radius of {{DataProp|Essence Bomb|Radius}}m, or {{DataProp|Essence Bomb|Radius|Street Brawl}}m in Street Brawl. Street Brawl does not change Essence Bomb's damage, so the base value is returned: <code>{{DataProp|Essence Bomb|Damage|Street Brawl}}</code> {{DataProp|Essence Bomb|Damage|Street Brawl}} === Errors === If the entity does not exist: <code>{{DataProp|Nonexistent Thing|Whatever}}</code> {{DataProp|Nonexistent Thing|Whatever}} If the entity exists but the property does not: <code>{{DataProp|Abrams|FakeProp}}</code> {{DataProp|Abrams|FakeProp}} If the convar does not exist: <code>{{DataProp|Convar|fake_convar}}</code> {{DataProp|Convar|fake_convar}} If the variant is not recognised: <code>{{DataProp|Essence Bomb|Radius|Deathmatch}}</code> {{DataProp|Essence Bomb|Radius|Deathmatch}} <includeonly>[[Category:Data templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>
Summary:
Please note that all contributions to The Deadlock Wiki are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
Deadlock:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Preview page with this template
Pages included on this page:
Template:DataProp
(
edit
)
Module:GameData
(
edit
)
Data:AbilityData.json
(
view source
) (⧼restriction-level-bot+⧽)
Data:Convars.json
(
view source
) (⧼restriction-level-bot+⧽)
Data:HeroData.json
(
view source
) (⧼restriction-level-bot+⧽)
Data:ItemData.json
(
view source
) (⧼restriction-level-bot+⧽)
Data:ResourceLookup.json
(
edit
)
Data:StreetBrawlData.json
(
edit
)
Navigation menu
Personal tools
Create account
Log in
associated-pages
Template
Discussion
English
Views
Read
Edit source
History
Tools
Search
Discord
Discord
Navigation
Main page
About us
Random page
Special pages
Recent changes
Move Speed
54m ago
·
~2026-LaneFireUrn1085
Move Speed
1h ago
·
~2026-LaneFireUrn1085
Ability Cooldown
1h ago
·
~2026-LaneFireUrn1085
Ability Duration
1h ago
·
~2026-LaneFireUrn1085
Show more...
Interface Admin
Common CSS
Vector CSS
Minerva CSS
Citizen CSS
Brown theme CSS
Gadgets
Gadgets definition
Editing
How to edit
Style guide
All guides
New files
Unresolved feedback
Tools
What links here
Related changes
Page information