Шаблон:Profession — различия между версиями
Материал из Guild Wars 2 wiki
Blood (обсуждение | вклад) |
Blood (обсуждение | вклад) |
||
(не показаны 2 промежуточные версии этого же участника) | |||
Строка 1: | Строка 1: | ||
{{ #switch:{{lc:{{{1}}}}} | {{ #switch:{{lc:{{{1}}}}} | ||
| guardian | g = {{guardian}} | | guardian | g = {{guardian}} | ||
− | | revenant | re | + | | revenant | re = {{revenant}} |
| warrior | w = {{warrior}} | | warrior | w = {{warrior}} | ||
+ | | engineer | en = {{engineer}} | ||
| ranger | r = {{ranger}} | | ranger | r = {{ranger}} | ||
+ | | thief | t = {{thief}} | ||
+ | | elementalist | e = {{elementalist}} | ||
+ | | mesmer | m = {{mesmer}} | ||
| necromancer | n = {{necromancer}} | | necromancer | n = {{necromancer}} | ||
− | |||
− | |||
− | |||
− | |||
| dragonhunter | dh = {{dragonhunter}} | | dragonhunter | dh = {{dragonhunter}} | ||
Строка 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}} | ||
+ | |||
+ | | willbender | wb = {{willbender}} | ||
+ | | vindicator | vi = {{vindicator}} | ||
+ | | bladesworn | bs = {{bladesworn}} | ||
+ | | mechanist | me = {{mechanist}} | ||
+ | | untamed | ut = {{untamed}} | ||
+ | | specter | st = {{specter}} | ||
+ | | catalyst | ca = {{catalyst}} | ||
+ | | harbinger | hb = {{harbinger}} | ||
+ | | virtuoso | vr = {{virtuoso}} | ||
+ | |||
| #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|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}} | ||
+ | ! colspan="3" | Profession | ||
+ | ! colspan="3" | Heart of Thorns | ||
+ | ! colspan="3" | Path of Fire | ||
+ | ! colspan="3" | End of Dragons | ||
+ | |- | ||
+ | ! colspan="2" | Parameter | ||
+ | ! rowspan="2" | Icon | ||
+ | ! colspan="2" | Parameter | ||
+ | ! rowspan="2" | Icon | ||
+ | ! colspan="2" | Parameter | ||
+ | ! rowspan="2" | Icon | ||
+ | ! colspan="2" | Parameter | ||
+ | ! rowspan="2" | Icon | ||
+ | |- class="line-bottom" | ||
+ | ! Full | ||
+ | ! <abbr title="Abbreviated">Abbr.</abbr> | ||
+ | ! Full | ||
+ | ! <abbr title="Abbreviated">Abbr.</abbr> | ||
+ | ! Full | ||
+ | ! <abbr title="Abbreviated">Abbr.</abbr> | ||
+ | ! Full | ||
+ | ! <abbr title="Abbreviated">Abbr.</abbr> | ||
+ | |- | ||
+ | | guardian || g || {{profession|guardian}} | ||
+ | | dragonhunter || dh || {{profession|dragonhunter}} | ||
+ | | firebrand || fb || {{profession|firebrand}} | ||
+ | | willbender || wb || {{profession|willbender}} | ||
+ | |- | ||
+ | | revenant || re || {{profession|revenant}} | ||
+ | | herald || h || {{profession|herald}} | ||
+ | | renegade || rn || {{profession|renegade}} | ||
+ | | vindicator || vn || {{profession|vindicator}} | ||
+ | |- | ||
+ | | warrior || w || {{profession|warrior}} | ||
+ | | berserker || b || {{profession|berserker}} | ||
+ | | spellbreaker || sp || {{profession|spellbreaker}} | ||
+ | | bladesworn || bs || {{profession|bladesworn}} | ||
+ | |- | ||
+ | | engineer || en || {{profession|engineer}} | ||
+ | | scrapper || s || {{profession|scrapper}} | ||
+ | | holosmith || hs || {{profession|holosmith}} | ||
+ | | mechanist || me || {{profession|mechanist}} | ||
+ | |- | ||
+ | | ranger || r || {{profession|ranger}} | ||
+ | | druid || d || {{profession|druid}} | ||
+ | | soulbeast || sb || {{profession|soulbeast}} | ||
+ | | untamed || ut || {{profession|untamed}} | ||
+ | |- | ||
+ | | thief || t || {{profession|thief}} | ||
+ | | daredevil || dd || {{profession|daredevil}} | ||
+ | | deadeye || de || {{profession|deadeye}} | ||
+ | | specter || st || {{profession|specter}} | ||
+ | |- | ||
+ | | elementalist || e || {{profession|elementalist}} | ||
+ | | tempest || tp || {{profession|tempest}} | ||
+ | | weaver || we || {{profession|weaver}} | ||
+ | | catalyst || ca || {{profession|catalyst}} | ||
+ | |- | ||
+ | | mesmer || m || {{profession|mesmer}} | ||
+ | | chronomancer || c || {{profession|chronomancer}} | ||
+ | | mirage || mi || {{profession|mirage}} | ||
+ | | virtuoso || vr || {{profession|virtuoso}} | ||
+ | |- | ||
+ | | necromancer || n || {{profession|necromancer}} | ||
+ | | reaper || rp || {{profession|reaper}} | ||
+ | | scourge || sc || {{profession|scourge}} | ||
+ | | 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: | + | [[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.