Template:One Alignment Array

From Rlyehwiki
Revision as of 13:46, 27 February 2023 by Rlyehable (talk | contribs) (Created page with "<includeonly>{{#if: {{{1|}}}|{{#switch: {{lc:{{{1}}}}} | chaotic = {{#if: {{{3|}}}|Typically |}}{{One|Chaotic|{{#if: {{{2|}}}|chaotic|}}}}{{#if: {{{nocat|}}}|<!--skip-->|Category:One Chaotic Creatures}} | chaotic evil = {{#if: {{{3|}}}|Typically |}}{{One|Chaotic Evil|{{#if: {{{2|}}}|chaotic evil|}}}}{{#if: {{{nocat|}}}|<!--skip-->|Category:One Chaotic Evil Creatures}} | chaotic good = {{#if: {{{3|}}}|Typically |}}{{One|Chaotic Good|{{#if: {{{2|}...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Use[edit]

For automated links to One D&D alignments

Returns[edit]

Link to matching alignment and Alignment property.

Syntax[edit]

{{One Alignment Array|alignmentType|isLowerCase|isTypical}}

Add'l Entry[edit]

|nocat= <!--blank, true to skip categories-->

Examples[edit]

{{One Alignment Array|Foo}} → Foo

{{One Alignment Array|Lawful Good}} → Lawful Good

{{One Alignment Array|Evil|y}} → evil

{{One Alignment Array|Chaotic Evil||y}} → Typically Chaotic Evil

{{One Alignment Array|Neutral|y|nocat=true}} → neutral