Welcome to the DFO World Wiki. With many major updates since the release of DFO, many items are missing. Visit Item Database Project to learn more.
Please remember to click "show preview" before saving the page.
Thanks for the updated logo snafuPop!
Difference between revisions of "Template:BaseClass"
m (spaces) |
m (add default case and fix typo) |
||
Line 1: | Line 1: | ||
− | <includeonly>{{#switch:{{lc:{{{1 | + | <includeonly>{{#switch:{{lc:{{{1}}}}} |
|blade master|grand master|sword god | |blade master|grand master|sword god | ||
|soul bender|soul reaper|dark lord | |soul bender|soul reaper|dark lord | ||
Line 37: | Line 37: | ||
|creator={{#ifeq:{{{gender|false}}}|false||}} Creator | |creator={{#ifeq:{{{gender|false}}}|false||}} Creator | ||
|elven knight|peace maker | |elven knight|peace maker | ||
− | | | + | |chaos|demon queen={{#ifeq:{{{gender|false}}}|false||}} Chaos |
+ | |#default={{{1}}} | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
Returns the base class given a class name. If "gender" is true, prepends the gender of the class, if it has a counterpart. | Returns the base class given a class name. If "gender" is true, prepends the gender of the class, if it has a counterpart. |
Revision as of 03:44, 26 May 2015
Returns the base class given a class name. If "gender" is true, prepends the gender of the class, if it has a counterpart. Note that shared names (e.g. Ranger) never have a gender; "Female Ranger" outputs "Female Gunner" and "Male Ranger" "Male Gunner", however.
Examples
{{BaseClass|GenieWiz|gender=true}}
Female Mage
{{BaseClass|Primordial Enlightened}}
Primordial Enlightened