Template:Hero Navbox/doc: Difference between revisions

Sur (talk | contribs)
m updated for merge with other navbox
No edit summary
 
(11 intermediate revisions by 5 users not shown)
Line 1: Line 1:
==Overview==
{{TS|Hero Navbox/styles.css}}
Navbox for [[Heroes]], the bottom of individual hero pages like [[Abrams]], and the home page.
== Usage ==
This navbox template displays [[Heroes]], and should be added at the end of the page.


==Examples==
It appears at the bottom of individual hero pages like [[Abrams]] and on the home page.
Default parameters for a smaller navbox
 
The code for cards is at [[Template:Hero card2]].
 
== Examples ==
Default parameters for a smaller navbox:
<pre>
{{Hero Navbox}}
</pre>
{{Hero Navbox}}
{{Hero Navbox}}


 
Specific parameters for a bigger navbox:
Specific parameters for a bigger navbox
<pre>
{{Hero Navbox|text_size=20|card_size=132|sticker_size=56}}
{{Hero Navbox|text_size=16|card_size=132}}
<includeonly>[[Category:Navigation templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>
</pre>
{{Hero Navbox|text_size=16|card_size=132}}
<templatedata>
{
"params": {
"text_size": {
"label": "Text Size",
"description": "Size of the text on the card. Dont put 'px' at the end.",
"type": "number",
"default": "13",
"suggestedvalues": ["13, 14"]
},
"card_size": {
"label": "Card Size",
"description": "Size of the hero card. Dont put 'px' at the end",
"type": "number",
"default": "88",
"suggestedvalues": ["80, 88"]
}
},
"description": " ",
"format": "block"
}
</templatedata>
<includeonly>[[Category:Navbox templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>