Шаблон: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 | ||
− | : | + | : 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[править]
Standard values[править]
Parameter | Icon |
---|---|
armorsmith arm |
|
artificer art |
|
chef c |
|
huntsman h |
|
jeweler j |
|
leatherworker l |
|
tailor t |
|
weaponsmith w |
|
scribe s |