Template:5e Monster List Row: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(11 intermediate revisions by the same user not shown)
Line 11: Line 11:
10 5eMonster.Experience_Points
10 5eMonster.Experience_Points
11 5eMonster.Monster_Features
11 5eMonster.Monster_Features
12 5eMonster.Canon
12 Pages_Info.Canon
13 5eMonster.Pointer
13 Pages_Info.Pointer
14 5eMonster.UA
14 Pages_Info.UA
16 Pages_Info.User
15 Pages_Info.User
17 Pages_Info.Sources
16 Pages_Info.Sources
18 Pages_Info.Hidden
17 Pages_Info.Hidden
--></noinclude>
--></noinclude>
<includeonly>
<includeonly>
{{!}}{{#if: {{{11|}}}|rowspan="2" valign="top"{{!}}|}}[[{{{1}}}|{{#if: {{{2|}}}|{{{2}}}|{{{1}}}}}]]
{{!}}{{#switch: {{{4}}}
{{!}}{{{3|}}}
| Overview = style="border-bottom:2px lavender solid; font-size:1.1em; font-style:oblique; font-weight:bold;"
{{!}}{{{4|}}}
| Template = style="background:lavender;" 
{{!}}{{{5|}}}<!--array-->
| #default = <!--skip-->
{{!}}{{{6|}}}
}}{{#if: {{{11|}}}|<!--rowspan="2" -->valign="top"|}}{{!}}[[{{{1}}}|{{#if: {{{2|}}}|{{{2}}}|{{{1}}}}}]]
{{!}}{{{7|}}} {{#if: {{{8|}}}|({{{8}}})|}}
{{!}}valign="top"{{!}}{{{3|}}}
{{!}}{{{9|}}} {{#if: {{{10|}}}|({{{10}}}xp)|}}
{{!}}valign="top"{{!}}{{{4|}}}
{{!}}{{#if: {{{12|}}}|Canon{{#if: {{{13|}}}|, Pointer|}}|{{#if: {{{13|}}}|Pointer|}}|}}{{#if: {{{18|}}}|, Hidden|}}{{#if: {{{14|}}}|, UA|}}{{#if: {{{15|}}}|User Creation|}}
{{!}}valign="top"{{!}}{{{5|}}}<!--array-->
{{!}}{{{16|}}}<!--
{{!}}valign="top"{{!}}{{{6|}}}
{{!}}-{{#if: {{{11|}}}|<nowiki></nowiki>
{{!}}valign="top"{{!}}{{{7|}}} {{#if: {{{8|}}}|({{{8}}})|}}
{{!}}colspan="8" style="background:HoneyDew;"{{!}}''Features:'' {{{11}}} -->
{{!}}valign="top"{{!}}{{{9|}}} {{#if: {{{10|}}}|({{{10}}}xp)|}}
{{!}}-}}</includeonly><noinclude>
{{!}}valign="top"{{!}}{{#ifeq: {{{12|}}}|1|Canon{{#ifeq: {{{13|}}}|1|, Pointer|}}|{{#ifeq:{{{13}}}|1|Pointer|}}|}}{{#ifeq: {{{17}}}|1|, Hidden|}}{{#ifeq: {{{14}}}|1|, UA|}}{{#ifeq: {{{15|}}}|1|User Creation|}}
{{!}}valign="top"{{!}}{{#if: {{{16|}}}|{{#ifeq: {{{15|}}}|1|{{{16|}}}|{{pub|{{{16|}}}}}}}|}}
{{!}}-<!--{{#if: {{{11|}}}|<nowiki></nowiki>
{{!}}valign="top" colspan="8" style="background:HoneyDew;"{{!}}''Features:'' {{{11}}}
{{!}}-}}-->{{#switch: {{{4}}}
| Overview = {{!}}- {{!}} style="background:lavender;" colspan="9"{{!}}&nbsp;
| Template = {{!}}- {{!}} style="background:lavender;" colspan="9"{{!}}&nbsp; 
| #default = <!--skip-->
}}</includeonly><noinclude>
==Syntax==
==Syntax==
<pre>{{5e Monster List Row
<pre>{{5e Monster List Row
Line 44: Line 52:
|5eMonster.Experience_Points
|5eMonster.Experience_Points
|5eMonster.Monster_Features
|5eMonster.Monster_Features
|5eMonster.Canon
|Pages_Info.Canon
|5eMonster.Pointer
|Pages_Info.Pointer
|5eMonster.UA
|Pages_Info.UA
|Pages_Info.User
|Pages_Info.User
|Pages_Info.Sources
|Pages_Info.Sources
Line 69: Line 77:
!Source
!Source
|-
|-
{{5e Monster List Row|5e:Foo|Foo|Medium|Dragon|Foo Dragon, Shapechanger|Neutral|115|15d10|13|13,000|Fooishness, Barism, Xi Power||||true|[[user:Foo]]}}
{{5e Monster List Row|5e:Foo|Foo|Medium|Dragon|Foo Dragon, Shapechanger|Neutral|115|15d10|13|13,000|Fooishness, Barism, Xi Power||||1|[[user:Foo]]}}
|}</pre>
|}</pre>


Line 85: Line 93:
!Source
!Source
|-
|-
{{5e Monster List Row|5e:Foo|Foo|Medium|Dragon|Foo Dragon, Shapechanger|Neutral|115|15d10|13|13,000|Fooishness, Barism, Xi Power||||true|[[user:Foo]]}}
{{5e Monster List Row|5e:Foo|Foo|Medium|Dragon|Foo, Dragon, Shapechanger|Neutral|115|15d10|13|13,000|Fooishness, Barism, Xi Power||||1|[[user:Foo]]}}
{{5e Monster List Row|5e:Bar|Bar|Medium|Overview|Humanoid, Bar|Chaotic Neutral|115|15d10|1|200|Barbarism, Always Armed||1|1||UA Baarbaar}}
|}
|}


[[Category:5e Templates]]
[[Category:5e Templates]]
</noinclude>
</noinclude>

Latest revision as of 07:13, 10 January 2022


Syntax

{{5e Monster List Row
|5eMonster._pageName
|5eMonster.Monster_Name
|5eMonster.Monster_Size
|5eMonster.Type
|5eMonster.Monster_Tags
|5eMonster.Monster_Alignment
|5eMonster.Hit_Points
|5eMonster.Hit_Dice
|5eMonster.Challenge_Rating
|5eMonster.Experience_Points
|5eMonster.Monster_Features
|Pages_Info.Canon
|Pages_Info.Pointer
|Pages_Info.UA
|Pages_Info.User
|Pages_Info.Sources
}}

Add'l Parameters

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

Example:

{|
!Monster
!Size
!Type
!Tags
!Alignment
!HP
!CR
!Marked
!Source
|-
{{5e Monster List Row|5e:Foo|Foo|Medium|Dragon|Foo Dragon, Shapechanger|Neutral|115|15d10|13|13,000|Fooishness, Barism, Xi Power||||1|[[user:Foo]]}}
|}

produces:

Monster Size Type Tags Alignment HP CR Marked Source
Foo Medium Dragon Foo, Dragon, Shapechanger Neutral 115 (15d10) 13 (13,000xp) User Creation user:Foo
Bar Medium Overview Humanoid, Bar Chaotic Neutral 115 (15d10) 1 (200xp) Pointer, UA UA Baarbaar