Difference between revisions of "Item"
From P6 Spheres
| Line 50: | Line 50: | ||
</noinclude><includeonly>{{#cargo_store:_table=Base_Items|Name={{{Name}}}|SortName={{{SortName|{{{Name}}}}}}|ItemType={{#replace:{{{ItemType|}}}||_}}|ItemSubType={{{ItemSubType|}}}|TreasureUse={{{TreasureUse|}}}|Tags={{{Tags|}}}|Price={{{Price|-}}}|PrettyPrice={{MapPrice|{{{Price|0.0}}}}}|Weight={{{Weight|-}}}|PrettyWeight={{MapWeight|{{{Weight|0.0}}}}}|Short={{{Short|}}}|Fluff={{{Fluff|}}}|Description={{{Description|}}}|Benefit={{{Benefit|}}}|Note={{{Note|}}}|CraftRequirements={{{CraftRequirements|}}}|CraftDC={{{CraftDC|}}}|CraftSkill={{{CraftSkill|}}}|CraftCost={{{CraftCost|}}}|Source={{{Source|}}}|Campaigns={{{Campaigns|}}} }}<!-- | </noinclude><includeonly>{{#cargo_store:_table=Base_Items|Name={{{Name}}}|SortName={{{SortName|{{{Name}}}}}}|ItemType={{#replace:{{{ItemType|}}}||_}}|ItemSubType={{{ItemSubType|}}}|TreasureUse={{{TreasureUse|}}}|Tags={{{Tags|}}}|Price={{{Price|-}}}|PrettyPrice={{MapPrice|{{{Price|0.0}}}}}|Weight={{{Weight|-}}}|PrettyWeight={{MapWeight|{{{Weight|0.0}}}}}|Short={{{Short|}}}|Fluff={{{Fluff|}}}|Description={{{Description|}}}|Benefit={{{Benefit|}}}|Note={{{Note|}}}|CraftRequirements={{{CraftRequirements|}}}|CraftDC={{{CraftDC|}}}|CraftSkill={{{CraftSkill|}}}|CraftCost={{{CraftCost|}}}|Source={{{Source|}}}|Campaigns={{{Campaigns|}}} }}<!-- | ||
| − | -->{{#vardefine:CategoryTag|{{#replace:{{{ItemType}}}||_}}}}<!-- | + | -->{{#vardefine:CategoryTag|{{#replace:{{{ItemType}}}||_}}}}{{#vardefine:SubCategoryTag|{{#replace:{{{ItemSubType}}}||%20}}}}<!-- |
-->{{DISPLAYTITLE:{{{Name|}}}}}<!-- | -->{{DISPLAYTITLE:{{{Name|}}}}}<!-- | ||
| − | -->{{BreadCrumbs|[[Equipment]] > [{{fullurl:Equipment/List|Category={{#var:CategoryTag}}}} {{{ItemType}}}]|{{{Name}}}|auto=no}}<!-- | + | -->{{BreadCrumbs|[[Equipment]] > [{{fullurl:Equipment/List#{{#var:SubCategoryTag}}|Category={{#var:CategoryTag}}}} {{{ItemType}}}]|{{{Name}}}|auto=no}}<!-- |
-->''Category:'' {{{ItemType}}}{{#if: {{{ItemSubType|}}}|({{{ItemSubType}}})}}<!-- | -->''Category:'' {{{ItemType}}}{{#if: {{{ItemSubType|}}}|({{{ItemSubType}}})}}<!-- | ||
Revision as of 13:42, 15 March 2020
This is the "Item" template.
Name=Real name of item
SortName=Name for use when sorting; "Climbing Kit, Basic" and "Climbing Kit, Deluxe"
ItemType=The major category of item: Weapons, Dungeoneering, Alchemy, etc
ItemSubType=The subcategory of item: Alchemical Weapons, Alchemical Boosters, Alchemical Tools
TreasureUse=Weapon, Protection, Magical, Consumable, Gear
Tags=Any further tags used for filtering
Price=Buying price in gp (Float)
Weight=Weight of the item in lbs. (Float)
Short=Short summary of benefits/use for tables
Fluff=Fluff description
Description=Full description
Benefit=Specific rule benefits
Note=Note
CraftRequirements=Workshop, feats, materials, talents
CraftDC=The Craft DC for the item (Integer)
CraftSkill=The Craft skill used for the item or Spellcraft
CraftCost=Cost in sp/gp (Float)
Source=OGL Codes
Campaigns=Filtering. "All" by default
It should be called in the following format:
{{Item
|Name=
|SortName=
|ItemType=
|ItemSubType=
|TreasureUse=
|Tags=
|Price=
|Weight=
|Short=
|Fluff=
|Description=
|Benefit=
|Note=
|CraftRequirements=
|CraftDC=
|CraftSkill=
|CraftCost=
|Source=
|Campaigns=
}}
Edit the page to see the template text. This template defines the table "Base_Items". View table.