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: |
| {{TS|Hero Navbox/styles.css}}
| | Navbox for [[Heroes]]. Should be added at the end of the page. |
| == Usage ==
| | <includeonly>[[Category:Navigation templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> |
| This navbox template displays [[Heroes]], and should be added at the end of the page.
| |
| | |
| It appears at the bottom of individual hero pages like [[Abrams]] and on the home page.
| |
| | |
| The code for cards is at [[Template:Hero card2]].
| |
| | |
| == Examples ==
| |
| Default parameters for a smaller navbox:
| |
| <pre>
| |
| {{Hero Navbox}}
| |
| </pre>
| |
| {{Hero Navbox}}
| |
| | |
| Specific parameters for a bigger navbox:
| |
| <pre>
| |
| {{Hero Navbox|text_size=16|card_size=132}}
| |
| </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> | |