Template:5e Alignment Array: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<includeonly>{{#if: {{{1|}}}|{{#switch: {{lc:{{{1}}}}} | chaotic = {{SRD5|Alignment#Chaotic|{{#if: {{{2|}}}|chaotic|Chaotic|}}|Alignment}}Category:5e Chaotic Monsters |...") |
No edit summary |
||
Line 12: | Line 12: | ||
| neutral = {{SRD5|Alignment#Neutral|{{#if: {{{2|}}}|neutral|Neutral|}}|Alignment}}[[Category:5e Neutral Monsters]] | | neutral = {{SRD5|Alignment#Neutral|{{#if: {{{2|}}}|neutral|Neutral|}}|Alignment}}[[Category:5e Neutral Monsters]] | ||
| neutral good = {{SRD5|Alignment#Neutral Good|{{#if: {{{2|}}}|neutral good|Neutral Good|}}|Alignment}}[[Category:5e Neutral Good Monsters]] | | neutral good = {{SRD5|Alignment#Neutral Good|{{#if: {{{2|}}}|neutral good|Neutral Good|}}|Alignment}}[[Category:5e Neutral Good Monsters]] | ||
| neutral evil = {{SRD5|Alignment#Neutral Evil|{{#if: {{{2|}}}|neutral evil|Neutral Evil|}}|Alignment}}[[Category:5e Neutral Evil Monsters]] | |||
| unaligned = {{SRD5|Alignment#Unaligned|{{#if: {{{2|}}}|unaligned|Unaligned|}}|Alignment}}[[Category:5e Unaligned Monsters]] | | unaligned = {{SRD5|Alignment#Unaligned|{{#if: {{{2|}}}|unaligned|Unaligned|}}|Alignment}}[[Category:5e Unaligned Monsters]] | ||
| [[SRD5:Alignment|{{#if: {{{2|}}}|{{lc:{{{1}}}}}|{{{1}}}|}}]]<!--default result--> | | [[SRD5:Alignment|{{#if: {{{2|}}}|{{lc:{{{1}}}}}|{{{1}}}|}}]]<!--default result--> |
Revision as of 18:33, 12 December 2019
Use
For automated links to 5th edition alignments
Returns
Link to matching alignment and Alignment property.
Syntax
{{5e Alignment Array|alignmentType|optLowerCase}}
Examples
{{5e Alignment Array|Foo}} -> Foo
{{5e Alignment Array|Lawful Good}} -> Lawful Good
{{5e Alignment Array|Evil|y}} -> evil