Template:5e PA Creature Trait: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
mNo edit summary
 
(9 intermediate revisions by the same user not shown)
Line 2: Line 2:
<!-- Cargo Table -->
<!-- Cargo Table -->
{{#cargo_declare:
{{#cargo_declare:
_table = 5e_PA_Creatue_Trait
_table = 5e_PA_Creature_Trait
|Sort_Text = String
|Sort_Text = String
|Name = String
|Name = String
|Creature_Type = List (, ) of String
|Creature_Type = List (, ) of String
|Type = String
|Type = List (, ) of String
|Restriction = String
|Restriction = String
|Entries = Number
|Entries = Number
|Description = String
|Description = Wikitext
|Summary = Wikitext
|Summary = Wikitext
}}
}}
</noinclude><includeonly>
</noinclude><includeonly>
{{#if: {{{hideheader|}}}|<!--skip-->|{{{name|}}} is a creature trait for the {{phoenixash}} campaign setting.<br /><br />|}}
{{#if: {{{hideheader|}}}|<!--skip-->|{{{name|}}} is a creature trait for the {{phoenixash}} campaign setting.<br /><br />|}}
<span style="font-size:1.2em;">'''{{{name|}}}'''</span> {{{refs|}}}<br />
<span style="font-size:1.2em;">'''{{{name|}}}'''</span> {{{refs|}}}<br />  
{{#if: {{{type|}}}|''{{{type}}}''|''Feature''}}<!--endif type--><br />  
{{#if: {{{type|}}}|''{{5e PA Creature Trait Type Line|{{{type}}}}}''|''Feature''}}<br /><!--endif type-->
{{{desc|}}}{{#if: {{{restriction|}}}|<br /><br />'''''Restriction:''' {{{restriction}}}''}}<!--endif restriction-->
{{#if: {{{restriction|}}}|''Restriction: {{{restriction}}}''<br />}}<!--endif restriction-->
{{{desc|}}}


{{#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:
{{#if: {{{nodb|}}}|<!--skip-->|<!--
--Categories--
-->{{#if: {{{sorttext|}}}|{{DEFAULTSORTKEY:{{{sorttext}}} PA 5e}}|{{DEFAULTSORTKEY:{{{name|{{BASEPAGENAME}}}}} Creature Trait PA 5e}}}}<!--endif sorttext-->[[Category:5e PA Creature Traits]]<!--
--Cargo Store--
-->{{#cargo_store:  
_table=5e_PA_Creature_Trait
_table=5e_PA_Creature_Trait
|Sort_Text={{#if: {{{sorttext|}}}|{{{sorttext}}} PA 5e|{{PAGENAME}} PA 5e}}
|Sort_Text={{#if: {{{sorttext|}}}|{{{sorttext}}} PA 5e|{{{name|{{BASEPAGENAME}}}}} Creature Trait 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 29: Line 34:
|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}}
Line 59: Line 74:
|sorttext=
|sorttext=
|refs=<ref name="fgtn">{{Cite Pub|Foo's Guide to Nothing|pages=337}} Licensed: [[Public Domain]].</ref>
|refs=<ref name="fgtn">{{Cite Pub|Foo's Guide to Nothing|pages=337}} Licensed: [[Public Domain]].</ref>
|creaturetype=
|creaturetype=Plant
|type=Feature
|type=Feature
|restriction=This trait is limited to {{phoenixash|Plant}}s.
|restriction=This trait is limited to {{phoenixash|Plant}}s.
Line 71: Line 86:
|sorttext=
|sorttext=
|refs=<ref name="fgtn">{{Cite Pub|Foo's Guide to Nothing|pages=337}} Licensed: [[Public Domain]].</ref>
|refs=<ref name="fgtn">{{Cite Pub|Foo's Guide to Nothing|pages=337}} Licensed: [[Public Domain]].</ref>
|creaturetype=
|creaturetype=Plant
|type=Feature
|type=Feature
|restriction=This trait is limited to {{phoenixash|Plant}}s.
|restriction=This trait is limited to {{phoenixash|Plant}}s.
|summary=Unintelligent Plants do not hinder your movement.  
|summary=Unintelligent Plants do not hinder your movement.  
|desc=Plants with an {{SRD5|Intelligence}} below 6 do not hinder your movement.
|desc=Plants with an {{SRD5|Intelligence}} below 6 do not hinder your movement.
|nodb=
|nodb=true
}}
}}


[[Category:5e PA Templates]]
[[Category:5e PA Templates]]
</noinclude>
</noinclude>

Latest revision as of 07:37, 31 August 2023

This template defines the table "5e_PA_Creature_Trait". View table.

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=Plant
|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
Restriction: This trait is limited to Plants.
Plants with an Intelligence below 6 do not hinder your movement.