Template:Hero Navbox: Difference between revisions

Sur (talk | contribs)
m menu_heroes for heroes localization instead
m Reverted edit by 149.28.42.29 (talk) to last revision by Mgpt
Tag: Rollback
 
(17 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Navbox
<includeonly>{|style="display:inline;border: 2px solid transparent;margin-top:10px;margin-bottom:10px;background-color:transparent;margin: auto;"
|name      = {{#invoke:Lang|get_string_fallback|menu_heroes|Heroes}}
|-
|title      = [[Heroes|<span style="color:#FFEFD7">HEROES</span>]]
|style="display:block;border-radius: 8px;text-align: center; background-image: linear-gradient(#c1a671, #d0bb95); font-family: 'PT Serif','Palatino','Georgia',serif; font-size:22px;"| [[Hero{{if lang}}|<span style="color:#FFF5E8; font-family: 'Retail Demo', 'PT Serif','Palatino','Georgia',serif; font-weight:bold; text-shadow: 1px 1px rgba(0, 0, 0, 0.3);">{{#invoke:lang|get_string|menu_heroes}}</span>]]
|state      =
|-
|titlestyle = background-image: linear-gradient(#c1a671, #d0bb95); 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;
| <div style="display: flex; flex-wrap: wrap; gap: 3px; align-items: center; justify-content: center; margin: auto;">
|groupstyle = background-color:#bdad9f;
{{#invoke:HeroData/nav|get_hero_nav_cards
|liststyle  = text-align:center;
|in_herolabs=false
|abovestyle = background:#bdad9f;
|text_size={{{text_size|10}}}
|aboveclass = hlist
|card_size={{{card_size|88}}}
|above =
|sticker_size={{{sticker_size|30}}}
|bodystyle = width:100%;
|herolabs_text_size={{{herolabs_text_size|6}}}
|group1    =
|lang_code={{{lang_code|en}}}
|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>
|}


{{Navbox subgroup
{|style="display:inline;border: 2px solid transparent;margin-top:10px;margin-bottom:10px;background-color:transparent;margin: auto;"
|groupstyle =  
|-
|group1    =
|style="border-radius: 8px;text-align: center; background-image: linear-gradient(#ce9b54, #674915); font-family: 'PT Serif','Palatino','Georgia',serif; font-size:22px;"| [[Hero Labs{{if lang}}|<span style="color:#FFF0D6; font-family: 'Retail Demo', 'PT Serif','Palatino','Georgia',serif; font-weight:bold; text-shadow: 1px 1px rgba(0, 0, 0, 0.3); display: flex; justify-content: center; align-items: center;">{{#invoke:lang|get_string|MyRosterHeroLabsHero}}</span>]]
    |list1style = background-image: linear-gradient(#c1a671, #d0bb95); 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
| <div style="display: flex; flex-wrap: wrap; gap: 3px; align-items: center; justify-content: center; margin: 0 auto;">
    |group2    =  
{{#invoke:HeroData/nav|get_hero_nav_cards
    |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}}
|in_herolabs=true
    }}
|text_size={{{text_size|10}}}
}}<includeonly>[[Category:Heroes]]</includeonly><noinclude>{{Documentation}}</noinclude>
|card_size={{{card_size|88}}}
|sticker_size={{{sticker_size|30}}}
|herolabs_text_size={{{herolabs_text_size|6}}}
|lang_code={{{lang_code|en}}}
}}
</div>
|}</includeonly><noinclude>{{Documentation}}</noinclude>