Template:Skin

From Predecessor Wiki
Jump to navigation Jump to search

This template defines the table "Skins". View table.

Template-info.svg Documentation

Syntax

{{Skin
|skin name       = 
|image render    = 
|image ingame    = 
|release date    =
|platinum cost   = 
|rarity          = Common_Uncommon_Rare_Epic_Legendary
|is default      = 
}}

Example

{{Skin
|skin name       = Vampiric Matriarch
|image render    = Countess_VampiricMatriarch_Render.png
|image ingame    = Countess_VampiricMatriarch_Ingame.png
|release date    = December 1, 2022
|platinum cost   = 
|rarity          = Common
|is default      = yes
}}
{{Skin
|skin name       = Red Hex
|image render    = Countess_RedHex_Render.png
|image ingame    = Countess_RedHex_Ingame.png
|release date    = February 21, 2023
|platinum cost   = 600
|rarity          = Common
}}

Template Data

Defines a hero's skin. Place on the respective hero's page under a Skins heading.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
skin nameskin name

Official name of the skin.

Example
|skin name=Vampiric Matriarch
Stringrequired
image renderimage render

The official render of the skin, preferably square in size for consistency.

Example
|image render=Countess_VampiricMatriarch_Render.png
Filerequired
image ingameimage ingame

An in-game screenshot (either official or un-official) of the skin. The template defaults to this image if no render is provided.

Example
|image ingame=Countess_VampiricMatriarch_Ingame.png
Filesuggested
platinum costplatinum cost

The cost of the skin in the platinum currency.

Example
|platinum cost=500
Numbersuggested
amber costamber cost

Currently not needed as skins only use platinum as a currency.

Example
|amber cost=500
Numberoptional
release_daterelease_date

The date that the skin released. Write as MONTH DAY, YEAR.

Example
|release_date=December 1, 2022
Datesuggested
rarityrarity

The rarity of the skin, can be found in the game store.

Suggested values
Common Uncommon Rare Epic Legendary
Example
|rarity=Common
Stringsuggested
is defaultis default

If the skin is the default skin of the hero, write "yes". Leave blank or remove parameter if no. Currently there is only one default skin per hero, so only one skin template on the hero's page should have this parameter.

Suggested values
yes
Example
|is default=yes
Booleanoptional
herohero

This is an optional parameter which is not needed in almost every case where you use this template. This parameter is used to tell the database which hero this skin is for by automatically giving it the name of the page that the skin template is on. This means that any skins of a hero SHOULD be placed onto their respective page, such as a Countess skin being placed on a section on the Countess page. In some cases, the page name can't be parsed correctly because of symbols, such as the "Iggy & Scorch" hero. When this happens, simply type the page name of the skin's respective hero as a parameter.

Default
{{PAGENAME}}
Example
|hero=Iggy & Scorch
Page nameoptional