Template:5e Alignment Array: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
(added varied)
mNo edit summary
Line 14: Line 14:
  | neutral evil = {{SRD5|Neutral Evil|{{#if: {{{2|}}}|neutral evil|Neutral Evil|}}|Alignment}}[[Category:5e Neutral Evil Monsters]]
  | neutral evil = {{SRD5|Neutral Evil|{{#if: {{{2|}}}|neutral evil|Neutral Evil|}}|Alignment}}[[Category:5e Neutral Evil Monsters]]
  | unaligned = {{SRD5|Unaligned|{{#if: {{{2|}}}|unaligned|Unaligned|}}|Alignment}}[[Category:5e Unaligned Monsters]]
  | unaligned = {{SRD5|Unaligned|{{#if: {{{2|}}}|unaligned|Unaligned|}}|Alignment}}[[Category:5e Unaligned Monsters]]
  | varied = Varied[[Category:5e Varied Alignment Monsters]]
  | varied = varied alignment[[Category:5e Varied Alignment Monsters]]
  | [[SRD5:Alignment|{{#if: {{{2|}}}|{{lc:{{{1}}}}}|{{{1}}}|Alignment}}]]<!--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 15:49, 11 May 2020


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