Template:WeaponCard/doc: Difference between revisions

From Deadlock Wiki
Jump to navigation Jump to search
Sur (talk | contribs)
m updated to include using key param
Sur (talk | contribs)
m forge (mcginnis) for example instead of atlas (abrams)
 
Line 7: Line 7:
<pre>
<pre>
{{WeaponCard|Dynamo}}
{{WeaponCard|Dynamo}}
{{WeaponCard|key=hero_atlas}}
{{WeaponCard|key=hero_forge}}
</pre>
</pre>
{{WeaponCard|Dynamo}}
{{WeaponCard|Dynamo}}
{{WeaponCard|key=hero_atlas}}
{{WeaponCard|key=hero_forge}}
<templatedata>
<templatedata>
{
{

Latest revision as of 02:16, 13 October 2024

Usage[edit source]

This template displays weapon stats.

Recommended to use key parameter for hero key instead of an unnamed 1st parameter of the english hero name. This allows localizing it to the current language in O(1) time complexity, as opposed to O(N).

Examples[edit source]

{{WeaponCard|Dynamo}}
{{WeaponCard|key=hero_forge}}
Weapon Stats
Falloff Range
20m - 58m
52 DPS
The Vonnegun
Medium Range Heavy Hitter Projectile
Weapon Stats
Falloff Range
20m - 58m
36 DPS
Services Rendered
Rapid Fire Medium Range
Increases fire rate as the guns spins up

No description.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
11

no description

Unknownoptional
keykey

no description

Unknownoptional
phph

no description

Unknownoptional