Shop Heroes Wikia
Shop Heroes Wikia
90px-CC_some_rights_reserved.svg.png
24px-Cc-by_new_white.svg.png 24px-Cc-sa_white.svg.png
This work is licensed under the Creative Commons Attribution-ShareAlike 3.0 License.

Attribution: see contributors in the history of this template, but most notably:
  1. User:©TriMoon™ and/or wikipedia:User:TriMoon

{{{1}}}

Template documentation (for the above template, sometimes hidden or invisible)[view] [edit] [history] [refresh]
==Description==

This template is used to display a badge with a number in it.
The image has no link to click on (can be switched on), but does provide a popup with text when mouse is hovered over it with a help pointer.
It is intended for use whenever a level display is desired.

Syntax

Type {{Level|number|image dimensions|link|type}} somewhere.

Positional parameters:
  1. = A number between 1 and 40. (current max level)
    or a single ? to indicate unknown level, we might add a special image for this case someday maybe.
    or na to indicate level not available (N/A), we might add a special image for this case someday maybe.
    The default value when not used is 1.
  2. = Same options as used for wiki images.
    For our template's purpose we probably mostly use it for image dimensions.
    The default value when not used is 30px.
Named parameters:
  • link
    Used to enable/disable the link when clicking the image.
    Anything other as no will disable the linking.
    The default value when not used is no.
  • type
    Used to select the icon theme, current accepted values are:
    • castle for a gold themed icon.
    The default value when not used is to use a blue themed icon.

Examples

Example uses:
default theme [purge]
Code Output
{{Level}}
{{{1}}}
{{Level|?}}
??
{{Level|na}}
N/A
{{Level|2}}
2
{{Level
|40
|80px
}}

40

{{Level
|40
|80px
|link=y
}}

40

Example uses:
castle theme [purge]
Code Output
{{Level
|type=castle
}}

{{{1}}}

{{Level
|?
|type=castle
}}

??

{{Level
|na
|type=castle
}}

N/A

{{Level
|2
|type=castle
}}

2

{{Level
|9
|80px
|type=castle
}}

9

{{Level
|9
|80px
|link=y
|type=castle
}}

9

The above text is transcluded from Template:Level/doc; you can change it or view its history. (How does this work?)
If you're done making changes, please refresh the text. (Why?)
You can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Please add categories and interwikis to Template:Level/doc. (View all subpages of this page.)