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:Class enumeration"
(add Demonic Lancer) |
(add Priest(F)) |
||
Line 5: | Line 5: | ||
{{#switch:{{{gender|exclude}}}|include|exclude=@@@}}{{#ifeq:{{{gender|exclude}}}|include|, | {{#switch:{{{gender|exclude}}}|include|exclude=@@@}}{{#ifeq:{{{gender|exclude}}}|include|, | ||
|}}{{#switch:{{{gender|exclude}}}|include|only={{#switch:@@@ | |}}{{#switch:{{{gender|exclude}}}|include|only={{#switch:@@@ | ||
− | |<!-- m only classes --> | + | |<!-- m only classes --> Demonic Lancer | Dark Knight =@@@(M) |
|<!-- f only classes --> Thief | Knight | Creator =@@@(F) | |<!-- f only classes --> Thief | Knight | Creator =@@@(F) | ||
|<!-- both -->#default =@@@(M),@@@(F) | |<!-- both -->#default =@@@(M),@@@(F) |
Revision as of 16:27, 27 June 2017
Contents
Description
This template lists all playable classes for use by other templates.
Usage
{{Class enumeration | gender = | weapon only = }}
Parameters
All parameters are required unless stated otherwise.
- gender
- Set to include to list classes with and without gender suffix, exclude to exclude gender suffix, or only to list classes with gender suffix only. Defaults to exclude.
- weapon only
- Set to anything to only list classes that have weapon categories associated to them.
Examples
{{Class enumeration}}
Slayer,Fighter,Gunner,Mage,Priest,Thief,Knight,Dark Knight,Creator,Demonic Lancer,Agent,Archer
{{Class enumeration | gender = only }}
Slayer(M),Slayer(F),Fighter(M),Fighter(F),Gunner(M),Gunner(F),Mage(M),Mage(F),Priest(M),Priest(F),Thief(F),Knight(F),Dark Knight(M),Creator(F),Demonic Lancer(M),Agent(M),Archer(F)
{{Class enumeration | weapon only = yes }}
Slayer,Fighter,Gunner,Mage,Priest,Thief,Demonic Lancer,Agent,Archer