Template:WeaponCard/doc: Difference between revisions

Examples: updated
No edit summary
 
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{TS}}
==Usage==
==Usage==
This template displays weapon stats.
This template displays weapon stats.
Line 17: Line 18:
</pre>
</pre>
{{WeaponCard|key=hero_forge|weapon_name=Test Weapon}}
{{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": {},
"key": {},
"ph": {},
"ph": {},
        "weapon_name": {
"weapon_name": {
"description": "In case the weapon name is different from the files"
"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"
}
}
},
},