|
|
| (46 intermediate revisions by 13 users not shown) |
| Line 1: |
Line 1: |
| {{Navbox
| | <templatestyles src="Template:Hero Navbox/styles.css" /> |
| |name = Heroes
| | <includeonly> |
| |title = [[Heroes|<span style="color:#FFEFD7">HEROES</span>]]
| | <div class="heronav-header">Heroes</div> |
| |state =
| | <div style="display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; margin-bottom:5px;flex:1"> |
| |titlestyle = background-image:linear-gradient(#ffefd7, #FFDAA3); border-radius:7px; 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;
| | {{#invoke:HeroData/nav|get_hero_nav_cards |
| |groupstyle = background-color:#bdad9f;
| | |in_herolabs=false |
| |liststyle = text-align:center;
| | |text_size={{{text_size|15}}} |
| |abovestyle = background:#bdad9f; | | |card_size={{{card_size|80}}} |
| |aboveclass = hlist
| | |sticker_size={{{sticker_size|30}}} |
| |above = | | |herolabs_text_size={{{herolabs_text_size|6}}} |
| |bodystyle = width:100%; | | |lang_code={{{lang_code|en}}} |
| |group1 =
| | }} |
| |list1 = {{Hero Card Nav|Hero=Abrams}} {{Hero Card Nav|Hero=Bebop}} {{Hero Card Nav|Hero=Dynamo}} {{Hero Card Nav|Hero=Grey Talon|font size= 8}} {{Hero Card Nav|Hero=Haze}} {{Hero Card Nav|Hero=Infernus}} {{Hero Card Nav|Hero=Ivy}} {{Hero Card Nav|Hero=Kelvin}} {{Hero Card Nav|Hero=Lady Geist|font size=8}} {{Hero Card Nav|Hero=Lash}} {{Hero Card Nav|Hero=McGinnis}} {{Hero Card Nav|Hero=Mo & Krill|font size=8}} {{Hero Card Nav|Hero=Paradox}} {{Hero Card Nav|Hero=Pocket}} {{Hero Card Nav|Hero=Seven}} {{Hero Card Nav|Hero=Shiv}} {{Hero Card Nav|Hero=Vindicta}} {{Hero Card Nav|Hero=Viscous}} {{Hero Card Nav|Hero=Warden}} {{Hero Card Nav|Hero=Wraith}} {{Hero Card Nav|Hero=Yamato}}
| | </div> |
| | | </includeonly><noinclude>{{Documentation}}</noinclude> |
| {{Navbox subgroup
| |
| |groupstyle =
| |
| |group1 =
| |
| |list1style = background-image:linear-gradient(#ffefd7, #FFDAA3); border-radius:7px; 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;
| |
| |list1 = UPCOMING
| |
| |group2 =
| |
| |list2 = {{Hero Card Nav|Hero=Holliday}} {{Hero Card Nav|Hero=Calico}} {{Hero Card Nav|Hero=Mirage}} {{Hero Card Nav|Hero=Wrecker}} • {{Hero Card Nav|Hero=Kali}}
| |
| }}
| |
| }}<noinclude>[[Category:Templates]]</noinclude>[[Category:Heroes]] | |
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.
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.
| Parameter | Description | Type | Status |
|---|
| Text Size | text_size | Size of the text on the card. Dont put 'px' at the end. - Suggested values
13, 14- Default
- 13
| Number | optional |
|---|
| Card Size | card_size | Size of the hero card. Dont put 'px' at the end - Suggested values
80, 88- Default
- 88
| Number | optional |
|---|