Template:Hero Navbox: Difference between revisionsGive feedback
Jump to navigation
Jump to search
Gammaton32 (talk | contribs) use navbox/styles.css |
mNo edit summary |
||
| Line 7: | Line 7: | ||
| <div style="display: flex; flex-wrap: wrap; gap: 3px; align-items: center; justify-content: center; margin: auto;"> | | <div style="display: flex; flex-wrap: wrap; gap: 3px; align-items: center; justify-content: center; margin: auto;"> | ||
{{#invoke:HeroData/nav|get_hero_nav_cards | {{#invoke:HeroData/nav|get_hero_nav_cards | ||
|text_size={{{text_size|13}}} | |text_size={{{text_size|13}}} | ||
|card_size={{{card_size|88}}} | |card_size={{{card_size|88}}} | ||
| | |in_herolabs=false | ||
}}</div> | }}</div> | ||
|} | |} | ||
</includeonly><noinclude>{{Documentation}}</noinclude> | </includeonly><noinclude>{{Documentation}}</noinclude> | ||
Revision as of 20:49, 22 May 2026
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}}
Specific parameters for a bigger navbox:
{{Hero Navbox|text_size=16|card_size=132}}
| 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 |





































