Difference between revisions of "Item"
From P6 Spheres
| Line 2: | Line 2: | ||
This is the "Item" template. | This is the "Item" template. | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
Edit the page to see the template text. | Edit the page to see the template text. | ||
{{#cargo_declare:_table=Base_Items|Name=Text|SortName=Text|ItemType=List (,) of String|ItemSubType=List (,) of String|TreasureUse=String (allowed values=Weapon,Protection,Magical,Consumable,Gear,None)|Tags=List (,) of String|Price=Float|PrettyPrice=Text|Weight=Float|PrettyWeight=Text|Short=Wikitext|Fluff=Wikitext|Description=Wikitext|Benefit=Wikitext|Note=Wikitext|CraftRequirements=Wikitext|CraftDC=Integer|CraftSkill=String|CraftCost=Float|Source=List (,) of String|Campaigns=List (,) of String}} | {{#cargo_declare:_table=Base_Items|Name=Text|SortName=Text|ItemType=List (,) of String|ItemSubType=List (,) of String|TreasureUse=String (allowed values=Weapon,Protection,Magical,Consumable,Gear,None)|Tags=List (,) of String|Price=Float|PrettyPrice=Text|Weight=Float|PrettyWeight=Text|Short=Wikitext|Fluff=Wikitext|Description=Wikitext|Benefit=Wikitext|Note=Wikitext|CraftRequirements=Wikitext|CraftDC=Integer|CraftSkill=String|CraftCost=Float|Source=List (,) of String|Campaigns=List (,) of String}} | ||
| Line 51: | Line 7: | ||
-->{{#vardefine:CraftCost|<!-- | -->{{#vardefine:CraftCost|<!-- | ||
| − | -->{{#if:{{{IsCraftMagic|}}}<!-- | + | -->{{#if:{{{CraftCost|}}}<!-- |
| − | + | -->|{{{CraftCost}}}<!-- | |
| − | + | -->|{{#if:{{{IsCraftMagic|}}}<!-- | |
| + | -->|{{MapCraftPriceMagic|{{{Price|0.0}}}}}<!-- | ||
| + | -->|{{MapCraftPriceCommon|{{{Price|0.0}}}}}<!-- | ||
| + | -->}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
Revision as of 11:37, 24 March 2020
This is the "Item" template.
Edit the page to see the template text. This template defines the table "Base_Items". View table.