Шаблон: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…»)
 
Строка 1: Строка 1:
<includeonly>{{#dpl:titlematch={{{1|}}}|include = {Skill infobox}:type|format=,,,}}</includeonly><noinclude>
+
<includeonly>{{#if: {{{1|}}}|'''{{#switch:{{lc:{{{1|}}}}}
For a given skill name, this will retrieve the type from the skill infobox.
+
| 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 ".".
  
''Parameters:''
+
=== Examples ===
;unnamed 1:
+
<pre>{{Skill type|Arcane}}''Description text''</pre>
:Skill name, case sensitive and if necessary requires disambig.
+
{{Skill type|Arcane}}''Description text''
[[Category:Data templates]]
+
 
 +
<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