Actions

Template

Difference between revisions of "MagicItem"

From Titan's Teeth

Line 30: Line 30:
  
 
-->{{ColCard|{{{Name|{{PAGENAME}}}}}|3|W|{{#if:{{{Aura|}}}|'''Aura''' {{{Aura}}}; <wbr>|}}'''CL''' {{{CL|—}}}<br><!--
 
-->{{ColCard|{{{Name|{{PAGENAME}}}}}|3|W|{{#if:{{{Aura|}}}|'''Aura''' {{{Aura}}}; <wbr>|}}'''CL''' {{{CL|—}}}<br><!--
-->{{#if:{{{Slot|}}}|'''Slot''' {{{Slot}}}; <wbr>|}}{{#if:{{{Price|}}}|'''Price''' {{#number_format:{{{Price}}}|2}} gp; <wbr>|}}{{#if:{{{Weight|}}}|'''Weight''' {{{Weight}}}|}}{{#if:{{{Slot|}}}{{{Price|}}}{{{Weight|}}}|<br>|}}<!--
+
-->{{#if:{{{Slot|}}}|'''Slot''' {{{Slot}}}; <wbr>|}}{{#if:{{{Price|}}}|'''Price''' {{#number_format:{{{Price}}}|_}} gp; <wbr>|}}{{#if:{{{Weight|}}}|'''Weight''' {{{Weight}}}|}}{{#if:{{{Slot|}}}{{{Price|}}}{{{Weight|}}}|<br>|}}<!--
  
 
-->{{#if: {{{Description|}}}|'''Description'''<br>
 
-->{{#if: {{{Description|}}}|'''Description'''<br>

Revision as of 13:46, 3 January 2020

Usage:

{{MagicItem
|Name=Name for use when sorting and display; "Healing Potion, Minor"
|Type=Armor, Potion, Wondrous Item
|Subtype=Generally used for wondrous items; Belt, Mask, Hammer
|Aura=Aura detected by detect magic
|CL=Caster Level of creator (Int)
|Slot=Slot when worn
|Price=Buying price in gp (Float)
|Weight=Weight of the item
|Description=Full description
|Construction=Construction requirements
|ConstructionCost=Construction price
|ForPlayer=Whether this item should be visible on player lists (bool, optional)}}

Example Item

Aura faint Destruction; CL 1
Slot none; Price 150 gp; Weight -
Description
This grenade is considered a thrown splash weapon.
Construction Requirements
Distill Compound, Destruction sphere, Explosive Orb, Crystal Blast; Cost 75 gp

This template defines the table "MagicItems". View table.