Template:Hero Navbox: Difference between revisions

From Deadlock Wiki
Jump to navigation Jump to search
QuinnBinn (talk | contribs)
m Moved Mirage
Sur (talk | contribs)
m localize HEROES and UPCOMING
Line 1: Line 1:
{{Navbox
{{Navbox
|name      = {{#invoke:Lang|get_string_fallback|menu_heroes|Heroes}}
|name      = {{#invoke:Lang|get_string|menu_heroes|fallback_str=Heroes}}
|title      = [[Heroes|<span style="color:#FFEFD7">HEROES</span>]]
|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      = UPCOMING
|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

Template documentation [view] [edit] [history] [purge]

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}}

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
text_sizetext_size

no description

Unknownoptional
card_sizecard_size

no description

Unknownoptional
sticker_sizesticker_size

no description

Unknownoptional
herolabs_text_sizeherolabs_text_size

no description

Unknownoptional