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

From Dungeons and Dragons Wiki
Jump to: navigation, search
m (all added to the switch.)
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={{#set:Allowed Alignments=Lawful Good}}
+
|lawful good=[[Allowed Alignments::Lawful Good| ]]
 
|ng
 
|ng
|neutral good={{#set:Allowed Alignments=Neutral Good}}
+
|neutral good=[[Allowed Alignments::Neutral Good| ]]
 
|cg
 
|cg
|chaotic good={{#set:Allowed Alignments=Chaotic Good}}
+
|chaotic good=[[Allowed Alignments::Chaotic Good| ]]
 
|ln
 
|ln
|lawful neutral={{#set:Allowed Alignments=Lawful Neutral}}
+
|lawful neutral=[[Allowed Alignments::Lawful Neutral| ]]
 
|n
 
|n
|neutral={{#set:Allowed Alignments=Neutral}}
+
|neutral=[[Allowed Alignments::Neutral| ]]
 
|cn
 
|cn
|chaotic neural={{#set:Allowed Alignments=Chaotic Neutral}}
+
|chaotic neural=[[Allowed Alignments::Chaotic Neutral| ]]
 
|le
 
|le
|lawful evil={{#set:Allowed Alignments=Lawful Evil}}
+
|lawful evil=[[Allowed Alignments::Lawful Evil| ]]
 
|ne
 
|ne
|neutral evil={{#set:Allowed Alignments=Neutral Evil}}
+
|neutral evil=[[Allowed Alignments::Neutral Evil| ]]
 
|ce
 
|ce
|chaotic evil={{#set:Allowed Alignments=Chaotic Evil}}
+
|chaotic evil=[[Allowed Alignments::Chaotic Evil| ]]
 
|e
 
|e
|evil={{#set:Allowed Alignments=Lawful Evil}}{{#set:Allowed Alignments=Neutral Evil}}{{#set:Allowed Alignments=Chaotic Evil}}
+
|evil=[[Allowed Alignments::Lawful Evil| ]][[Allowed Alignments::Neutral Evil| ]][[Allowed Alignments::Chaotic Evil| ]]
 
|g
 
|g
|good={{#set:Allowed Alignments=Lawful Good}}{{#set:Allowed Alignments=Neutral Good}}{{#set:Allowed Alignments=Chaotic Good}}
+
|good=[[Allowed Alignments::Lawful Good| ]][[Allowed Alignments::Neutral Good| ]][[Allowed Alignments::Chaotic Good| ]]
 
|l
 
|l
|lawful={{#set:Allowed Alignments=Lawful Good}}{{#set:Allowed Alignments=Lawful Neutral}}{{#set:Allowed Alignments=Lawful Evil}}
+
|lawful=[[Allowed Alignments::Lawful Good| ]][[Allowed Alignments::Lawful Neutral| ]][[Allowed Alignments::Lawful Evil| ]]
 
|c
 
|c
|chaotic={{#set:Allowed Alignments=Chaotic Evil}}{{#set:Allowed Alignments=Chaotic Neutral}}{{#set:Allowed Alignments=Chaotic Good}}
+
|chaotic=[[Allowed Alignments::Chaotic Evil| ]][[Allowed Alignments::Chaotic Neutral| ]][[Allowed Alignments::Chaotic Good| ]]
|nonevil={{#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}}
+
|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={{#set:Allowed Alignments=Lawful Evil}}{{#set:Allowed Alignments=Neutral Evil}}{{#set:Allowed Alignments=Chaotic Evil}}{{#set:Allowed Alignments=Lawful Neutral}}{{#set:Allowed Alignments=Neutral}}{{#set:Allowed Alignments=Chaotic Neutral}}
+
|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={{#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=[[Allowed Alignments::Chaotic Evil| ]][[Allowed Alignments::Chaotic Neutral| ]][[Allowed Alignments::Chaotic Good| ]][[Allowed Alignments::Neutral Good| ]][[Allowed Alignments::Neutral| ]][[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=[[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={{#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=[[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.