Template:5e24 Creature Short: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
Line 16: Line 16:
|Treasure = {{#if: {{{treasure|}}}|{{{treasure}}}|}}
|Treasure = {{#if: {{{treasure|}}}|{{{treasure}}}|}}
|Summary = {{{summary|}}}
|Summary = {{{summary|}}}
}}<!--
-- DnD Creature xRef --
-->{{DnD Creature xRef
|sorttext={{#if: {{{1|}}}|{{{1}}} 5e24|{{{2}}} 5e24}}
|creature={{{2|}}}
|link={{FULLPAGENAME}}
|type={{{3|}}}
|tags={{{4|}}}
|edition=5e24
|NPC={{{npc|}}}
|individual={{#ifeq: {{{3|}}}|Individual|1|0}}
|nodisplay=true
}}<!--end cargo_store-->{{#if: {{{adventure|}}}|{{5e24 Adventure Creatures
}}<!--end cargo_store-->{{#if: {{{adventure|}}}|{{5e24 Adventure Creatures
|creature={{{2|}}} {{#ifeq: {{{3|}}}|Individual|<!--skip-->|{{{3}}}}}
|creature={{{2|}}} {{#ifeq: {{{3|}}}|Individual|<!--skip-->|{{{3}}}}}

Latest revision as of 16:49, 25 July 2025

--> This template adds rows to the table "5e24_Creature", which is declared by the template 5e24 Creature. View table.

 Template    

Use

Called from Overview or Monster templates.

Syntax

{{5e24 Creature Short|sortText|name|type|tags|refs=}}
  • Type = Overview, Template, Named NPC
  • Tags = type, subtype(s)
  • If Type is Named NPC nothing will be displayed

Add'l Parameters

|adventure= <!--blank, list of adventures-->
|habitat= <!--blank, list of habitats-->
|nodb= <!--blank, true to skip db and categories-->
|nosort= <!--blank, true to skip category sort-->
|plane= <!--blank, list of planes-->
|summary= 

Example

{{5e24 Creature Short|Foo|Foo|Overview|Fools, Bar
|habitat=Arctic, Planar, Underground
|plane=Beastlands
|treasure=Any
|refs=<ref name="foo">{{Cite Pub|Foo's Guide to Nothing (5e24)|pages=3-7}} Licensed: [[Public Domain]].</ref>
}}

Produces

Foo Overview [1]

Tags: Fools, Bar
Habitat: Arctic, Planar, Underground
Plane: Beastlands
Treasure: Any