Template:Hero Navbox: Difference between revisionsGive feedback
Jump to navigation
Jump to search
m |herolabs_text_size={{{herolabs_text_size|6}}} |
m typo, accidental extra } |
||
| Line 6: | Line 6: | ||
{{#invoke:HeroData/nav|get_hero_nav_cards | {{#invoke:HeroData/nav|get_hero_nav_cards | ||
|in_herolabs=false | |in_herolabs=false | ||
|text_size={{{text_size|11 | |text_size={{{text_size|11}}} | ||
|card_size={{{card_size|88}}} | |card_size={{{card_size|88}}} | ||
|sticker_size={{{sticker_size|30}}} | |sticker_size={{{sticker_size|30}}} | ||
| Line 21: | Line 21: | ||
{{#invoke:HeroData/nav|get_hero_nav_cards | {{#invoke:HeroData/nav|get_hero_nav_cards | ||
|in_herolabs=true | |in_herolabs=true | ||
|text_size={{{text_size|11 | |text_size={{{text_size|11}}} | ||
|card_size={{{card_size|88}}} | |card_size={{{card_size|88}}} | ||
|sticker_size={{{sticker_size|30}}} | |sticker_size={{{sticker_size|30}}} | ||
Revision as of 20:38, 28 October 2024
This template uses CSS found at Hero Navbox/styles.css.
Usage
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:
{{Hero Navbox}}
| Heroes |
| Hero Labs |
Specific parameters for a bigger navbox:
{{Hero Navbox|text_size=16|card_size=132}}
| Heroes |
| Hero Labs |
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Text Size | text_size | Size of the text on the card. Dont put 'px' at the end.
| Number | optional |
| Card Size | card_size | Size of the hero card. Dont put 'px' at the end
| Number | optional |





































