Шаблон:Attribute combinations table row
Материал из Guild Wars 2 wiki
Версия от 12:00, 22 февраля 2020; Blood (обсуждение | вклад) (Новая страница: «<includeonly><!--Defining order for the attributes -->{{#arraymap:major1,major2,minor1,minor2,release|,|@@@|{{#vardefine:@@@|{{#switch:{{lc:{{{@@@|}}}}} | power =…»)
This template adds a row into an attribute combinations table, use with {{Attribute combinations table header}} and {{Attribute combinations table footer}}.
The rows should be sorted alphabetically by prefix, first the main attributes No attribute < Power < Precision < Toughness < Vitality
and then the secondary attributes Concentration < Condition Damage < Expertise < Ferocity < Healing Power
.
Usage[править]
{{Attribute combinations table row|prefix=|major1=|major2=|minor1=|minor2=|armor=|weapon=|trinket=|back=|upgrade=|release=|pvp=}} {{Attribute combinations table row|smaller|prefix=|suffix=|major1=|minor1=|armor=|weapon=|trinket=|back=|upgrade=}}
Parameters[править]
- 1 (unnamed parameter)
- For the table with one and two attributes: smaller.
- prefix
- Prefix name.
- prefixpage
- Page name of prefix page.
- suffix
- Suffix name, needed for smaller tables (i.e. 1 or 2 attributes)
- major1
- Major attribute 1.
- major2
- Optional, default display is —.
- minor1
- Minor attribute 1.
- minor2
- Minor attribute 2.
- armor
- Prefix of the ascended armor set.
- weapon
- Prefix of the ascended weapon set.
- release
- Release, default is: gw2, else: hot, pof.
- trinket
- If available as trinket: yes.
- upgrade
- Iif available as upgrade component: yes.
- pvp
- If available in PvP but also in PvE/WvW: yes. If available only in PvP: only.
Example[править]
{{Attribute combinations table header}} {{Attribute combinations table row|prefix=Berserker's|major1=Power|major2=|minor1=Precision|minor2=Ferocity|armor=Zojja's|weapon=Zojja's|trinket=yes|back=yes|upgrade=yes|pvp=yes}} {{Attribute combinations table row|prefix=Marauder|major1=Power|major2=Precision|minor1=Vitality|minor2=Ferocity|armor=Svaard's|weapon=Svaard's|trinket=yes|back=yes|upgrade=yes|release=HoT|pvp=yes}} {{Attribute combinations table row|prefix=Grieving|major1=Power|major2=Condition Damage|minor1=Precision|minor2=Ferocity|armor=The Twins'|weapon=The Twins'|trinket=yes|back=yes|release=PoF|pvp=yes}} {{Attribute combinations table footer}}
Prefix | Attributes | Availability | Ascended Prefix | Release | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Major | Major | Minor | Minor | Armor | Weapon | Trinket | Back | Upgrade | PvP | Armor | Weapon | ||
Berserker's | Сила | — | Точность | Свирепость | 1 | 1 | 1 | 1 | 1 | 1 | Zojja's armor | Zojja's weapons | |
Marauder | Сила | Точность | Живучесть | Свирепость | 1 | 1 | 1 | 1 | 1 | 1 | Svaard's armor | Svaard's weapons | |
Grieving | Сила | Урон от состояний | Точность | Свирепость | 1 | 1 | 1 | 1 | 0 | 1 | The Twins' armor | The Twins' weapons | x25px |