Template:Hero Navbox: Difference between revisions

From Deadlock Wiki
Jump to navigation Jump to search
Sur (talk | contribs)
m merging this with Template:Deadlock_Wiki/Hero
Sur (talk | contribs)
m docs
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(#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;"| [[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>]]
Line 25: Line 25:
}}
}}
</div>
</div>
|}
|}</includeonly><noinclude>{{Documentation}}</noinclude>

Revision as of 18:22, 28 October 2024

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

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.

Examples

Default parameters for a smaller navbox:

{{Hero Navbox}}
Heroes

Lua error in Module:HeroData/nav at line 62: attempt to concatenate local 'herolabs_text_size' (a nil value).

Hero Labs

Lua error in Module:HeroData/nav at line 62: attempt to concatenate local 'herolabs_text_size' (a nil value).

Specific parameters for a bigger navbox:

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

Lua error in Module:HeroData/nav at line 62: attempt to concatenate local 'herolabs_text_size' (a nil value).

Hero Labs

Lua error in Module:HeroData/nav at line 62: attempt to concatenate local 'herolabs_text_size' (a nil value).

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