Template:Hero Navbox: Difference between revisions
Appearance
m merging this with Template:Deadlock_Wiki/Hero |
Gammaton32 (talk | contribs) adjusted shadows |
||
(13 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
{|style="display:inline;border: 2px solid transparent;margin-top:10px;margin-bottom:10px;background-color:transparent;margin: auto;" | <includeonly>{|style="display:inline;border: 2px solid transparent;margin-top:10px;margin-bottom:10px;background-color:transparent;margin: auto;" | ||
|- | |- | ||
|style="display:block;border-radius: 8px;text-align: center; background-image: linear-gradient(# | |style="display:block;border-radius: 8px;text-align: center; background-image: linear-gradient(#987556, #e8be86); 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: 0px 2px 2px black, 0px 0px 2px black;">{{#invoke:lang|get_string|menu_heroes}}</span>]] | ||
|- | |- | ||
| <div style="display: flex; flex-wrap: wrap; gap: 3px; align-items: center; justify-content: center; margin: auto;"> | | <div style="display: flex; flex-wrap: wrap; gap: 3px; align-items: center; justify-content: center; margin: auto;"> | ||
{{#invoke:HeroData/nav|get_hero_nav_cards | {{#invoke:HeroData/nav|get_hero_nav_cards | ||
|in_herolabs=false | |in_herolabs=false | ||
|text_size={{{text_size| | |text_size={{{text_size|10}}} | ||
|card_size={{{card_size|88}}} | |card_size={{{card_size|88}}} | ||
|sticker_size={{{sticker_size|30}}} | |sticker_size={{{sticker_size|30}}} | ||
|herolabs_text_size={{{herolabs_text_size|6}}} | |||
|lang_code={{{lang_code|en}}} | |||
}} | }} | ||
</div> | </div> | ||
Line 15: | Line 17: | ||
{|style="display:inline;border: 2px solid transparent;margin-top:10px;margin-bottom:10px;background-color:transparent;margin: auto;" | {|style="display:inline;border: 2px solid transparent;margin-top:10px;margin-bottom:10px;background-color:transparent;margin: auto;" | ||
|- | |- | ||
|style="border-radius: 8px;text-align: center; background-image: linear-gradient(#ce9b54, #674915); font-family: 'PT Serif','Palatino','Georgia',serif; font-size:22px;"| <span style="color:#FFF0D6; font-family: 'Retail Demo', 'PT Serif','Palatino','Georgia',serif; font-weight:bold; text-shadow: | |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: 0px 2px 2px black, 0px 0px 2px black; display: flex; justify-content: center; align-items: center;">{{#invoke:lang|get_string|MyRosterHeroLabsHero}}</span>]] | ||
|- | |- | ||
| <div style="display: flex; flex-wrap: wrap; gap: 3px; align-items: center; justify-content: center; margin: 0 auto;"> | | <div style="display: flex; flex-wrap: wrap; gap: 3px; align-items: center; justify-content: center; margin: 0 auto;"> | ||
{{#invoke:HeroData/nav|get_hero_nav_cards | {{#invoke:HeroData/nav|get_hero_nav_cards | ||
|in_herolabs=true | |in_herolabs=true | ||
|text_size={{{text_size| | |text_size={{{text_size|10}}} | ||
|card_size={{{card_size|88}}} | |card_size={{{card_size|88}}} | ||
|sticker_size={{{sticker_size|30}}} | |sticker_size={{{sticker_size|30}}} | ||
|herolabs_text_size={{{herolabs_text_size|6}}} | |||
|lang_code={{{lang_code|en}}} | |||
}} | }} | ||
</div> | </div> | ||
|} | |}</includeonly><noinclude>{{Documentation}}</noinclude> |
Latest revision as of 03:42, 7 February 2025
Usage[edit source]
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[edit source]
Default parameters for a smaller navbox:
{{Hero Navbox}}
Heroes |
Hero Labs |
Specific parameters for a bigger navbox:
{{Hero Navbox|text_size=16|card_size=132|sticker_size=56|herolabs_text_size=8}}
Heroes |
Hero Labs |
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 |