Template:5e24 Alignment Array: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
(Created page with "<includeonly>{{#if: {{{1|}}}|{{#switch: {{lc:{{{1}}}}} | chaotic = {{#if: {{{3|}}}|Typically |}}{{5e24|Chaotic|{{#if: {{{2|}}}|chaotic|}}}}{{#if: {{{nocat|}}}|<!--skip-->|Category:5e Chaotic Monsters}} | chaotic evil = {{#if: {{{3|}}}|Typically |}}{{5e24|Chaotic Evil|{{#if: {{{2|}}}|chaotic evil|}}}}{{#if: {{{nocat|}}}|<!--skip-->|Category:5e Chaotic Evil Monsters}} | chaotic good = {{#if: {{{3|}}}|Typically |}}{{5e24|Chaotic Good|{{#if: {{{2|}}...")
 
mNo edit summary
 
Line 42: Line 42:
<nowiki>{{5e24 Alignment Array|Neutral|y|nocat=true}}</nowiki> &rarr; {{5e24 Alignment Array|Neutral|y|nocat=true}}
<nowiki>{{5e24 Alignment Array|Neutral|y|nocat=true}}</nowiki> &rarr; {{5e24 Alignment Array|Neutral|y|nocat=true}}
   
   
[[Category:5e Templates]]
[[Category:5e Templates]][[Category:5e24 Templates]]
</noinclude>
</noinclude>

Latest revision as of 20:13, 4 September 2024

Use

For automated links to 5th edition alignments

Returns

Link to matching alignment and Alignment property.

Syntax

{{5e24 Alignment Array|alignmentType|isLowerCase|isTypical}}

Add'l Entry

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

Examples

{{5e24 Alignment Array|Foo}} → Foo

{{5e24 Alignment Array|Lawful Good}} → Lawful Good

{{5e24 Alignment Array|Evil|y}} → evil

{{5e24 Alignment Array|Chaotic Evil||y}} → Typically Chaotic Evil

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