Шаблон:Profession — различия между версиями
Материал из Guild Wars 2 wiki
Blood (обсуждение | вклад) |
Blood (обсуждение | вклад) |
||
Строка 19: | Строка 19: | ||
| chronomancer | c = {{chronomancer}} | | chronomancer | c = {{chronomancer}} | ||
| reaper | rp = {{reaper}} | | reaper | rp = {{reaper}} | ||
+ | |||
+ | | firebrand | fb = {{Firebrand}} | ||
+ | | renegade | rn = {{Renegade}} | ||
+ | | spellbreaker | sp = {{Spellbreaker}} | ||
+ | | holosmith | hs = {{Holosmith}} | ||
+ | | soulbeast | sb = {{Soulbeast}} | ||
+ | | deadeye | de = {{Deadeye}} | ||
+ | | weaver | we = {{Weaver}} | ||
+ | | mirage | mi = {{Mirage}} | ||
+ | | scourge | sc = {{Scourge}} | ||
| #default = [[File:Any tango icon 20px.png|Common|link=Profession]] | | #default = [[File:Any tango icon 20px.png|Common|link=Profession]] | ||
}}<noinclude> | }}<noinclude> | ||
== Description == | == Description == | ||
− | This template is used to generate the icon for the given profession. | + | This template is used to generate the icon for the given profession. |
+ | It returns ''Any'' or the given parameter if no valid profession name is given. | ||
+ | It is used in {{tl|Skill infobox}} and {{tl|Trait infobox}}. | ||
+ | It uses [[:category:Profession icon templates|Profession icon templates]] which in turn use {{tl|Tango icon sizes}}. | ||
=== Parameters === | === Parameters === | ||
; Unnamed parameter 1 | ; Unnamed parameter 1 | ||
: Profession name or profession abbreviation; case insensitive. | : Profession name or profession abbreviation; case insensitive. | ||
+ | |||
+ | == Example == | ||
+ | <code><nowiki>{{Profession|guardian}}</nowiki></code> {{Profession|guardian}}<br> | ||
+ | <code><nowiki>{{Profession|g}}</nowiki></code> {{Profession|g}} | ||
+ | |||
+ | == Standard Values == | ||
+ | {| {{STDT}} | ||
+ | ! Parameter !! Icon | ||
+ | |- | ||
+ | | guardian<br>g || {{Profession|guardian}} | ||
+ | |- | ||
+ | | revenant<br>re || {{Profession|revenant}} | ||
+ | |- | ||
+ | | warrior<br>w || {{Profession|warrior}} | ||
+ | |- | ||
+ | | ranger<br>r || {{Profession|ranger}} | ||
+ | |- | ||
+ | | necromancer<br>n || {{Profession|necromancer}} | ||
+ | |- | ||
+ | | mesmer<br>m || {{Profession|mesmer}} | ||
+ | |- | ||
+ | | elementalist<br>e || {{Profession|elementalist}} | ||
+ | |- | ||
+ | | engineer<br>en || {{Profession|engineer}} | ||
+ | |- | ||
+ | | thief<br>t || {{Profession|thief}} | ||
+ | |- | ||
+ | | dragonhunter<br>dh || {{Profession|dragonhunter}} | ||
+ | |- | ||
+ | | herald<br>h || {{Profession|herald}} | ||
+ | |- | ||
+ | | berserker<br>b || {{Profession|berserker}} | ||
+ | |- | ||
+ | | druid<br>d || {{Profession|druid}} | ||
+ | |- | ||
+ | | reaper<br>rp || {{Profession|reaper}} | ||
+ | |- | ||
+ | | chronomancer<br>c || {{Profession|chronomancer}} | ||
+ | |- | ||
+ | | tempest<br>tp || {{Profession|tempest}} | ||
+ | |- | ||
+ | | scrapper<br>s || {{Profession|scrapper}} | ||
+ | |- | ||
+ | | daredevil<br>dd || {{Profession|daredevil}} | ||
+ | |- | ||
+ | | firebrand<br>fb || {{Profession|firebrand}} | ||
+ | |- | ||
+ | | renegade<br>rn || {{Profession|renegade}} | ||
+ | |- | ||
+ | | spellbreaker<br>sp || {{Profession|spellbreaker}} | ||
+ | |- | ||
+ | | holosmith<br>hs || {{Profession|holosmith}} | ||
+ | |- | ||
+ | | soulbeast<br>sb || {{Profession|soulbeast}} | ||
+ | |- | ||
+ | | deadeye<br>de || {{Profession|deadeye}} | ||
+ | |- | ||
+ | | weaver<br>we || {{Profession|weaver}} | ||
+ | |- | ||
+ | | mirage<br>mi || {{Profession|mirage}} | ||
+ | |- | ||
+ | | scourge<br>sc || {{Profession|scourge}} | ||
+ | |- | ||
+ | | default || {{Profession|default}} | ||
+ | |} | ||
[[Category:Icon templates]] | [[Category:Icon templates]] | ||
</noinclude> | </noinclude> |
Версия 19:17, 26 ноября 2017
Содержание
Description
This template is used to generate the icon for the given profession. It returns Any or the given parameter if no valid profession name is given. It is used in {{Skill infobox}} and {{Trait infobox}}. It uses Profession icon templates which in turn use {{Tango icon sizes}}.
Parameters
- Unnamed parameter 1
- Profession name or profession abbreviation; case insensitive.
Example
{{Profession|guardian}}
{{Profession|g}}