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

From Rlyehwiki
Jump to navigation Jump to search
(Created page with "<noinclude><!-- 1 5e_PA_Creature._pageName 2 5e_PA_Creature.Name 3 5e_PA_Creature.Size 4 5e_PA_Creature.Type 5 5e_PA_Creature.Tags 6 5e_PA_Creature.Alignment 7 5e_PA_Creature.Hit Points 8 5e_PA_Creature.Hit Dice 9 5e_PA_Creature.Challenge Rating 10 5e_PA_Creature.Experience Points 11 5e_PA_Creature.Monster Features 12 Pages_Info.Canon 13 Pages_Info.Pointer 14 Pages_Info.UA 15 Pages_Info.User 16 Pages_Info.Sources 17 5e_PA_Creature.Individual --></noinclude> <includeonly>...")
 
No edit summary
Tag: Manual revert
 
(4 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 67: Line 72:
==Example==
==Example==
<pre>
<pre>
<pre>{{5e PA Creature List Row  
<pre>{{5e PA Creature List Row
|_pageName=5e:Foo
|_pageName=5e:Phoenix Ash/Foo
|Name=Foo
|Name=Foo
|Size=Medium
|Size=Medium
|Type=Dragon
|Type=Beast
|Tags=Foo Dragon, Shapechanger
|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 91: Line 97:


{{5e PA Creature List Row
{{5e PA Creature List Row
|_pageName=5e:Foo
|_pageName=5e:Phoenix Ash/Foo
|Name=Foo
|Name=Foo
|Size=Medium
|Size=Medium
|Type=Dragon
|Type=Beast
|Tags=Foo Dragon, Shapechanger
|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
|Monster 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 |-

|}