Template:Hero Navbox: Difference between revisions

From The Deadlock Wiki
Jump to navigation Jump to search
standardize
QuinnBinn (talk | contribs)
m Font and colour updated
Line 3: Line 3:
|title      = [[Heroes|<span style="color:#FFEFD7">HEROES</span>]]
|title      = [[Heroes|<span style="color:#FFEFD7">HEROES</span>]]
|state      =  
|state      =  
|titlestyle = background: #e0d4b7; border-radius:8px; width:600px; align:center; font-family: '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(#c2a870, #6a562f); border-radius:8px; width:600px; align:center; font-size:16px; font-family: 'Reaver Bold', 'PT Serif','Palatino','Georgia',serif; font-weight: bold; text-shadow: 0px 0px 2px black, 0px 2px 2px black, 0px 0px 2px black;
|groupstyle = background-color:#bdad9f;
|groupstyle = background-color:#bdad9f;
|liststyle  = text-align:center;
|liststyle  = text-align:center;
Line 16: Line 16:
|groupstyle =  
|groupstyle =  
|group1    =  
|group1    =  
     |list1style = background: #e0d4b7; border-radius:8px; width:600px; align:center; font-family: '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(#c2a870, #6a562f); border-radius:8px; width:600px; align:center; font-size:16px; font-family: 'Reaver Bold', '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      = UPCOMING
     |group2    =  
     |group2    =  

Revision as of 10:03, 17 September 2024

Template documentation [view] [edit] [history] [purge]
CSS3 logo.svg
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}}

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Text Sizetext_size

Size of the text on the card. Dont put 'px' at the end.

Suggested values
13, 14
Default
13
Numberoptional
Card Sizecard_size

Size of the hero card. Dont put 'px' at the end

Suggested values
80, 88
Default
88
Numberoptional