Template:Hero Navbox: Difference between revisions

From Deadlock Wiki
Jump to navigation Jump to search
Sur (talk | contribs)
m docs
mNo edit summary
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly>{|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(#c1a671, #d0bb95); font-family: 'PT Serif','Palatino','Georgia',serif; font-size:22px;"| [[Heroes|<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);">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|<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);">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|11}}}}
|text_size={{{text_size|11}}}
|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}}}
}}
}}
</div>
</div>
Line 15: Line 16:
{|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: 1px 1px rgba(0, 0, 0, 0.3); display: flex; justify-content: center; align-items: center;"> Hero Labs </span>
|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|<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;">Hero Labs</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|11}}}}
|text_size={{{text_size|11}}}
|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}}}
}}
}}
</div>
</div>
|}</includeonly><noinclude>{{Documentation}}</noinclude>
|}</includeonly><noinclude>{{Documentation}}</noinclude>

Latest revision as of 02:22, 12 November 2024

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

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

Abrams

Hero Labs

Bebop

Hero Labs

Dynamo

Hero Labs

Grey Talon

Hero Labs

Haze

Hero Labs

Infernus

Hero Labs

Ivy

Hero Labs

Kelvin

Hero Labs

Lady Geist

Hero Labs

Lash

Hero Labs

McGinnis

Hero Labs

Mirage

Hero Labs

Mo & Krill

Hero Labs

Paradox

Hero Labs

Pocket

Hero Labs

Seven

Hero Labs

Shiv

Hero Labs

Vindicta

Hero Labs

Viscous

Hero Labs

Warden

Hero Labs

Wraith

Hero Labs

Yamato

Hero Labs

Hero Labs

Calico

Hero Labs

Fathom

Hero Labs

Holliday

Hero Labs

Magician

Hero Labs

Trapper

Hero Labs

Viper

Hero Labs

Wrecker

Specific parameters for a bigger navbox:

{{Hero Navbox|text_size=20|card_size=132|sticker_size=56|herolabs_text_size=8}}
Heroes

Hero Labs

Abrams

Hero Labs

Bebop

Hero Labs

Dynamo

Hero Labs

Grey Talon

Hero Labs

Haze

Hero Labs

Infernus

Hero Labs

Ivy

Hero Labs

Kelvin

Hero Labs

Lady Geist

Hero Labs

Lash

Hero Labs

McGinnis

Hero Labs

Mirage

Hero Labs

Mo & Krill

Hero Labs

Paradox

Hero Labs

Pocket

Hero Labs

Seven

Hero Labs

Shiv

Hero Labs

Vindicta

Hero Labs

Viscous

Hero Labs

Warden

Hero Labs

Wraith

Hero Labs

Yamato

Hero Labs

Hero Labs

Calico

Hero Labs

Fathom

Hero Labs

Holliday

Hero Labs

Magician

Hero Labs

Trapper

Hero Labs

Viper

Hero Labs

Wrecker

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