Template:5e PA Creature List Row: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Tag: Manual revert
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude><!--
<noinclude><!--
1 5e_PA_Creature._pageName
5e_PA_Creature._pageName
2 5e_PA_Creature.Name
5e_PA_Creature.Name
3 5e_PA_Creature.Size
5e_PA_Creature.Size
4 5e_PA_Creature.Type
5e_PA_Creature.Type
5 5e_PA_Creature.Tags
5e_PA_Creature.Tags
6 5e_PA_Creature.Alignment
5e_PA_Creature.Physical_Gestalt
5e_PA_Creature.Mental_Gestalt
7 5e_PA_Creature.Hit Points
7 5e_PA_Creature.Hit Points
8 5e_PA_Creature.Hit Dice
8 5e_PA_Creature.Hit Dice
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.Monster Features
11 5e_PA_Creature.Features
12 Pages_Info.Canon
12 Pages_Info.Canon
13 Pages_Info.Pointer
13 Pages_Info.Pointer
Line 23: Line 24:
  | Template = style="background:lavender;"   
  | Template = style="background:lavender;"   
  | #default = <!--skip-->
  | #default = <!--skip-->
}}valign="top"{{#if: {{{11|}}}|<!--rowspan="2" -->|}}{{!}}[[{{{_pageName}}}|{{#if: {{{Name|}}}|{{{Name}}}|{{{_pageName}}}}}]] {{#ifeq: {{{Individual|}}}|1|({{5ep|Individual}})|}}
}}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|}}}
{{!}}valign="top"{{!}}{{{Tags|}}}<!--array-->
{{!}}valign="top"{{!}}{{{Tags|}}}<!--array-->
{{!}}valign="top"{{!}}{{{Alignment|}}}
{{!}}valign="top"{{!}}{{{Physical Gestalt|}}}
{{!}}valign="top"{{!}}{{{Mental Gestalt|}}}
{{!}}valign="top"{{!}}{{{Hit Points|}}} {{#if: {{{Hit Dice|}}}|({{{Hit Dice}}})|}}
{{!}}valign="top"{{!}}{{{Hit Points|}}} {{#if: {{{Hit Dice|}}}|({{{Hit Dice}}})|}}
{{!}}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"{{!}}{{#if: {{{Sources|}}}|{{#arraymap: {{{Sources|}}}|,|xSource|{{#ifeq: {{{User|}}}|1|xSource|{{pub|xSource}}|}}|,&ensp;}}|}}
{{!}}valign="top"{{!}}{{#if: {{{Sources|}}}|{{#arraymap: {{{Sources|}}}|,|xSource|{{#ifeq: {{{User|}}}|1|xSource|{{pub|xSource}}|}}|,&ensp;}}|}}
{{!}}-<!--{{#if: {{{Features|}}}|<nowiki></nowiki>
{{!}}-
{{!}}valign="top" colspan="8" style="background:HoneyDew;"{{!}}''Features:'' {{{Monster Features}}}  
{{#if: {{{Features|}}}|<nowiki></nowiki>
{{!}}-}}-->{{#switch: {{{Type}}}
{{!}}valign="top" colspan="8" style="background:HoneyDew;"{{!}}''Features:'' {{{Features}}}  
{{!}}-
}}{{#switch: {{{Type}}}
  | Overview = {{!}}- {{!}} style="background:lavender;" colspan="9"{{!}}&nbsp;
  | Overview = {{!}}- {{!}} style="background:lavender;" colspan="9"{{!}}&nbsp;
  | Template = {{!}}- {{!}} style="background:lavender;" colspan="9"{{!}}&nbsp;   
  | Template = {{!}}- {{!}} style="background:lavender;" colspan="9"{{!}}&nbsp;   
Line 46: Line 50:
|Type=
|Type=
|Tags=
|Tags=
|Alignment=
|Physical Gestalt=
|Mental Gestalt=
|Hit Points=
|Hit Points=
|Hit Dice=
|Hit Dice=
Line 73: Line 78:
|Type=Beast
|Type=Beast
|Tags=Bar, Stable
|Tags=Bar, Stable
|Alignment=Neutral
|Physical Gestalt=12
|Mental Gestalt=13
|Hit Points=115
|Hit Points=115
|Hit Dice=15d10
|Hit Dice=15d10
|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 96: Line 102:
|Type=Beast
|Type=Beast
|Tags=Bar, Stable
|Tags=Bar, Stable
|Alignment=Neutral
|Physical Gestalt=12
|Mental Gestalt=13
|Hit Points=115
|Hit Points=115
|Hit Dice=15d10
|Hit Dice=15d10
|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=

Latest revision as of 04:49, 25 October 2023


Syntax

{{5e PA Creature List Row 
|_pageName=
|Name=
|Size=
|Type=
|Tags=
|Physical Gestalt=
|Mental Gestalt=
|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
|Physical Gestalt=12
|Mental Gestalt=13
|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"|12 |valign="top"|13 |valign="top"|115 (15d10) |valign="top"|13 (13,000xp) |valign="top"|Noncanon, User Creation |valign="top"|user:Foo |-

|}