Template:5e Alignment Array: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#if: {{{1|}}}|{{#switch: {{lc:{{{1}}}}} | <includeonly>{{#if: {{{1|}}}|{{#switch: {{lc:{{{1}}}}} | ||
| chaotic = {{SRD5| | | chaotic = {{SRD5|Chaotic|{{#if: {{{2|}}}|chaotic|Chaotic|}}|Alignment}}[[Category:5e Chaotic Monsters]] | ||
| chaotic evil = {{SRD5| | | chaotic evil = {{SRD5|Chaotic Evil|{{#if: {{{2|}}}|chaotic evil|Chaotic Evil|}}|Alignment}}[[Category:5e Chaotic Evil Monsters]] | ||
| chaotic good = {{SRD5| | | chaotic good = {{SRD5|Chaotic Good|{{#if: {{{2|}}}|chaotic good|Chaotic Good|}}|Alignment}}[[Category:5e Chaotic Good Monsters]] | ||
| chaotic neutral = {{SRD5| | | chaotic neutral = {{SRD5|Chaotic Neutral|{{#if: {{{2|}}}|chaotic neutral|Chaotic Neutral|}}|Alignment}}[[Category:5e Chaotic Neutral Monsters]] | ||
| evil = {{SRD5| | | evil = {{SRD5|Evil|{{#if: {{{2|}}}|evil|Evil|}}|Alignment}}[[Category:5e Evil Monsters]] | ||
| good = {{SRD5| | | good = {{SRD5|Good|{{#if: {{{2|}}}|good|Good|}}|Alignment}}[[Category:5e Good Monsters]] | ||
| lawful = {{SRD5| | | lawful = {{SRD5|Lawful|{{#if: {{{2|}}}|lawful|Lawful|}}|Alignment}}[[Category:5e Lawful Monsters]] | ||
| lawful evil = {{SRD5| | | lawful evil = {{SRD5|Lawful Evil|{{#if: {{{2|}}}|lawful evil|Lawful Evil|}}|Alignment}}[[Category:5e Lawful Evil Monsters]] | ||
| lawful good = {{SRD5| | | lawful good = {{SRD5|Lawful Good|{{#if: {{{2|}}}|lawful good|Lawful Good|}}|Alignment}}[[Category:5e Lawful Good Monsters]] | ||
| lawful neutral = {{SRD5| | | lawful neutral = {{SRD5|Lawful Neutral|{{#if: {{{2|}}}|lawful neutral|Lawful Neutral|}}|Alignment}}[[Category:5e Lawful Neutral Monsters]] | ||
| neutral = {{SRD5| | | neutral = {{SRD5|Neutral|{{#if: {{{2|}}}|neutral|Neutral|}}|Alignment}}[[Category:5e Neutral Monsters]] | ||
| neutral good = {{SRD5| | | neutral good = {{SRD5|Neutral Good|{{#if: {{{2|}}}|neutral good|Neutral Good|}}|Alignment}}[[Category:5e Neutral Good Monsters]] | ||
| neutral evil = {{SRD5| | | neutral evil = {{SRD5|Neutral Evil|{{#if: {{{2|}}}|neutral evil|Neutral Evil|}}|Alignment}}[[Category:5e Neutral Evil Monsters]] | ||
| unaligned = {{SRD5| | | unaligned = {{SRD5|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}}}|Alignment}}]]<!--default result--> | ||
}} |<span style="text-color:red;">!!Alignment Missing!!</span>}}</includeonly><noinclude> | }} |<span style="text-color:red;">!!Alignment Missing!!</span>}}</includeonly><noinclude> | ||
Revision as of 18:56, 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