Template:5e Monster List Row 2: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 31: Line 31:
{{!}}valign="top"{{!}}{{{Challenge Rating|}}} {{#if: {{{Experience Points|}}}|({{{Experience Points}}}xp)|}}
{{!}}valign="top"{{!}}{{{Challenge Rating|}}} {{#if: {{{Experience Points|}}}|({{{Experience Points}}}xp)|}}
{{!}}valign="top"{{!}}{{#ifeq: {{{Canon|}}}|1|Canon|Noncanon|}}{{#ifeq: {{{Pointer|}}}|1|, Pointer|}}{{#ifeq: {{{UA}}}|1|, UA|}}{{#ifeq: {{{User|}}}|1|, User Creation|}}
{{!}}valign="top"{{!}}{{#ifeq: {{{Canon|}}}|1|Canon|Noncanon|}}{{#ifeq: {{{Pointer|}}}|1|, Pointer|}}{{#ifeq: {{{UA}}}|1|, UA|}}{{#ifeq: {{{User|}}}|1|, User Creation|}}
{{!}}valign="top"{{!}}{{#arraymap: {{{1|}}}|,|xSource|{{#ifeq: {{{User|}}}1|xSource|{{pubSub|xSource}}|, }}
{{!}}valign="top"{{!}}{{#arraymap: {{{1|}}}|,|xSource|{{#ifeq: {{{User|}}}1|xSource|{{pubSub|xSource}}|}}|, }}
{{!}}-<!--{{#if: {{{Monster Features|}}}|<nowiki></nowiki>
{{!}}-<!--{{#if: {{{Monster Features|}}}|<nowiki></nowiki>
{{!}}valign="top" colspan="8" style="background:HoneyDew;"{{!}}''Features:'' {{{Monster Features}}}  
{{!}}valign="top" colspan="8" style="background:HoneyDew;"{{!}}''Features:'' {{{Monster Features}}}  

Revision as of 07:25, 9 February 2023


Syntax

{{5e Monster List Row 2
|_pageName=
|Monster Name=
|Monster Size=
|Type=
|Monster Tags=
|Monster Alignment=
|Hit Points=
|Hit Dice=
|Challenge Rating=
|Experience Points=
|Monster Features=
|Canon=
|Pointer=
|UA=
|User=
|Sources=
|Individual=
}}

Add'l Parameters

|showfeatures=<!--blank, true to show-->

Example

<pre>{{5e Monster List Row 2
|_pageName=5e:Foo
|Monster Name=Foo
|Monster Size=Medium
|Type=Dragon
|Monster Tags=Foo Dragon, Shapechanger
|Monster Alignment=Neutral
|Hit Points=115
|Hit Dice=15d10
|Challenge Rating=13
|Experience Points=13,000
|Monster Features=Fooishness, Barism, Xi Power
|Canon=
|Pointer=
|UA=
|User=1
|Sources=[[user:Foo]]
|Individual=
}}
|}

produces:


|valign="top"|Foo |valign="top"|Medium |valign="top"|Dragon |valign="top"|Foo Dragon, Shapechanger |valign="top"|Neutral |valign="top"|115 (15d10) |valign="top"|13 (13,000xp) |valign="top"|Noncanon, User Creation |valign="top"| |- |}