Template:5e24 Creature List/Row Format: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<noinclude><!-- _table = 5e24_Creature |Creature = String |Sort_Text = String |Size = String |Type = String |Tags = List (, ) of String |Alignment = String |HP = String |HD = String |Movement_Type = List (, ) of String |CR = List (, ) of String CR, CR in lai |XP = List (, ) of String |Maturity = String |Mount = Boolean |Riders = List (, ) of String |Habitat = List (, ) of String |Plane = List (, ) of String |Features = List (,) of String |NPC = Boolean |Individual = Bool...") |
mNo edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 28: | Line 28: | ||
| Template = style="border-bottom:2px LightSkyBlue solid; verticle-align:top; font-size:1.1em; font-style:oblique;" | | Template = style="border-bottom:2px LightSkyBlue solid; verticle-align:top; font-size:1.1em; font-style:oblique;" | ||
| #default = style="verticle-align:top;" | | #default = style="verticle-align:top;" | ||
}}{{!}}[[{{{_pageName}}}|{{#if: {{{Creature|}}}|{{{Creature}}}|{{{_pageName}}}}}]] {{#ifeq: {{{Individual|}}}|1|({{5e24|Individual}})|}} | }}{{!}}[[{{{_pageName}}}|{{#if: {{{Creature|}}}|{{{Creature}}}|{{{_pageName}}}}}]] {{#switch: {{{Type|}}} | ||
{{!}}style="vertical-align:top;"{{!}}{{{Size|}}} | | Overview (Overview) | ||
{{!}}style="vertical-align:top;"{{!}}{{{Type|}}} | | Template (Template) | ||
|}} {{#ifeq: {{{NPC|}}}|1|{{#ifeq: {{{Individual|}}}|1|({{5e24|Individual}})|({{5e24|NPC}})|}}}} | |||
{{!}}style="vertical-align:top;"{{!}}{{#if: {{{Size|}}}|{{5e24|{{{Size}}}}}|}} | |||
{{!}}style="vertical-align:top;"{{!}}{{#if: {{{Type|}}}|{{5e24|{{{Type}}}}}|}} | |||
{{!}}style="vertical-align:top;"{{!}}{{#arraymap: {{{Tags|}}}|,|xtag|{{5e24|xtag}}|, }} | {{!}}style="vertical-align:top;"{{!}}{{#arraymap: {{{Tags|}}}|,|xtag|{{5e24|xtag}}|, }} | ||
{{!}}style="vertical-align:top;"{{!}}{{{Alignment|}}} | {{!}}style="vertical-align:top;"{{!}}{{#if: {{{Alignment|}}}|{{5e24|{{{Alignment}}}}}|}} | ||
{{!}}style="vertical-align:top;"{{!}}{{{HP|}}} | {{!}}style="vertical-align:top;"{{!}}{{{HP|}}} | ||
{{!}}style="vertical-align:top;"{{!}}{{{CR|}}} | {{!}}style="vertical-align:top;"{{!}}{{{CR|}}} | ||
| Line 39: | Line 42: | ||
{{!}}style="vertical-align:top;"{{!}}{{#if: {{{User|}}}|{{#ifeq: {{{User|}}}|1|{{{Sources|}}}|{{Pub List|{{{Sources|}}}}}}}|}} | {{!}}style="vertical-align:top;"{{!}}{{#if: {{{User|}}}|{{#ifeq: {{{User|}}}|1|{{{Sources|}}}|{{Pub List|{{{Sources|}}}}}}}|}} | ||
{{!}}- | {{!}}- | ||
</includeonly><noinclude> | </includeonly><noinclude>{{tocright}} | ||
==Use== | |||
Formats row of 5e24 Creature Lists | |||
==Syntax== | ==Syntax== | ||
<pre>{{ | <pre>{{5e24 Creature List/Row Format | ||
|_pageName= | |_pageName= | ||
|Creature= | |Creature= | ||
| Line 54: | Line 59: | ||
|Habitat= | |Habitat= | ||
|Individual= | |Individual= | ||
|NPC= | |||
|Canon= | |Canon= | ||
|Pointer= | |Pointer= | ||
| Line 76: | Line 82: | ||
|Habitat=Feywild, Forest | |Habitat=Feywild, Forest | ||
|Individual= | |Individual= | ||
|NPC= | |||
|Canon= | |Canon= | ||
|Pointer=true | |Pointer=true | ||
| Line 99: | Line 106: | ||
|Habitat=Feywild, Forest | |Habitat=Feywild, Forest | ||
|Individual= | |Individual= | ||
|NPC=1 | |||
|Canon= | |Canon= | ||
|Pointer=true | |Pointer=true | ||
Latest revision as of 17:49, 24 March 2025
Use
Formats row of 5e24 Creature Lists
Syntax
{{5e24 Creature List/Row Format
|_pageName=
|Creature=
|Size=
|Type=
|Tags=
|Alignment=
|HP=
|HD=
|CR=
|XP=
|Habitat=
|Individual=
|NPC=
|Canon=
|Pointer=
|UA=
|User=
|Sources=
|Setting=
}}
Example
{{{5e24 Creature List/Row Format
|_pageName=5e24:Foo
|Creature=Foo
|Size=Medium
|Type=Dragon
|Tags=Barish
|Alignment=Neutral
|HP=300
|HD=20d8+100
|CR=20
|XP=
|Habitat=Feywild, Forest
|Individual=
|NPC=
|Canon=
|Pointer=true
|UA=
|User=
|Sources=Foo's Guide to Nothing
|Setting=Foo Bar
}}
produces:
|valign="top" style="verticle-align:top;"|Foo (NPC)
|style="vertical-align:top;"|Medium
|style="vertical-align:top;"|Dragon
|style="vertical-align:top;"|Barish
|style="vertical-align:top;"|Neutral
|style="vertical-align:top;"|300
|style="vertical-align:top;"|20
|style="vertical-align:top;"|Feywild, Forest
|style="vertical-align:top;"|Noncanon, Foo Bar
|style="vertical-align:top;"|
|-