Difference between revisions of "Template:3.5e Class Alignments"
From Dungeons and Dragons Wiki
m (all added to the switch.) |
Tarkisflux (talk | contribs) m (replacing #set) |
||
Line 1: | Line 1: | ||
<includeonly>{{#arraymap: {{{1|all}}} |, |x|{{#switch: {{#lc:x}} | <includeonly>{{#arraymap: {{{1|all}}} |, |x|{{#switch: {{#lc:x}} | ||
|lg | |lg | ||
− | |lawful good= | + | |lawful good=[[Allowed Alignments::Lawful Good| ]] |
|ng | |ng | ||
− | |neutral good= | + | |neutral good=[[Allowed Alignments::Neutral Good| ]] |
|cg | |cg | ||
− | |chaotic good= | + | |chaotic good=[[Allowed Alignments::Chaotic Good| ]] |
|ln | |ln | ||
− | |lawful neutral= | + | |lawful neutral=[[Allowed Alignments::Lawful Neutral| ]] |
|n | |n | ||
− | |neutral= | + | |neutral=[[Allowed Alignments::Neutral| ]] |
|cn | |cn | ||
− | |chaotic neural= | + | |chaotic neural=[[Allowed Alignments::Chaotic Neutral| ]] |
|le | |le | ||
− | |lawful evil= | + | |lawful evil=[[Allowed Alignments::Lawful Evil| ]] |
|ne | |ne | ||
− | |neutral evil= | + | |neutral evil=[[Allowed Alignments::Neutral Evil| ]] |
|ce | |ce | ||
− | |chaotic evil= | + | |chaotic evil=[[Allowed Alignments::Chaotic Evil| ]] |
|e | |e | ||
− | |evil= | + | |evil=[[Allowed Alignments::Lawful Evil| ]][[Allowed Alignments::Neutral Evil| ]][[Allowed Alignments::Chaotic Evil| ]] |
|g | |g | ||
− | |good= | + | |good=[[Allowed Alignments::Lawful Good| ]][[Allowed Alignments::Neutral Good| ]][[Allowed Alignments::Chaotic Good| ]] |
|l | |l | ||
− | |lawful= | + | |lawful=[[Allowed Alignments::Lawful Good| ]][[Allowed Alignments::Lawful Neutral| ]][[Allowed Alignments::Lawful Evil| ]] |
|c | |c | ||
− | |chaotic= | + | |chaotic=[[Allowed Alignments::Chaotic Evil| ]][[Allowed Alignments::Chaotic Neutral| ]][[Allowed Alignments::Chaotic Good| ]] |
− | |nonevil= | + | |nonevil=[[Allowed Alignments::Lawful Good| ]][[Allowed Alignments::Neutral Good| ]][[Allowed Alignments::Chaotic Good| ]][[Allowed Alignments::Lawful Neutral| ]][[Allowed Alignments::Neutral| ]][[Allowed Alignments::Chaotic Neutral| ]] |
− | |nongood= | + | |nongood=[[Allowed Alignments::Lawful Evil| ]][[Allowed Alignments::Neutral Evil| ]][[Allowed Alignments::Chaotic Evil| ]][[Allowed Alignments::Lawful Neutral| ]][[Allowed Alignments::Neutral| ]][[Allowed Alignments::Chaotic Neutral| ]] |
− | |nonlawful= | + | |nonlawful=[[Allowed Alignments::Chaotic Evil| ]][[Allowed Alignments::Chaotic Neutral| ]][[Allowed Alignments::Chaotic Good| ]][[Allowed Alignments::Neutral Good| ]][[Allowed Alignments::Neutral| ]][[Allowed Alignments::Neutral Evil| ]] |
− | |nonchaotic= | + | |nonchaotic=[[Allowed Alignments::Lawful Good| ]][[Allowed Alignments::Lawful Neutral| ]][[Allowed Alignments::Lawful Evil| ]][[Allowed Alignments::Neutral Good| ]][[Allowed Alignments::Neutral| ]][[Allowed Alignments::Neutral Evil| ]] |
|all | |all | ||
− | |any= | + | |any=[[Allowed Alignments::Lawful Good| ]][[Allowed Alignments::Neutral Good| ]][[Allowed Alignments::Chaotic Good| ]][[Allowed Alignments::Lawful Neutral| ]][[Allowed Alignments::Neutral| ]][[Allowed Alignments::Chaotic Neutral| ]][[Allowed Alignments::Lawful Evil| ]][[Allowed Alignments::Neutral Evil| ]][[Allowed Alignments::Chaotic Evil| ]][[Allowed Alignments::Lawful Neutral| ]] |
}}|}}</includeonly><noinclude>{{Documentation}}</noinclude> | }}|}}</includeonly><noinclude>{{Documentation}}</noinclude> |
Latest revision as of 00:36, 11 August 2012
Template documentation (for the above template, sometimes hidden or invisible)
A giant switch statement for setting the allowed alignments property. The allowed values are as follows.
- Two letter or full name of alignment. i.e. lg or lawful good
- e, evil, g, good, c, chaotic, l, lawful
- nonevil, plus variants for good, chaotic, and lawful
- all, any. This is the default case if you leave the parameter off.
Visit Template:3.5e Class Alignments/doc to edit this text! (How does this work?)