Actions

Template

Difference between revisions of "Poison"

From Titan's Teeth

Line 22: Line 22:
 
|Description=description}}
 
|Description=description}}
  
{{#cargo_declare:_table=Poison|_parentTables= Equipment(_localField=Name, _remoteField=Name)|Name=Wikitext|PoisonType=String (allowed values=Contact,Ingested,Inhaled,Injury)|FortDC=Integer|RefDC=Integer|WillDC=Integer|Onset=Wikitext|Frequency=Wikitext|Effect=Wikitext|InitialEffect=Wikitext|SecondaryEffect=Wikitext|ShortEffect=Wikitext|Cure=Wikitext}}
+
{{#cargo_declare:_table=Poison|Name=Wikitext|PoisonType=String (allowed values=Contact,Ingested,Inhaled,Injury)|FortDC=Integer|RefDC=Integer|WillDC=Integer|Onset=Wikitext|Frequency=Wikitext|Effect=Wikitext|InitialEffect=Wikitext|SecondaryEffect=Wikitext|ShortEffect=Wikitext|Cure=Wikitext}}
 
{{#cargo_attach:_table = Equipment}}
 
{{#cargo_attach:_table = Equipment}}
 
</noinclude><!--
 
</noinclude><!--

Revision as of 18:19, 9 January 2020

Usage:

{Temp |Name=Name for use when sorting; "Climbing Kit, Basic" and "Climbing Kit, Deluxe"
|Type=Contact,Ingested,Inhaled,Injury
|FortDC=(optional, integer)
|RefDC=(optional, integer)
|WillDC=(optional, integer)
|Onset=Onset time of poison
|Frequency=Frequency of poison
|Effect=(optional) Effect of poison
|InitialEffect=(optional) Initial effect of poison
|SecondaryEffect=(optional) Secondary effect of poison
|EffectShort=(optional) Short effect of poison, if normal effect is long
|Cure=Number saves to cure the poison
|Price=Cost in gp (integer)
|CraftType=The Craft skill used for the item |CraftDC=The Craft DC for the item |Short=short text for use in tables
|Fluff=fluff
|Description=description}}

This template defines the table "Poison". View table. This template adds rows to the table "Equipment", which is declared by the template Equipment. View table.