Шаблон:Trait list by property
Материал из Guild Wars 2 wiki
Description[править]
This template returns a list of traits of a certain semantic mediawiki trait property. Format using {{Trait list by property result format}} and {{Trait list by property result format/heading}} (for "mode=heading").
- 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
- Optional. Intro heading for plain format only. This will internally set filter classes for {{related traits filter}}.
- heading level
- Optional. Intro heading level, defaults to h3.
- intro
- Optional. Intro text.
- default
- Optional. Default text.
Example[править]
mode = plain[править]
{{Trait list by property|[[Has trait tier::Proficiency]]}}
- No traits found.
mode = heading[править]
{{Trait list by property|[[Has trait tier::Proficiency]]|mode=heading|heading level=h5}}
- No traits found.