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.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
| Latest revision |
Your text |
| Line 1: |
Line 1: |
| {{TS}}
| |
| ==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|McGinnis}} |
| </pre> | | </pre> |
| {{WeaponCard|Dynamo}} | | {{WeaponCard|Dynamo}} |
| <pre>
| | {{WeaponCard|McGinnis}} |
| {{WeaponCard|key=hero_forge}} | |
| </pre>
| |
| {{WeaponCard|key=hero_forge}}
| |
| <pre>
| |
| {{WeaponCard|key=hero_forge|weapon_name=Test Weapon}}
| |
| </pre>
| |
| {{WeaponCard|key=hero_forge|weapon_name=Test Weapon}}
| |
| <pre>
| |
| {{WeaponCard|key=hero_forge|weapon_name=Test Weapon|no_description=true}}
| |
| </pre>
| |
| {{WeaponCard|key=hero_forge|weapon_name=Test Weapon|no_description=true}}
| |
| <templatedata> | | <templatedata> |
| { | | { |
| "params": { | | "params": { |
| "1": {}, | | "1": {}, |
| "key": {},
| | "ph": {} |
| "ph": {}, | |
| "weapon_name": {
| |
| "description": "In case the weapon name is different from the files"
| |
| },
| |
| "no_description": {
| |
| "description": "Remove description",
| |
| "type": "boolean",
| |
| "default": "true"
| |
| },
| |
| "no_falloff": {
| |
| "description": "Weapons with no damage falloff (Celeste)",
| |
| "type": "boolean",
| |
| "default": "true"
| |
| }
| |
| }, | | }, |
| "format": "inline" | | "format": "inline" |