Template:Hero Navbox: Difference between revisions
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
|
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.
Examples
Default parameters for a smaller navbox:
{{Hero Navbox}}
|
Specific parameters for a bigger navbox:
{{Hero Navbox|text_size=20|card_size=132|sticker_size=56|herolabs_text_size=8}}
|
Parameter | Description | Type | Status | |
---|---|---|---|---|
text_size | text_size | no description | Unknown | optional |
card_size | card_size | no description | Unknown | optional |
sticker_size | sticker_size | no description | Unknown | optional |
herolabs_text_size | herolabs_text_size | no description | Unknown | optional |