Template:5e PA Creature Trait: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
|||
(17 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
<!-- Cargo Table --> | <!-- Cargo Table --> | ||
{{#cargo_declare: | {{#cargo_declare: | ||
_table = | _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 = | |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 />|}} | ||
<span style="font-size:1.2em;">'''{{{name|}}}'''</span> {{{refs|}}}<br /> | |||
{{#if: {{{type|}}}|''{{5e PA Creature Trait Type Line|{{{type}}}}}''|''Feature''}}<br /><!--endif type--> | |||
{{#if: {{{restriction|}}}|''Restriction: {{{restriction}}}''<br />}}<!--endif restriction--> | |||
{{{desc|}}} | |||
{{#if: {{{nodb|}}}|<!--skip-->|<!-- | {{#if: {{{nodb|}}}|<!--skip-->|<!-- | ||
--Categories--> | --Categories-- | ||
{{#if: {{{sorttext|}}}|{{DEFAULTSORTKEY:{{{sorttext}}} PA 5e}}|{{DEFAULTSORTKEY:{{ | -->{{#if: {{{sorttext|}}}|{{DEFAULTSORTKEY:{{{sorttext}}} PA 5e}}|{{DEFAULTSORTKEY:{{{name|{{BASEPAGENAME}}}}} Creature Trait PA 5e}}}}<!--endif sorttext-->[[Category:5e PA Creature Traits]]<!-- | ||
[[Category:5e PA Creature Traits]] | --Cargo Store-- | ||
----- | -->{{#cargo_store: | ||
{{#cargo_store: | _table=5e_PA_Creature_Trait | ||
_table = | |Sort_Text={{#if: {{{sorttext|}}}|{{{sorttext}}} PA 5e|{{{name|{{BASEPAGENAME}}}}} Creature Trait PA 5e}} | ||
|Sort_Text = {{#if: {{{sorttext|}}}|{{{sorttext}}} PA 5e|{{BASEPAGENAME}} PA 5e}} | |Name={{{name|}}} | ||
|Name = {{{name|}}} | |Creature_Type={{{creaturetype|}}} | ||
|Creature_Type = {{{creaturetype|}}} | |Type={{#if: {{{type|}}}|{{{type}}}|Feature|}} | ||
|Type = {{{type|}}} | |Restriction={{{restriction|}}} | ||
|Restriction = {{{restriction|}}} | |Entries={{{entries|}}} | ||
|Entries = {{{entries|}}} | |Description={{{desc|}}} | ||
|Description = {{{desc|}}} | |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 51: | Line 64: | ||
===Add'l Entries=== | ===Add'l Entries=== | ||
<pre> | <pre> | ||
|hideheader= <!--blank, true=hide header--> | |||
|nodb= <!--blank, true=ignore categories, properties, and DB entries--> | |nodb= <!--blank, true=ignore categories, properties, and DB entries--> | ||
</pre> | </pre> | ||
Line 60: | 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 72: | 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.
- Foo's Guide to Nothing p. 337. Licensed: Public Domain. ↑