Editing
Template
:
WeaponCard/doc
Give feedback
Jump to navigation
Jump to search
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.
Anti-spam check. Do
not
fill this in!
{{TS}} ==Usage== 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== <pre> {{WeaponCard|Dynamo}} </pre> {{WeaponCard|Dynamo}} <pre> {{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> { "params": { "1": {}, "key": {}, "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" } </templatedata> <noinclude>[[Category:Template documentation]]</noinclude>
Summary:
Please note that all contributions to The Deadlock Wiki are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
Deadlock:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Preview page with this template
Pages included on this page:
Template:Message box
(
edit
)
Template:MissingValveTranslationTooltip
(
edit
)
Template:TS
(
edit
)
Template:Tooltip
(
edit
)
Template:WeaponCard
(
edit
)
Template:WeaponCard/styles.css
(
edit
)
Module:Dictionary
(
edit
)
Module:HeroData
(
edit
)
Module:Lang
(
edit
)
Module:Utilities
(
edit
)
Data:Dictionary
(
edit
)
Data:HeroData.json
(
view source
) (⧼restriction-level-bot+⧽)
Data:LangCodes.json
(
view source
) (⧼restriction-level-bot+⧽)
Data:Lang en.json
(
view source
) (⧼restriction-level-bot+⧽)
Navigation menu
Personal tools
Create account
Log in
associated-pages
Template
Discussion
English
Views
Read
Edit source
History
Tools
Search
Discord
Discord
Navigation
Main page
About us
Random page
Special pages
Recent changes
Neutral
10h ago
·
~2026-LaneFireUrn1085
Souls
10h ago
·
Gammaton32
Neutral
10h ago
·
~2026-LaneFireUrn1085
Victor/Lore
13h ago
·
Roseabrams96
Show more...
Interface Admin
Common CSS
Vector CSS
Minerva CSS
Citizen CSS
Brown theme CSS
Gadgets
Gadgets definition
Editing
How to edit
Style guide
All guides
New files
Unresolved feedback
Tools
What links here
Related changes
Page information