Шаблон:Trait list by property
Материал из Guild Wars 2 wiki
Версия от 07:08, 30 августа 2021; Blood (обсуждение | вклад)
Содержание
Description
This template returns a list of traits of a certain semantic mediawiki trait property. Format using {{Trait list by property result format}}.
- Related templates
Usage | Skill templates | Trait templates | Description |
---|---|---|---|
Section | {{Related skills}} | {{Related traits}} | These templates list all related skills/traits based on {{skill fact}} and on the {{trait infobox}} improves parameters. They create subsection headings automatically. |
Subsection | {{Skill list}} | {{Trait list}} | These templates list all related skills of a certain context (e.g. weapon, utility)/traits based on {{skill fact}} |
{{Skill list by property}} | {{Trait list by property}} | These templates list all related skills/traits based on a smw query, e.g. based on the {{trait infobox}} improves parameters. | |
Inline | — | {{Trait list entry}} | This template displays the profession icon, trait icon, trait, trait line and trait description. |
Usage
{{Trait list by property|<query>}}
Parameters
- 1 (unnamed parameter)
- Required. Query to select the traits.
- suffix
- Optional. Either "none" or "description" (default).
- mode
- Optional. Either "plain" (default) or "heading" (displays trait line headings and omits the profession, intended for trait pages only).
- heading level
- Optional. Heading level, defaults to "h3".
- intro
- Optional. Intro text.
- default
- Optional. Default text.
Example
mode = plain
{{Trait list by property|[[Has trait tier::Proficiency]]}}
- Sword Proficiency (Волеборец) — Вы можете использовать меч в любой руке.
- Greatsword Proficiency (Поборник) — Вы можете использовать двуручный меч.
- Pistol Proficiency (Клинковед) — Вы можете использовать пистолет в левой руке.
- Mace Proficiency (Механист) — Вы можете использовать булаву в правой руке.
- Scepter Proficiency (Призрак) — Вы можете использовать скипетр в правой руке.
- Hammer Proficiency (Катализатор) — Вы можете использовать молот.
- Dagger Proficiency (Виртуоз) — Вы можете использовать кинжал в правой руке.
- Pistol Proficiency (Предвестник) — Вы можете использовать пистолет в правой руке.
mode = heading
{{Trait list by property|[[Has trait tier::Proficiency]]|mode=heading|heading level=h5}}
Волеборец
- Sword Proficiency — Вы можете использовать меч в любой руке.
Поборник
- Greatsword Proficiency — Вы можете использовать двуручный меч.
Клинковед
- Pistol Proficiency — Вы можете использовать пистолет в левой руке.
Механист
- Mace Proficiency — Вы можете использовать булаву в правой руке.
Призрак
- Scepter Proficiency — Вы можете использовать скипетр в правой руке.
Катализатор
- Hammer Proficiency — Вы можете использовать молот.
Виртуоз
- Dagger Proficiency — Вы можете использовать кинжал в правой руке.
Предвестник
- Pistol Proficiency — Вы можете использовать пистолет в правой руке.