Шаблон:Skill type — различия между версиями
Материал из Guild Wars 2 wiki
(Новая страница: «<includeonly>{{#dpl:titlematch={{{1|}}}|include = {Skill infobox}:type|format=,,,}}</includeonly><noinclude> For a given skill name, this will retrieve the type f…») |
Blood (обсуждение | вклад) |
||
Строка 1: | Строка 1: | ||
− | <includeonly>{{# | + | <includeonly>{{#if: {{{1|}}}|'''{{#switch:{{lc:{{{1|}}}}} |
− | + | | signet active = [[Signet]] Active | |
+ | | signet passive = [[Signet]] Passive | ||
+ | | activate = Activate | ||
+ | | #default = [[{{{1|}}}]]}}{{{2|.}}} '''}}</includeonly><noinclude> | ||
+ | == Description == | ||
+ | This template is used to format the skill type prefix in the [[Template:Skill infobox]] description in the same way. | ||
+ | == Usage == | ||
+ | <pre>{{Skill type|<type>|<delimiter>}}</pre> | ||
+ | === Parameters === | ||
+ | ;1 (unnamed parameter) | ||
+ | :Optional, skill type. | ||
+ | ;2 (unnamed parameter) | ||
+ | :Optional, delimiter. Default is ".". | ||
− | '' | + | === Examples === |
− | + | <pre>{{Skill type|Arcane}}''Description text''</pre> | |
− | + | {{Skill type|Arcane}}''Description text'' | |
− | [[Category: | + | |
+ | <pre>{{Skill type|Signet Passive|:}}''Description text''</pre> | ||
+ | {{Skill type|Signet Passive|:}}''Description text'' | ||
+ | |||
+ | [[Category:Skill formatting templates]] | ||
</noinclude> | </noinclude> |
Версия 20:31, 30 мая 2019
Содержание
Description
This template is used to format the skill type prefix in the Template:Skill infobox description in the same way.
Usage
{{Skill type|<type>|<delimiter>}}
Parameters
- 1 (unnamed parameter)
- Optional, skill type.
- 2 (unnamed parameter)
- Optional, delimiter. Default is ".".
Examples
{{Skill type|Arcane}}''Description text''
Таинство. Description text
{{Skill type|Signet Passive|:}}''Description text''
Печать пассивна: Description text