Template:5e PA Creature Trait: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
mNo edit summary
 
(4 intermediate revisions by the same user not shown)
Line 6: Line 6:
|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
Line 14: Line 14:
</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-->|<!--
{{#if: {{{nodb|}}}|<!--skip-->|<!--
--Categories--
--Categories--
-->{{#if: {{{sorttext|}}}|{{DEFAULTSORTKEY:{{{sorttext}}} PA 5e}}|{{DEFAULTSORTKEY:{{PAGENAME}} PA 5e}}}}<!--endif sorttext-->[[Category:5e PA Creature Traits]]<!--
-->{{#if: {{{sorttext|}}}|{{DEFAULTSORTKEY:{{{sorttext}}} PA 5e}}|{{DEFAULTSORTKEY:{{{name|{{BASEPAGENAME}}}}} Creature Trait PA 5e}}}}<!--endif sorttext-->[[Category:5e PA Creature Traits]]<!--
--Cargo Store--
--Cargo Store--
-->{{#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|}}}
Line 73: 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 85: 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.

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.