Template:AlignmentNum: Difference between revisions

Jump to navigation Jump to search
(Created page with "<includeonly>{{#switch:{{lc:{{{1}}}}} |light = 1 |law = 1 |neutral = 2 |dark = 3 |chaos = 3 }}</includeonly><noinclude> {{Documentation}} Category:Text Formatting Templates </noinclude>")
 
No edit summary
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>{{#switch:{{lc:{{{1}}}}}
<includeonly>{{#switch:{{lc:{{{1}}}}}
|light = 1
|ex. law = 0
|law = 1
|light|law|good = 1
|neutral = 2
|neutral = 2
|dark = 3
|dark|chaos|evil = 3
|chaos = 3
|ex. chaos = 4
|light-law = 11
|light-neutral = 12
|light-chaos = 13
|neutral-law = 21
|neutral-neutral = 22
|neutral-chaos = 23
|dark-law = 31
|dark-neutral = 32
|dark-chaos = 33
}}</includeonly><noinclude>
}}</includeonly><noinclude>
{{Documentation}}
{{Documentation}}
[[Category:Text Formatting Templates]]
[[Category:Text Formatting Templates]]
</noinclude>
</noinclude>

Latest revision as of 19:45, 25 September 2024

Purpose

Converts alignments to numbers from 1-3, to be used as part of Template:Demon List.

Usage

The values assigned are as follows: Light and Law output a value of 1, Neutral outputs a value of 2, and Dark and Chaos output a value of 3. Input phrases are not case sensitive.

{{AlignmentNum|Neutral}}