Difference between revisions of "Template:Profession"

From Basin Wiki
Jump to navigation Jump to search
(Created page with "{{ #switch: {{ lc: {{{1|}}} }} | warrior | w = {{ #if: {{{2|}}} | W | Warrior }} | ranger | r = {{ #if: {{{2|}}} | R | Ranger }} | monk | mo = {{ #if: {...")
 
 
Line 24: Line 24:
 
: Optional. Set this to a default return value. (Default: ''Any'')
 
: Optional. Set this to a default return value. (Default: ''Any'')
  
[[Category:Utility templates|Profession]]
+
 
 
</noinclude>
 
</noinclude>

Latest revision as of 12:37, 13 January 2012

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)