Template:5e PA Creature List Row: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 10: | Line 10: | ||
9 5e_PA_Creature.Challenge Rating | 9 5e_PA_Creature.Challenge Rating | ||
10 5e_PA_Creature.Experience Points | 10 5e_PA_Creature.Experience Points | ||
11 5e_PA_Creature. | 11 5e_PA_Creature.Features | ||
12 Pages_Info.Canon | 12 Pages_Info.Canon | ||
13 Pages_Info.Pointer | 13 Pages_Info.Pointer | ||
Line 23: | Line 23: | ||
| Template = style="background:lavender;" | | Template = style="background:lavender;" | ||
| #default = <!--skip--> | | #default = <!--skip--> | ||
}}valign="top"{{#if: {{{ | }}valign="top"{{#if: {{{Features|}}}|rowspan="2"|}}{{!}}[[{{{_pageName}}}|{{#if: {{{Name|}}}|{{{Name}}}|{{{_pageName}}}}}]] {{#ifeq: {{{Individual|}}}|1|({{5ep|Individual}})|}} | ||
{{!}}valign="top"{{!}}{{{Size|}}} | {{!}}valign="top"{{!}}{{{Size|}}} | ||
{{!}}valign="top"{{!}}{{{Type|}}} | {{!}}valign="top"{{!}}{{{Type|}}} | ||
Line 32: | Line 32: | ||
{{!}}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"{{!}}{{#if: {{{Sources|}}}|{{#arraymap: {{{Sources|}}}|,|xSource|{{#ifeq: {{{User|}}}|1|xSource|{{pub|xSource}}|}}|, }}|}} | {{!}}valign="top"{{!}}{{#if: {{{Sources|}}}|{{#arraymap: {{{Sources|}}}|,|xSource|{{#ifeq: {{{User|}}}|1|xSource|{{pub|xSource}}|}}|, }}|}} | ||
{{!}}- | {{!}}- | ||
{{!}}valign="top" colspan="8" style="background:HoneyDew;"{{!}}''Features:'' {{{ | {{#if: {{{Features|}}}|<nowiki></nowiki> | ||
{{!}}-}} | {{!}}valign="top" colspan="8" style="background:HoneyDew;"{{!}}''Features:'' {{{Features}}} | ||
{{!}}- | |||
}}{{#switch: {{{Type}}} | |||
| Overview = {{!}}- {{!}} style="background:lavender;" colspan="9"{{!}} | | Overview = {{!}}- {{!}} style="background:lavender;" colspan="9"{{!}} | ||
| Template = {{!}}- {{!}} style="background:lavender;" colspan="9"{{!}} | | Template = {{!}}- {{!}} style="background:lavender;" colspan="9"{{!}} | ||
Line 78: | Line 80: | ||
|Challenge Rating=13 | |Challenge Rating=13 | ||
|Experience Points=13,000 | |Experience Points=13,000 | ||
|Features=Fooishness, Barism, Xi Power | |Features=<!--Fooishness, Barism, Xi Power--> | ||
|Canon= | |Canon= | ||
|Pointer= | |Pointer= | ||
Line 101: | Line 103: | ||
|Challenge Rating=13 | |Challenge Rating=13 | ||
|Experience Points=13,000 | |Experience Points=13,000 | ||
|Features=Fooishness, Barism, Xi Power | |Features=<!--Fooishness, Barism, Xi Power--> | ||
|Canon= | |Canon= | ||
|Pointer= | |Pointer= |
Revision as of 07:17, 21 September 2023
Syntax
{{5e PA Creature List Row |_pageName= |Name= |Size= |Type= |Tags= |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 PA Creature List Row |_pageName=5e:Phoenix Ash/Foo |Name=Foo |Size=Medium |Type=Beast |Tags=Bar, Stable |Alignment=Neutral |Hit Points=115 |Hit Dice=15d10 |Challenge Rating=13 |Experience Points=13,000 |Features=<!--Fooishness, Barism, Xi Power--> |Canon= |Pointer= |UA= |User=1 |Sources=[[user:Foo]] |Individual= }} |}
produces:
|valign="top"|Foo |valign="top"|Medium |valign="top"|Beast |valign="top"|Bar, Stable |valign="top"|Neutral |valign="top"|115 (15d10) |valign="top"|13 (13,000xp) |valign="top"|Noncanon, User Creation |valign="top"|user:Foo |-
|}