Шаблон:Skin infobox

Материал из Guild Wars 2 wiki
Перейти к: навигация, поиск
.

Skin infobox

Skin type

Description[править]

{{Skin infobox
| name = 
| icon = 
| type = 
| class = 
| race = 
| set = 
| rarity = 
| id = 
}}

Parameters[править]

All parameters are optional unless specified.

name 
Defaults to the name of the base article ({{BASEPAGENAME}}).
icon 
Filename of the inventory icon. Defaults to {{BASEPAGENAME}}.
type 
Required. The skin type, i.e.:
Axe, Dagger, Mace, Pistol, Scepter, Sword, Focus, Warhorn, Torch, Shield, Greatsword, Hammer, Longbow, Rifle, Short bow, Staff, Spear, Harpoon gun, Trident
Aquatic headgear, Headgear, Shoulders, Chest, Gloves, Leggings, Boots
Back item
class 
Armor skin classification, capitalized : Heavy, Medium, Light.
race 
Cultural armor only Required race to use the skin.
set 
Name of the set that the skin belongs to.
rarity 
Rarity of the skin.
id 
The decoded internal game id of the skin. This will then be rendered as a chat link. Do not mistakenly add the chat link as the parameter.
description 
In-game description (currently only found on a single back item skin)
collection 
Optional. If the skin is part of any collections.
categorize 
Optional. "y" or "n" to turn on/off categorization. Default is on for main namespace articles and off for others. If using "status", don't set this parameter.
status 
Optional. Status of content. Only set if not currently obtainable ingame, displays relevant notice. Available options: "historical", "discontinued", "future", "unimplemented", "current" (default).
gallery1, gallery2, gallery3, gallery4, gallery 5
Optional. Armor pages do not show galleries by default, but specifying a filename of the form "gallery1 = <item name>.jpg" will show the gallery. For weapons and back items, the gallery will default to "<page name>.jpg", with any bracketed text removed from the end.

Variables[править]

Exports the following variables.

  • {{#var:skin supertype}} - The skin's primary type (armor, back item, weapon).
  • {{#var:skin type}} - The skin's subtype (axe, headgear, etc.); appears as "back item" for back skins.
  • {{#var:skin class}} - The skin's armor class (light, medium, heavy); null for non-armor skins.

Examples[править]

{{Skin infobox
| name = Flame Legion Helm
| icon = Flame Legion Helm (heavy).png
| type = Headgear
| class = Heavy
| set = Citadel of Flame
| id = 724
}}
.

Flame Legion Helm

Skin type
Headgear
Weight
Heavy
Set
Citadel of Flame armor
Unlocked
Chat link