Template:Hero Navbox/doc: Difference between revisions

From Deadlock Wiki
Jump to navigation Jump to search
Sur (talk | contribs)
m Fixed example not showing code
Sylphoid (talk | contribs)
cleanup
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
==Overview==
== Usage ==
Navbox for [[Heroes]], the bottom of individual hero pages like [[Abrams]], and the home page.
This navbox template displays [[Heroes]], and should be added at the end of the page.


==Examples==
It appears at the bottom of individual hero pages like [[Abrams]] and on the home page.
 
== Examples ==
Default parameters for a smaller navbox:
Default parameters for a smaller navbox:
 
<pre>
<code><nowiki>{{Hero Navbox}}</nowiki><code>
{{Hero Navbox}}
</pre>
{{Hero Navbox}}
{{Hero Navbox}}


Specific parameters for a bigger navbox:
Specific parameters for a bigger navbox:
 
<pre>
<code><nowiki>{{Hero Navbox|text_size=20|card_size=132|sticker_size=56}}</nowiki><code>
{{Hero Navbox|text_size=20|card_size=132|sticker_size=56|herolabs_text_size=8}}
{{Hero Navbox|text_size=20|card_size=132|sticker_size=56}}
</pre>
{{Hero Navbox|text_size=20|card_size=132|sticker_size=56|herolabs_text_size=8}}
<templatedata>
{
"params": {
"text_size": {},
"card_size": {},
"sticker_size": {},
"herolabs_text_size": {}
},
"description": " ",
"format": "block"
}
</templatedata>
<includeonly>[[Category:Navigation templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>
<includeonly>[[Category:Navigation templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>

Latest revision as of 17:36, 31 October 2024

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

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