Template:5e PA Creature Trait: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 18: Line 18:
{{{desc|}}}{{#if: {{{restriction|}}}|<br /><br />'''''Restriction:''' {{{restriction}}}''}}<!--endif restriction-->
{{{desc|}}}{{#if: {{{restriction|}}}|<br /><br />'''''Restriction:''' {{{restriction}}}''}}<!--endif restriction-->


{{#if: {{{nodb|}}}|<!--skip-->|<!--Categories-->{{#if: {{{sorttext|}}}|{{DEFAULTSORTKEY:{{{sorttext}}} PA 5e}}|{{DEFAULTSORTKEY:{{PAGENAME}} PA 5e}}}}<!--endif sorttext-->[[Category:5e PA Creature Traits]]<!--Cargo Store-->{{#cargo_store: _table=5e_PA_Creature_Trait
{{#if: {{{nodb|}}}|<!--skip-->|<!--Categories-->{{#if: {{{sorttext|}}}|{{DEFAULTSORTKEY:{{{sorttext}}} PA 5e}}|{{DEFAULTSORTKEY:{{PAGENAME}} PA 5e}}}}<!--endif sorttext-->[[Category:5e PA Creature Traits]]<!--Cargo Store-->{{#cargo_store:  
_table=5e_PA_Creature_Trait
|Sort_Text={{#if: {{{sorttext|}}}|{{{sorttext}}} PA 5e|{{PAGENAME}} PA 5e}}
|Sort_Text={{#if: {{{sorttext|}}}|{{{sorttext}}} PA 5e|{{PAGENAME}} PA 5e}}
|Name={{{name|}}}
|Name={{{name|}}}
|Creature_Type={{{creaturetype|}}}
|Creature_Type={{{creaturetype|}}}
|Type={{{type|}}}
|Type={{#if: {{{type|}}}|{{{type}}}|Feature|}}
|Restriction={{{restriction|}}}
|Restriction={{{restriction|}}}
|Entries={{{entries|}}}
|Entries={{{entries|}}}
Line 28: Line 29:
|Summary={{{summary|}}}
|Summary={{{summary|}}}
}}
}}
<!----
Data Store<br />
{{{name|}}}<br />
{{{sorttext|}}}<br />
{{#if: {{{type|}}}|{{{type}}}|Feature|}}<br />
{{{restriction|}}}<br />
{{{entries|}}}<br />
{{{desc|}}}<br />
{{{summary|}}}
----
}}<!--endif nodb-->
}}<!--endif nodb-->
</includeonly><noinclude>{{tocright}}
</includeonly><noinclude>{{tocright}}

Revision as of 14:29, 24 August 2023

This template defines the table "5e_PA_Creatue_Trait". This table has not been created yet.

Use

Used to display a creature trait in a Phoenix Ash creature trait page or creature.

Syntax

{{5e PA Creature Trait
|name=
|sorttext=
|refs=
|creaturetype=
|type= <!--Feature, Action, Bonus Action, Reaction-->
|restriction=
|summary=
|desc=
}}

Add'l Entries

|hideheader= <!--blank, true=hide header-->
|nodb= <!--blank, true=ignore categories, properties, and DB entries-->

Example

{{5e PA Creature Trait
|name=Foo
|sorttext=
|refs=<ref name="fgtn">{{Cite Pub|Foo's Guide to Nothing|pages=337}} Licensed: [[Public Domain]].</ref>
|creaturetype=
|type=Feature
|restriction=This trait is limited to {{phoenixash|Plant}}s.
|summary=Unintelligent Plants do not hinder your movement. 
|desc=Plants with an {{SRD5|Intelligence}} below 6 do not hinder your movement.
}}

Produces

Foo is a creature trait for the Phoenix Ash campaign setting.

Foo [1]
Feature
Plants with an Intelligence below 6 do not hinder your movement.

Restriction: This trait is limited to Plants.

{{#if: ||