Toggle menu
505
2.3K
828
21.8K
Deadlock Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Hero Navbox/doc: Difference between revisions

Template page
Sur (talk | contribs)
m Fixed example not showing code
Sur (talk | contribs)
m example updated to use 16px instead of 20px which is what home page currently uses
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
==Overview==
== Usage ==
Navbox for [[Heroes]], the bottom of individual hero pages like [[Abrams]], and the home page.
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.
 
== Examples ==
Default parameters for a smaller navbox:
Default parameters for a smaller navbox:
 
<pre>
<code><nowiki>{{Hero Navbox}}</nowiki><code>
{{Hero Navbox}}
</pre>
{{Hero Navbox}}
{{Hero Navbox}}


Specific parameters for a bigger navbox:
Specific parameters for a bigger navbox:
 
<pre>
<code><nowiki>{{Hero Navbox|text_size=20|card_size=132|sticker_size=56}}</nowiki><code>
{{Hero Navbox|text_size=16|card_size=132|sticker_size=56|herolabs_text_size=8}}
{{Hero Navbox|text_size=20|card_size=132|sticker_size=56}}
</pre>
{{Hero Navbox|text_size=16|card_size=132|sticker_size=56|herolabs_text_size=8}}
<templatedata>
{
"params": {
"text_size": {},
"card_size": {},
"sticker_size": {},
"herolabs_text_size": {}
},
"description": " ",
"format": "block"
}
</templatedata>
<includeonly>[[Category:Navigation templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>
<includeonly>[[Category:Navigation templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>