Template:Hero Navbox: Difference between revisionsGive feedback
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| (50 intermediate revisions by 13 users not shown) | |||
| Line 1: | Line 1: | ||
<templatestyles src="Template:Hero Navbox/styles.css" /> | |||
<includeonly> | |||
<div class="heronav-header">Heroes</div> | |||
<div style="display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; margin-bottom:5px;flex:1"> | |||
{{#invoke:HeroData/nav|get_hero_nav_cards | |||
|in_herolabs=false | |||
| | |text_size={{{text_size|15}}} | ||
| | |card_size={{{card_size|80}}} | ||
| | |sticker_size={{{sticker_size|30}}} | ||
| | |herolabs_text_size={{{herolabs_text_size|6}}} | ||
| | |lang_code={{{lang_code|en}}} | ||
| | }} | ||
| | </div> | ||
}}<noinclude> | </includeonly><noinclude>{{Documentation}}</noinclude> | ||
Latest revision as of 15:00, 15 July 2026
This template uses CSS found at Hero Navbox/styles.css.
Usage
[edit source]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
[edit source]Default parameters for a smaller navbox:
{{Hero Navbox}}
Heroes
Specific parameters for a bigger navbox:
{{Hero Navbox|text_size=16|card_size=132}}
Heroes
| 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 |





































