Template:5e Monster List Row: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 26: Line 26:
{{!}}{{{7|}}} {{#if: {{{8|}}}|({{{8}}})|}}
{{!}}{{{7|}}} {{#if: {{{8|}}}|({{{8}}})|}}
{{!}}{{{9|}}} {{#if: {{{10|}}}|({{{10}}}xp)|}}
{{!}}{{{9|}}} {{#if: {{{10|}}}|({{{10}}}xp)|}}
{{!}}{{#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|}}}
{{!}}{{#ifexpr: {{{12|}}}=1|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|}}}
{{!}}{{{16|}}}--><!--
{{!}}{{{16|}}}--><!--
{{!}}-{{#if: {{{11|}}}|<nowiki></nowiki>
{{!}}-{{#if: {{{11|}}}|<nowiki></nowiki>

Revision as of 19:10, 5 May 2020


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||||true|[[user:Foo]]}}
|}

produces:

Monster Size Type Tags Alignment HP CR Marked Source
Foo Medium Dragon Foo Dragon, Shapechanger Neutral 115 (15d10) 13 (13,000xp) Expression error: Unexpected = operator.User Creation