Шаблон:Profession — различия между версиями
Материал из Guild Wars 2 wiki
Blood (обсуждение | вклад) |
Blood (обсуждение | вклад) |
||
Строка 31: | Строка 31: | ||
| willbender | wb = {{willbender}} | | willbender | wb = {{willbender}} | ||
− | + | | vindicator | vi = {{vindicator}} | |
+ | | bladesworn | bs = {{bladesworn}} | ||
+ | | mechanist | me = {{mechanist}} | ||
+ | | untamed | ut = {{untamed}} | ||
+ | | specter | st = {{specter}} | ||
+ | | catalyst | ca = {{catalyst}} | ||
| harbinger | hb = {{harbinger}} | | harbinger | hb = {{harbinger}} | ||
− | | virtuoso | | + | | virtuoso | vr = {{virtuoso}} |
| #default = [[File:Any tango icon 20px.png|Common|link=Profession]] | | #default = [[File:Any tango icon 20px.png|Common|link=Profession]] | ||
Строка 42: | Строка 47: | ||
It returns ''Any'' or the given parameter if no valid profession name is given. | 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 is used in {{tl|Skill infobox}} and {{tl|Trait infobox}}. | ||
− | It uses [[: | + | It uses [[:Category:Profession icon templates|Profession icon templates]] which in turn use {{tl|Profession icon}}, except for the common/some templates which continue to use {{tl|Tango icon sizes}}. |
+ | == Usage == | ||
=== Parameters === | === Parameters === | ||
− | ; | + | ;1 ''(unnamed parameter)'' |
: Profession name or profession abbreviation; case insensitive. | : Profession name or profession abbreviation; case insensitive. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
{| {{STDT}} | {| {{STDT}} | ||
! colspan="3" | Profession | ! colspan="3" | Profession | ||
Строка 67: | Строка 67: | ||
! colspan="2" | Parameter | ! colspan="2" | Parameter | ||
! rowspan="2" | Icon | ! rowspan="2" | Icon | ||
− | |- | + | |- class="line-bottom" |
! Full | ! Full | ||
! <abbr title="Abbreviated">Abbr.</abbr> | ! <abbr title="Abbreviated">Abbr.</abbr> | ||
Строка 85: | Строка 85: | ||
| herald || h || {{profession|herald}} | | herald || h || {{profession|herald}} | ||
| renegade || rn || {{profession|renegade}} | | renegade || rn || {{profession|renegade}} | ||
− | | | + | | vindicator || vn || {{profession|vindicator}} |
|- | |- | ||
| warrior || w || {{profession|warrior}} | | warrior || w || {{profession|warrior}} | ||
| berserker || b || {{profession|berserker}} | | berserker || b || {{profession|berserker}} | ||
| spellbreaker || sp || {{profession|spellbreaker}} | | spellbreaker || sp || {{profession|spellbreaker}} | ||
− | | | + | | bladesworn || bs || {{profession|bladesworn}} |
|- | |- | ||
| engineer || en || {{profession|engineer}} | | engineer || en || {{profession|engineer}} | ||
| scrapper || s || {{profession|scrapper}} | | scrapper || s || {{profession|scrapper}} | ||
| holosmith || hs || {{profession|holosmith}} | | holosmith || hs || {{profession|holosmith}} | ||
− | | | + | | mechanist || me || {{profession|mechanist}} |
|- | |- | ||
| ranger || r || {{profession|ranger}} | | ranger || r || {{profession|ranger}} | ||
| druid || d || {{profession|druid}} | | druid || d || {{profession|druid}} | ||
| soulbeast || sb || {{profession|soulbeast}} | | soulbeast || sb || {{profession|soulbeast}} | ||
− | | | + | | untamed || ut || {{profession|untamed}} |
|- | |- | ||
| thief || t || {{profession|thief}} | | thief || t || {{profession|thief}} | ||
| daredevil || dd || {{profession|daredevil}} | | daredevil || dd || {{profession|daredevil}} | ||
| deadeye || de || {{profession|deadeye}} | | deadeye || de || {{profession|deadeye}} | ||
− | | | + | | specter || st || {{profession|specter}} |
|- | |- | ||
| elementalist || e || {{profession|elementalist}} | | elementalist || e || {{profession|elementalist}} | ||
| tempest || tp || {{profession|tempest}} | | tempest || tp || {{profession|tempest}} | ||
| weaver || we || {{profession|weaver}} | | weaver || we || {{profession|weaver}} | ||
− | | | + | | catalyst || ca || {{profession|catalyst}} |
|- | |- | ||
| mesmer || m || {{profession|mesmer}} | | mesmer || m || {{profession|mesmer}} | ||
| chronomancer || c || {{profession|chronomancer}} | | chronomancer || c || {{profession|chronomancer}} | ||
| mirage || mi || {{profession|mirage}} | | mirage || mi || {{profession|mirage}} | ||
− | | virtuoso || | + | | virtuoso || vr || {{profession|virtuoso}} |
|- | |- | ||
| necromancer || n || {{profession|necromancer}} | | necromancer || n || {{profession|necromancer}} | ||
Строка 122: | Строка 122: | ||
| harbinger || hb || {{profession|harbinger}} | | harbinger || hb || {{profession|harbinger}} | ||
|- | |- | ||
− | + | | ''default'' || || {{profession|default}} || || || || || || || || || | |
|} | |} | ||
+ | |||
+ | === Example === | ||
+ | <code><nowiki>{{Profession|guardian}}</nowiki></code> {{Profession|guardian}}<br> | ||
+ | <code><nowiki>{{Profession|g}}</nowiki></code> {{Profession|g}} | ||
[[Category:Profession icon templates|*]] | [[Category:Profession icon templates|*]] | ||
</noinclude> | </noinclude> |
Текущая версия на 04:53, 2 марта 2022
Содержание
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 {{Profession icon}}, except for the common/some templates which continue to use {{Tango icon sizes}}.
Usage[править]
Parameters[править]
- 1 (unnamed parameter)
- Profession name or profession abbreviation; case insensitive.