Difference between revisions of "Template:3.5e Class Alignments"

From Dungeons and Dragons Wiki
Jump to: navigation, search
m (chaotic, lawful, nonchaotic, nonlawful)
m (all added to the switch.)
Line 30: Line 30:
 
|nonlawful={{#set:Allowed Alignments=Chaotic Evil}}{{#set:Allowed Alignments=Chaotic Neutral}}{{#set:Allowed Alignments=Chaotic Good}}{{#set:Allowed Alignments=Neutral Good}}{{#set:Allowed Alignments=Neutral}}{{#set:Allowed Alignments=Neutral Evil}}
 
|nonlawful={{#set:Allowed Alignments=Chaotic Evil}}{{#set:Allowed Alignments=Chaotic Neutral}}{{#set:Allowed Alignments=Chaotic Good}}{{#set:Allowed Alignments=Neutral Good}}{{#set:Allowed Alignments=Neutral}}{{#set:Allowed Alignments=Neutral Evil}}
 
|nonchaotic={{#set:Allowed Alignments=Lawful Good}}{{#set:Allowed Alignments=Lawful Neutral}}{{#set:Allowed Alignments=Lawful Evil}}{{#set:Allowed Alignments=Neutral Good}}{{#set:Allowed Alignments=Neutral}}{{#set:Allowed Alignments=Neutral Evil}}
 
|nonchaotic={{#set:Allowed Alignments=Lawful Good}}{{#set:Allowed Alignments=Lawful Neutral}}{{#set:Allowed Alignments=Lawful Evil}}{{#set:Allowed Alignments=Neutral Good}}{{#set:Allowed Alignments=Neutral}}{{#set:Allowed Alignments=Neutral Evil}}
 +
|all
 
|any={{#set:Allowed Alignments=Lawful Good}}{{#set:Allowed Alignments=Neutral Good}}{{#set:Allowed Alignments=Chaotic Good}}{{#set:Allowed Alignments=Lawful Neutral}}{{#set:Allowed Alignments=Neutral}}{{#set:Allowed Alignments=Chaotic Neutral}}{{#set:Allowed Alignments=Lawful Evil}}{{#set:Allowed Alignments=Neutral Evil}}{{#set:Allowed Alignments=Chaotic Evil}}{{#set:Allowed Alignments=Lawful Neutral}}
 
|any={{#set:Allowed Alignments=Lawful Good}}{{#set:Allowed Alignments=Neutral Good}}{{#set:Allowed Alignments=Chaotic Good}}{{#set:Allowed Alignments=Lawful Neutral}}{{#set:Allowed Alignments=Neutral}}{{#set:Allowed Alignments=Chaotic Neutral}}{{#set:Allowed Alignments=Lawful Evil}}{{#set:Allowed Alignments=Neutral Evil}}{{#set:Allowed Alignments=Chaotic Evil}}{{#set:Allowed Alignments=Lawful Neutral}}
 
}}|}}</includeonly><noinclude>{{Documentation}}</noinclude>
 
}}|}}</includeonly><noinclude>{{Documentation}}</noinclude>

Revision as of 02:58, 20 July 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.