Template:Hero Navbox: Difference between revisionsGive feedback
Jump to navigation
Jump to search
m Moved Mirage |
m localize HEROES and UPCOMING |
||
| Line 1: | Line 1: | ||
{{Navbox | {{Navbox | ||
|name = {{#invoke:Lang| | |name = {{#invoke:Lang|get_string|menu_heroes|fallback_str=Heroes}} | ||
|title = [[Heroes|<span style="color:#FFEFD7"> | |title = [[Heroes|<span style="color:#FFEFD7; text-transform: uppercase;">{{#invoke:Lang|get_string|menu_heroes|fallback_str=Heroes}}</span>]] | ||
|state = | |state = | ||
|titlestyle = background-image: linear-gradient(#c1a671, #d0bb95); border-radius:8px; width:600px; align:center; font-size:16px; font-family: 'Retail Demo', 'PT Serif','Palatino','Georgia',serif; font-weight: bold; text-shadow: 0px 0px 2px black, 0px 2px 2px black, 0px 0px 2px black; | |titlestyle = background-image: linear-gradient(#c1a671, #d0bb95); border-radius:8px; width:600px; align:center; font-size:16px; font-family: 'Retail Demo', 'PT Serif','Palatino','Georgia',serif; font-weight: bold; text-shadow: 0px 0px 2px black, 0px 2px 2px black, 0px 0px 2px black; | ||
| Line 17: | Line 17: | ||
|group1 = | |group1 = | ||
|list1style = background-image: linear-gradient(#c1a671, #d0bb95); border-radius:8px; width:600px; align:center; font-size:16px; font-family: 'Retail Demo', 'PT Serif','Palatino','Georgia',serif; font-weight: bold; text-shadow: 0px 0px 2px black, 0px 2px 2px black, 0px 0px 2px black; color:#FFEFD7; height: 27px !important; | |list1style = background-image: linear-gradient(#c1a671, #d0bb95); border-radius:8px; width:600px; align:center; font-size:16px; font-family: 'Retail Demo', 'PT Serif','Palatino','Georgia',serif; font-weight: bold; text-shadow: 0px 0px 2px black, 0px 2px 2px black, 0px 0px 2px black; color:#FFEFD7; height: 27px !important; | ||
|list1 = | |list1 = <span style="color:#FFEFD7; text-transform: uppercase">{{#invoke:Dictionary|translate|Upcoming}}</span> | ||
|group2 = | |group2 = | ||
|list2 ={{Hero Card Nav|Hero=Holliday}} {{Hero Card Nav|Hero=Calico}} {{Hero Card Nav|Hero=Wrecker}} {{Hero Card Nav|Hero=Kali}} | |list2 ={{Hero Card Nav|Hero=Holliday}} {{Hero Card Nav|Hero=Calico}} {{Hero Card Nav|Hero=Wrecker}} {{Hero Card Nav|Hero=Kali}} | ||
}} | }} | ||
}}<includeonly>[[Category:Heroes]]</includeonly><noinclude>{{Documentation}}</noinclude> | }}<includeonly>[[Category:Heroes]]</includeonly><noinclude>{{Documentation}}</noinclude> | ||
Revision as of 03:23, 11 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}}
| ||||||||||
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 |