Template:5e Monster List Row: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(6 intermediate revisions by the same user not shown)
Line 19: Line 19:
--></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: {{{17|}}}|, Hidden|}}{{#if: {{{14|}}}|, UA|}}{{#if: {{{15|}}}|User Creation|}}<!--Canon:{{{12|}}}, Pointer: {{{13|}}}, Hidden: {{{17|}}}, UA: {{{14|}}}, UC: {{{15|}}}
{{!}}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 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 08:13, 10 January 2022


Syntax[edit]

{{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[edit]

|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