Template:5e Monster List Row 2: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
| (7 intermediate revisions by the same user not shown) | |||
| Line 17: | Line 17: | ||
16 Pages_Info.Sources | 16 Pages_Info.Sources | ||
17 5eMonster.Individual | 17 5eMonster.Individual | ||
18 Pages_Info.Setting | |||
--></noinclude> | --></noinclude> | ||
<includeonly> | <includeonly> | ||
{{!}}{{#switch: {{{Type}}} | {{!}}valign="top" {{#switch: {{{Type}}} | ||
| Overview = style="border-bottom:2px | | Overview = style="border-bottom:2px CornflowerBlue solid; font-size:1.1em; font-style:oblique; font-weight:bold;" | ||
| Template = style=" | | Template = style="border-bottom:2px LightSkyBlue solid; font-size:1.1em; font-style:oblique;" | ||
| #default = <!--skip--> | | #default = <!--skip--> | ||
}}{{#if: {{{ | }}<!--{{#if: {{{Monster Features|}}}|rowspan="2"|}}-->{{!}}[[{{{_pageName}}}|{{#if: {{{Monster Name|}}}|{{{Monster Name}}}|{{{_pageName}}}}}]] {{#ifeq: {{{Individual|}}}|1|({{5ep|Individual}})|}} | ||
{{!}}valign="top"{{!}}{{{Monster Size|}}} | {{!}}valign="top"{{!}}{{{Monster Size|}}} | ||
{{!}}valign="top"{{!}}{{{Type|}}} | {{!}}valign="top"{{!}}{{{Type|}}} | ||
{{!}}valign="top"{{!}}{{{Monster Tags|}}} | {{!}}valign="top"{{!}}<!--{{{Monster Tags|}}}-->{{#arraymap: {{{Monster Tags|}}}|,|xtag|{{5ep|xtag}}|, }} | ||
{{!}}valign="top"{{!}}{{{Monster Alignment|}}} | {{!}}valign="top"{{!}}{{{Monster Alignment|}}} | ||
{{!}}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 | {{!}}valign="top"{{!}}{{#arraymap: {{{Habitat|}}}|,|xhab|[[5e:Habitat/xhab|xhab]]|, }} | ||
{{!}}valign="top"{{!}}{{#ifeq: {{{Canon|}}}|1|Canon|Noncanon|}}{{#ifeq:{{{Pointer}}}|1|, Pointer|}}{{#ifeq: {{{UA}}}|1|, UA|}}{{#ifeq: {{{User|}}}|1|, User Creation|}}{{#if: {{{Setting|}}}|, {{#arraymap: {{{Setting}}}|,|xSet|{{5ed|xSet}}}}|}} | |||
{{!}} | {{!}}valign="top"{{!}}{{#if: {{{User|}}}|{{#ifeq: {{{User|}}}|1|{{{Sources|}}}|{{Pub List|{{{Sources|}}}}}}}|}} | ||
{{ | {{!}}- | ||
{{ | </includeonly><noinclude> | ||
==Syntax== | ==Syntax== | ||
<pre>{{5e Monster List Row 2 | <pre>{{5e Monster List Row 2 | ||
| Line 51: | Line 48: | ||
|Challenge Rating= | |Challenge Rating= | ||
|Experience Points= | |Experience Points= | ||
|Habitat= | |||
|Monster Features= | |Monster Features= | ||
|Canon= | |Canon= | ||
| Line 58: | Line 56: | ||
|Sources= | |Sources= | ||
|Individual= | |Individual= | ||
|Setting= | |||
}}</pre> | }}</pre> | ||
| Line 66: | Line 65: | ||
==Example== | ==Example== | ||
<pre>{{5e Monster List Row 2 | <pre>{{5e Monster List Row 2 | ||
|_pageName=5e:Foo | |_pageName=5e:Foo | ||
| Line 78: | Line 76: | ||
|Challenge Rating=13 | |Challenge Rating=13 | ||
|Experience Points=13,000 | |Experience Points=13,000 | ||
|Habitat=Arctic, Desert | |||
|Monster Features=Fooishness, Barism, Xi Power | |Monster Features=Fooishness, Barism, Xi Power | ||
|Canon= | |Canon= | ||
| Line 85: | Line 84: | ||
|Sources=[[user:Foo]] | |Sources=[[user:Foo]] | ||
|Individual= | |Individual= | ||
} | |Setting= | ||
}}</pre> | |||
produces: | produces: | ||
| Line 101: | Line 100: | ||
|Challenge Rating=13 | |Challenge Rating=13 | ||
|Experience Points=13,000 | |Experience Points=13,000 | ||
|Habitat=Arctic, Desert | |||
|Monster Features=Fooishness, Barism, Xi Power | |Monster Features=Fooishness, Barism, Xi Power | ||
|Canon= | |Canon= | ||
| Line 108: | Line 108: | ||
|Sources=[[user:Foo]] | |Sources=[[user:Foo]] | ||
|Individual= | |Individual= | ||
|Setting= | |||
}} | }} | ||
[[Category:5e Templates]] | [[Category:5e Templates]] | ||
</noinclude> | </noinclude> | ||
Latest revision as of 16:57, 1 February 2024
Syntax
{{5e Monster List Row 2
|_pageName=
|Monster Name=
|Monster Size=
|Type=
|Monster Tags=
|Monster Alignment=
|Hit Points=
|Hit Dice=
|Challenge Rating=
|Experience Points=
|Habitat=
|Monster Features=
|Canon=
|Pointer=
|UA=
|User=
|Sources=
|Individual=
|Setting=
}}
Add'l Parameters
|showfeatures=<!--blank, true to show-->
Example
{{5e Monster List Row 2
|_pageName=5e:Foo
|Monster Name=Foo
|Monster Size=Medium
|Type=Dragon
|Monster Tags=Foo Dragon, Shapechanger
|Monster Alignment=Neutral
|Hit Points=115
|Hit Dice=15d10
|Challenge Rating=13
|Experience Points=13,000
|Habitat=Arctic, Desert
|Monster Features=Fooishness, Barism, Xi Power
|Canon=
|Pointer=
|UA=
|User=1
|Sources=[[user:Foo]]
|Individual=
|Setting=
}}
produces:
|valign="top" |Foo |valign="top"|Medium |valign="top"|Dragon |valign="top"|Foo Dragon, Shapechanger |valign="top"|Neutral |valign="top"|115 |valign="top"|13 |valign="top"|Arctic, Desert |valign="top"|Noncanon, User Creation |valign="top"|user:Foo |-