Template:WeaponCard/doc: Difference between revisions
Jump to navigation
Jump to search
Created page with "==Usage== This template displays weapon stats. ==Examples== <pre> {{WeaponCard|Dynamo}} {{WeaponCard|McGinnis}} </pre> {{WeaponCard|Dynamo}} {{WeaponCard|McGinnis}} <templatedata> { "params": { "1": {}, "ph": {} }, "format": "inline" } </templatedata> <noinclude>Category:Template documentation</noinclude>" |
m updated to include using key param |
||
Line 1: | Line 1: | ||
==Usage== | ==Usage== | ||
This template displays weapon stats. | This template displays weapon stats. | ||
Recommended to use <code>key</code> 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== | ==Examples== | ||
<pre> | <pre> | ||
{{WeaponCard|Dynamo}} | {{WeaponCard|Dynamo}} | ||
{{WeaponCard| | {{WeaponCard|key=hero_atlas}} | ||
</pre> | </pre> | ||
{{WeaponCard|Dynamo}} | {{WeaponCard|Dynamo}} | ||
{{WeaponCard| | {{WeaponCard|key=hero_atlas}} | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"params": { | "params": { | ||
"1": {}, | "1": {}, | ||
"key": {}, | |||
"ph": {} | "ph": {} | ||
}, | }, |
Revision as of 21:27, 11 October 2024
Usage
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
{{WeaponCard|Dynamo}} {{WeaponCard|key=hero_atlas}}
Weapon Stats | |||
Case Closed | |||
| |||
Reloads single shells at a time. Can be interrupted
|
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
1 | 1 | no description | Unknown | optional |
key | key | no description | Unknown | optional |
ph | ph | no description | Unknown | optional |