Шаблон:Discipline — различия между версиями

Материал из Guild Wars 2 wiki
Перейти к: навигация, поиск
(Новая страница: «{{#switch:{{lc:{{{1}}}}} |armorsmith = {{armorsmith}} |artificer = {{artificer}} |chef = {{chef}} |huntsman = {{huntsman}} |jeweler = {{jeweler}} |leatherworker =…»)
 
 
Строка 1: Строка 1:
 
{{#switch:{{lc:{{{1}}}}}
 
{{#switch:{{lc:{{{1}}}}}
|armorsmith = {{armorsmith}}
+
| armorsmith   | arm = {{armorsmith}}
|artificer = {{artificer}}
+
| artificer     | art = {{artificer}}
|chef = {{chef}}
+
| chef         | c  = {{chef}}
|huntsman = {{huntsman}}
+
| huntsman     | h  = {{huntsman}}
|jeweler = {{jeweler}}
+
| jeweler       | j  = {{jeweler}}
|leatherworker = {{leatherworker}}
+
| leatherworker | l  = {{leatherworker}}
|tailor = {{tailor}}
+
| tailor       | t  = {{tailor}}
|weaponsmith = {{weaponsmith}}
+
| weaponsmith   | w  = {{weaponsmith}}
 +
| scribe        | s  = {{scribe}}
 
}}<noinclude>
 
}}<noinclude>
  
 
== Description ==
 
== Description ==
 
This template is used to generate the icon for the given crafting discipline.
 
This template is used to generate the icon for the given crafting discipline.
 +
It uses [[:category:Discipline icon templates|Discipline icon templates]] which in turn use {{tl|Tango icon sizes}}.
  
 
=== Parameters ===
 
=== Parameters ===
 
; Unnamed parameter 1
 
; Unnamed parameter 1
: Crafting discpline name; case insensitive.
+
: Discipline name or abbreviation; case insensitive.
  
 +
== Example ==
 +
 +
<code><nowiki>{{Discipline|armorsmith}}</nowiki></code> {{Discipline|armorsmith}}
 +
 +
== Standard values ==
 +
{| {{STDT}}
 +
! Parameter !! Icon
 +
|-
 +
| armorsmith<br>arm || {{Discipline|armorsmith}}
 +
|-
 +
| artificer<br>art || {{Discipline|artificer}}
 +
|-
 +
| chef<br>c || {{Discipline|chef}}
 +
|-
 +
| huntsman<br>h || {{Discipline|huntsman}}
 +
|-
 +
| jeweler<br>j || {{Discipline|jeweler}}
 +
|-
 +
| leatherworker<br>l || {{Discipline|leatherworker}}
 +
|-
 +
| tailor<br>t || {{Discipline|tailor}}
 +
|-
 +
| weaponsmith<br>w || {{Discipline|weaponsmith}}
 +
|-
 +
| scribe<br>s || {{Discipline|scribe}}
 +
|}
 
[[Category:Icon templates]]
 
[[Category:Icon templates]]
 
</noinclude>
 
</noinclude>

Текущая версия на 16:46, 3 апреля 2018


Description[править]

This template is used to generate the icon for the given crafting discipline. It uses Discipline icon templates which in turn use {{Tango icon sizes}}.

Parameters[править]

Unnamed parameter 1
Discipline name or abbreviation; case insensitive.

Example[править]

{{Discipline|armorsmith}} Armorsmith tango icon 20px.png

Standard values[править]

Parameter Icon
armorsmith
arm
Armorsmith tango icon 20px.png
artificer
art
Artificer tango icon 20px.png
chef
c
Chef tango icon 20px.png
huntsman
h
Huntsman tango icon 20px.png
jeweler
j
Jeweler tango icon 20px.png
leatherworker
l
Leatherworker tango icon 20px.png
tailor
t
Tailor tango icon 20px.png
weaponsmith
w
Weaponsmith tango icon 20px.png
scribe
s
Scribe tango icon 20px.png