More actions
m Fixed example not showing code |
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: | ||
== | == 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. | ||
== Examples == | |||
Default parameters for a smaller navbox: | 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=16|card_size=132|sticker_size=56|herolabs_text_size=8}} | ||
{{Hero Navbox|text_size= | </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> |