Template:Hero Navbox: Difference between revisionsGive feedback
Jump to navigation
Jump to search
m Heroes localized; defaults to Heroes if unable to be localized |
m menu_heroes for heroes localization instead |
||
| Line 1: | Line 1: | ||
{{Navbox | {{Navbox | ||
|name = {{#invoke:Lang|get_string_fallback| | |name = {{#invoke:Lang|get_string_fallback|menu_heroes|Heroes}} | ||
|title = [[Heroes|<span style="color:#FFEFD7">HEROES</span>]] | |title = [[Heroes|<span style="color:#FFEFD7">HEROES</span>]] | ||
|state = | |state = | ||
Revision as of 22:51, 22 September 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}}
| ||||||||||
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 |