📖 This is a live mirror of the <a href="https://www.theamazonbasin.com/wiki/">Basin Wiki</a> (theamazonbasin.com), hosted to keep the content available if the original ever goes offline. All content belongs to the original Basin Wiki authors — please visit and support the <a href="https://www.theamazonbasin.com/">original site</a>.

Template:Profession

From Basin Wiki (D2 mirror)
Revision as of 18:37, 13 January 2012 by imported>Hazze
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

{{ #switch: | warrior | w = {{ #if: | W | Warrior }} | ranger | r = {{ #if: | R | Ranger }} | monk | mo = {{ #if: | Mo | Monk }} | necromancer | n = {{ #if: | N | Necromancer }} | mesmer | me = {{ #if: | Me | Mesmer }} | elementalist | e = {{ #if: | E | Elementalist }} | assassin | a = {{ #if: | A | Assassin }} | ritualist | rt = {{ #if: | Rt | Ritualist }} | paragon | p = {{ #if: | P | Paragon }} | dervish | d = {{ #if: | D | Dervish }} | #default = Any }}

Description

This template is used to get the profession name or its abbreviation from the given profession. This template returns Any or the given parameter if no valid profession name is given.

Parameters

parameter 1
Profession name or profession abbreviation; case insensitive.
parameter 2
Optional. Set this to any value, to display the profession's abbreviation.
parameter 3
Optional. Set this to a default return value. (Default: Any)