Editing Template:Hero Card Nav/doc

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:
'''Note:''' This template has been replaced by [[Template:Hero card2]].
==Usage==
 
== Usage ==
This template is used in the navbox.
This template is used in the navbox.


== Examples ==
==Example==
<pre>
<pre>
{{Hero Card Nav|Mirage}}
{{Hero Card Nav|Abrams}}
{{Hero Card Nav}}
{{Hero Card Nav|Hero=McGinnis}}
{{Hero Card Nav|Hero=McGinnis}}
{{Hero Card Nav|Mo & Krill|72}}
{{Hero Card Nav|Hero=McGinnis|Alt={{#invoke:Lang|get_string|hero_forge|lang_code_override=zh-hant|fallback_str=en}}}}
</pre>
</pre>
{{Hero Card Nav|Mirage}}
{{Hero Card Nav|Abrams}}
{{Hero Card Nav}}
{{Hero Card Nav|Hero=McGinnis}}
{{Hero Card Nav|Hero=McGinnis}}
{{Hero Card Nav|Mo & Krill|72}}
{{Hero Card Nav|Hero=McGinnis|Alt={{#invoke:Lang|get_string|hero_forge|lang_code_override=zh-hant|fallback_str=en}}}}
<templatedata>
<templatedata>
{
{
Line 23: Line 15:
"description": "Which Hero this is for",
"description": "Which Hero this is for",
"example": "Abrams",
"example": "Abrams",
"default": "Abrams",
"default": "Abrams"
"aliases": [
"1"
],
"type": "string"
},
        "Alt": {
"description": "Alternate name for the hero to display, typically the localized name",
"example": "Abrams",
"default": "Abrams",
"type": "string"
},
},
"size": {
"size": {
Line 39: Line 21:
"example": "50",
"example": "50",
"type": "number",
"type": "number",
"default": "55",
"default": "50"
"aliases": [
"2"
]
},
},
"font size": {
"font size": {
"description": "Font size, defaults to 9",
"description": "Font size, defaults to 10",
"type": "number",
"type": "number",
"default": "9"
"default": "10"
}
}
},
},
Line 53: Line 32:
"paramOrder": [
"paramOrder": [
"Hero",
"Hero",
        "Alt",
"size",
"size",
"font size"
"font size"
],
]
"format": "inline"
}
}
</templatedata><noinclude>[[Category:Template documentation]]</noinclude>
</templatedata><noinclude>[[Category:Template documentation]]</noinclude>
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