Template:WeaponCard: Difference between revisions
Jump to navigation
Jump to search
fix fonts, bold, |
m removed hardcoded line height from weapon name |
||
Line 21: | Line 21: | ||
</div> | </div> | ||
|- | |- | ||
| style="text-align:center; font-family: 'Retail Demo Bold',serif; font-weight:bold; color:#FFEFD7; height:20px; font-size:25px | | style="text-align:center; font-family: 'Retail Demo Bold',serif; font-weight:bold; color:#FFEFD7; height:20px; font-size:25px;" | {{#invoke:HeroData|get_hero_var|{{#var:hero_key_or_en}}|WeaponName|true}} | ||
|- | |- | ||
| | | |
Latest revision as of 15:46, 6 November 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 | |||
Services Rendered | |||
| |||
Increases fire rate as the guns spins up
|
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
1 | 1 | no description | Unknown | optional |
key | key | no description | Unknown | optional |
ph | ph | no description | Unknown | optional |