Шаблон:Skill list by property — различия между версиями
Материал из Guild Wars 2 wiki
Blood (обсуждение | вклад) |
Blood (обсуждение | вклад) |
||
Строка 21: | Строка 21: | ||
| ?Has game description <!-- 6 --> | | ?Has game description <!-- 6 --> | ||
| ?Is for attunement <!-- 7 --> | | ?Is for attunement <!-- 7 --> | ||
− | | {{#switch: {{ucfirst:{{{1|}}}}} | Weapon = ?Is for weapon | Bundle | Common = ?Is for bundle | Transform = ?Has parent skill | Profession mechanic | Healing | Utility | Elite = ?Has skill type | Pet = ?Is for pet family | Trait = ?Has trait parent | Profession = ?Has skill type | Monster = ?Is for monster }} <!-- | + | | ?Is usable underwater <!-- 8 --> |
− | | {{#switch: {{ucfirst:{{{1|}}}}} | Profession mechanic = ?Is for weapon | Pet = ?Is for pet | Profession = ?Is for weapon}} <!-- | + | | {{#switch: {{ucfirst:{{{1|}}}}} | Weapon = ?Is for weapon | Bundle | Common = ?Is for bundle | Transform = ?Has parent skill | Profession mechanic | Healing | Utility | Elite = ?Has skill type | Pet = ?Is for pet family | Trait = ?Has trait parent | Profession = ?Has skill type | Monster = ?Is for monster }} <!-- 9 --> |
+ | | {{#switch: {{ucfirst:{{{1|}}}}} | Profession mechanic = ?Is for weapon | Pet = ?Is for pet | Profession = ?Is for weapon }} <!-- 10 --> | ||
| format = template | | format = template | ||
| template = Skill list by property result format{{!}}suffix={{{suffix|type}}}{{!}}context={{ucfirst:{{{1|}}}}} | | template = Skill list by property result format{{!}}suffix={{{suffix|type}}}{{!}}context={{ucfirst:{{{1|}}}}} |
Текущая версия на 15:02, 21 сентября 2022
Description[править]
This template returns a list of skills of a certain semantic mediawiki skill property, e.g. ground-targeting: [[Is ground targeted::Y]]. Format using {{Skill 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[править]
{{Skill list by property|Weapon|<query>}} {{Skill list by property|Bundle|<query>}} {{Skill list by property|Transform|<query>}} {{Skill list by property|Healing|<query>}} {{Skill list by property|Utility|<query>}} {{Skill list by property|Elite|<query>}} {{Skill list by property|Profession mechanic|<query>}} {{Skill list by property|Pet|<query>}} {{Skill list by property|Downed|<query>}} {{Skill list by property|Drowning|<query>}} {{Skill list by property|Trait|<query>}} {{Skill list by property|Racial|<query>}} {{Skill list by property|Common|<query>}} {{Skill list by property|Profession|<query>}} {{Skill list by property|Monster|<query>}}
Copy-and-paste code[править]
=== [[Weapon]] skills === {{Skill list by property|Weapon}} === [[Bundle]] skills === {{Skill list by property|Bundle}} === [[Transform]] skills === {{Skill list by property|Transform}} === [[Healing skill]]s === {{Skill list by property|Healing}} === [[Utility skill]]s === {{Skill list by property|Utility}} === [[Elite skill]]s === {{Skill list by property|Elite}} === [[Profession mechanic]] skills === {{Skill list by property|Profession mechanic}} === [[List of pet skills|Pet]] skills === {{Skill list by property|Pet}} === [[List of downed skills|Downed]] skills === {{Skill list by property|Downed}} === [[List of drowning skills|Drowning]] skills === {{Skill list by property|Drowning}} === [[List of trait skills|Trait]] skills === {{Skill list by property|Trait}} === [[Racial skill]]s === {{Skill list by property|Racial}} === Common skills === {{Skill list by property|Common}}
Parameters[править]
- 1 (unnamed parameter)
- Required. Skill context: "Weapon", "Bundle", "Transform", "Healing", "Utility", "Elite", "Profession mechanic", "Pet", "Downed", "Drowning", "Trait".
- Additional option, by skill supertype: "Profession" (displays all profession skills without specifing any skill context), "Racial", "Common" and "Monster".
- 2 (unnamed parameter)
- Required. Query to select the skills.
- suffix
- Optional. Either "type" (default, weapon or skill type), "none", "description" or "trait" (matching {{trait list}}, trait parent and description).
- intro
- Optional. Intro text.
- heading
- Optional. Intro heading. This will internally set filter classes for {{related skills filter}}.
- heading level
- Optional. Intro heading level, defaults to h3.
- default
- Optional. Default text.
Example[править]
{{Skill list by property|Weapon|[[Is ground targeted::Y]]}}
- Symbol of Punishment — Скипетр
- Holy Strike — Посох
- Symbol of Swiftness — Посох
- Line of Warding — Посох
- Symbol of Energy — Длинный лук
- Hunter's Ward — Длинный лук
- Coalescence of Ruin — Молот
- Phase Smash — Молот
- Drop the Hammer — Молот
- Envoy of Exuberance — Щит
- Spiritcrush — Короткий лук
- Whirlwind Attack — Двуручный меч
- Arcing Arrow — Длинный лук
- Valiant Leap — Посох
- Line Breaker — Посох
- Glue Shot — Пистолет
- Jump Shot — Ружье
- Essence of Animated Sand — Короткий лук
- Essence of Living Shadows — Короткий лук
- Essence of Liquid Wrath — Короткий лук
- Essence of Borrowed Time — Короткий лук
- Thunderclap — Молот
- Path of Scars — Топор
- Barrage — Длинный лук
- Ancestral Grace — Посох
- Vine Surge — Посох
- Sublime Conversion — Посох
- Choking Gas — Короткий лук
- Infiltrator's Arrow — Короткий лук
- Vault — Посох
- Sniper's Cover — Ружье
- Searing Salvo — Пистолет, при настройке на огонь
- Phoenix — Скипетр, при настройке на огонь
- Shatterstone — Скипетр, при настройке на воду
- Dust Devil — Скипетр, при настройке на землю
- Flamewall — Фокус, при настройке на огонь
- Lava Font — Посох, при настройке на огонь
- Meteor Shower — Посох, при настройке на огонь
- Ice Spike — Посох, при настройке на воду
- Geyser — Посох, при настройке на воду
- Frozen Ground — Посох, при настройке на воду
- Healing Rain — Посох, при настройке на воду
- Gust — Посох, при настройке на воздух
- Static Field — Посох, при настройке на воздух
- Eruption — Посох, при настройке на землю
- Unsteady Ground — Посох, при настройке на землю
- Lightning Orb — Боевой рог, при настройке на воздух
- Stone Tide — Скипетр, при настройке на воду и землю
- Pressure Blast — Посох, при настройке на огонь и воду
- Plasma Blast — Посох, при настройке на огонь и воздух
- Pyroclastic Blast — Посох, при настройке на огонь и землю
- Monsoon — Посох, при настройке на воздух и воду
- Lahar — Посох, при настройке на воду и землю
- Triple Sear — Молот, при настройке на огонь
- Hurricane of Pain — Молот, при настройке на воздух
- Shock Blast — Молот, при настройке на воздух
- Temporal Curtain — Фокус
- Mind Stab — Двуручный меч
- Journey — Ружье
- Inspiring Imagery — Ружье
- Singularity Shot — Ружье
- Chaos Storm — Посох
- Tides of Time — Щит
- Unstable Bladestorm — Кинжал
- Enfeebling Blood — Кинжал
- Grasping Dead — Скипетр
- Hungering Maelstrom — Меч
- Mark of Blood — Посох
- Chillblains — Посох
- Putrid Mark — Посох
- Reaper's Mark — Посох