Шаблон:Relic infobox — различия между версиями
Материал из Guild Wars 2 wiki
Blood (обсуждение | вклад) (Новая страница: «<includeonly>{{infobox status|{{{status|}}}|{{{status notes|}}}|date={{{status date|}}} }}<!-- -->{{infobox requires|{{{requires|}}} }}<!-- -->{{#if: {{{split|}}}…») |
Blood (обсуждение | вклад) |
||
Строка 36: | Строка 36: | ||
--><div class="infobox item"> | --><div class="infobox item"> | ||
− | <div class="infobox-icon">[[Has game icon::File:{{{icon|{{#replace:{{PAGENAME}}|:|-}}.png}}}|40px]]</div> | + | <div class="icon infobox-icon">[[Has game icon::File:{{{icon|{{#replace:{{PAGENAME}}|:|-}}.png}}}|40px]]</div> |
<p class="heading">[[Has canonical name::{{{name|{{#titleparts:{{PAGENAME}}}}}}}]]</p> | <p class="heading">[[Has canonical name::{{{name|{{#titleparts:{{PAGENAME}}}}}}}]]</p> | ||
<div class="wrapper"> | <div class="wrapper"> |
Текущая версия на 14:22, 26 января 2024
An infobox for Relics.
Содержание |
Usage[править]
{{Relic infobox | name = | icon = | level = | rarity = | description = | facts = | hint = | value = | bound = | id = | requires = | status = }}
Parameters[править]
- name
- Optional. Name of the relic, only use if different from article name (defaults to
{{PAGENAME}}
). - icon
- Optional. Inventory icon, only use if file is named differently from the article (defaults to
{{PAGENAME}}.png
). - level
- Required. Level to equip the relic.
- description
- description pvp
- description wvw
- Optional. In-game description.
- facts
- The relic effect/skill facts (i.e. bleeding, damage, range, etc.) shown below the description. Each fact should be presented as an individual instance of the {{skill fact}} template.
- hint
- Optional. Used only for collection items that display hint text
- split
- Game modes that this relic applies to. See {{Game mode version}}. Calls {{Relic infobox/subobject}} for each game mode besides PvE to create subobjects.
- recharge
- recharge pvp
- recharge wvw
- Optional. The cooldown time of the relic, if any.
- categorize
- Optional. n to skip auto-categorization. Rarely used but useful for corner-case pages. 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).
- status notes
- Optional. Allows provision of additional reason for the given status.
- status date
- Optional. Sets the date of the update that marked this skill as historical (in YYYY-MM-DD format).
- requires
- Optional. The expansion or living world season required to access the content. Displays a notice of the release. See {{infobox requires}} for options.
The following parameters are handled by the {{Default item parameter}} template:
- collection
- Optional. If the item is part of any collections.
- rarity
- Specified rarity: junk, basic, fine, masterwork, rare, exotic, ascended, legendary. Will be set to Unspecified per default.
- level
- Optional. Required level to use the item.
- race
- Optional. Required race to use item. Currently only used for cultural armor and cultural weapons.
- unique
- Optional. Whether the item is unique. "y" for yes, omit parameter if no.
- bound
- Optional. Under what conditions the item becomes bound: no binding (default), use (soulbound on use), acquire (soulbound on acquisition), account, account soul (account bound on acquire, soul bound on use)
- cost
- Optional. Currency cost of the item when purchased from a vendor. To match it to the display in any vendor window, use the amount and the appropriate icon template, e.g. {{coin|500}}, 500 {{item icon|zhaitaffy}}, or 500 {{token|Guild Commendation}}
- value
- Optional. The number of coins a vendor will pay for this item; use only the number, since the template assumes copper coins.
- id
- Optional. The item id. Does allow multiple ids to be set by using a comma-separated list.
- other ids
- Optional. Other item ids that are not displayed as chat links.
- skin id
- Optional. If given, an additional skin chat link will be displayed above the item chat link.
Arraymap parameters
- gallery
- Optional. Enter images using
+<Image>, <Caption>
with a newline between the caption and the next image. Defaults to <page name>.jpg
Legacy parameters
- name
- Required. The canonical name of item, used for Property:Has caption.
- gallery1 ... gallery5
- Optional. Gallery images of the weapon. Defaults to <page name>.jpg
- gallery1-text ... gallery5-text
- Optional. Gallery image descriptions.
Examples[править]
{{Relic infobox | description = Create a Death Nova at a foe's location upon their defeat that inflicts [[poisoned|poison]] and [[bleeding]]. {{gray|(Cooldown: 10 Seconds)}} | rarity = Exotic | uslot = no | level = 60 | value = 200 | salvage = Standard, Research | id = 100693 }}
Relic of the Afflicted
- Type
- Relic
- Редкость
- Экзотический
- Треб. уровень
- 60
- Ценность
- 2
- Игр. ссылка
- Торговый пост
- …
- Внешние ссылки
- GW2BLTC
GW2Spidy
GW2TP - API
- 100693
“Relic of the AfflictedCreate a Death Nova at a foe's location upon their defeat that inflicts poison and bleeding. (Cooldown: 10 Seconds)
— Внутриигровое описание