Difference between revisions of "Template:5e Alignment Array"

From Dungeons and Dragons Wiki
Jump to: navigation, search
(nodb option)
m
 
Line 30: Line 30:
 
  | 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]]
 +
| any alignment = {{SRD5|Any Alignment|{{#if: {{{2|}}}|any alignment|Any Alignment|}}|Alignment}}[[Category:5e Unaligned 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>

Latest revision as of 15:25, 18 April 2024


Use[edit]

For automated links to 5th edition alignments

Returns[edit]

Link to matching alignment, Alignment property, Monster alignment category.

Syntax[edit]

{{5e Alignment Array|alignmentType|optLowerCase}}

Add'l Entries[edit]

|nodb= <!--blank, true to skip properties and categories-->

Examples[edit]

{{5e Alignment Array|Foo}} -> Foo

{{5e Alignment Array|Lawful Good}} -> Lawful Good

{{5e Alignment Array|Evil|y}} -> evil