Difference between revisions of "Item"
From P6 Spheres
| (3 intermediate revisions by the same user not shown) | |||
| Line 3: | Line 3: | ||
Edit the page to see the template text. | Edit the page to see the template text. | ||
| − | {{#cargo_declare:_table=Base_Items|Name=String|SortName=String|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=String|SortName=String|UrlName=String|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}} |
</noinclude><includeonly><!-- | </noinclude><includeonly><!-- | ||
| Line 16: | Line 16: | ||
-->}}<!-- | -->}}<!-- | ||
| − | -->{{#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={{#var:CraftCost}}|Source={{{Source|}}}|Campaigns={{{Campaigns|}}} }}<!-- | + | -->{{#cargo_store:_table=Base_Items|Name={{{Name}}}|SortName={{{SortName|{{{Name}}}}}}|UrlName={{InterCargoEncode|{{{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={{#var:CraftCost}}|Source={{{Source|}}}|Campaigns={{{Campaigns|}}} }}<!-- |
-->{{#vardefine:CategoryTag|{{#replace:{{{ItemType}}}||_}}}}{{#vardefine:SubCategoryTag|{{#replace:{{{ItemSubType}}}||%20}}}}<!-- | -->{{#vardefine:CategoryTag|{{#replace:{{{ItemType}}}||_}}}}{{#vardefine:SubCategoryTag|{{#replace:{{{ItemSubType}}}||%20}}}}<!-- | ||
| Line 33: | Line 33: | ||
! Cost !! Weight | ! Cost !! Weight | ||
|- | |- | ||
| − | | {{MapPrice|{{{Price|0.0}}}}} || {{MapWeight|{{{Weight|0.0}}}}}<!-- | + | | {{MapPrice|{{{Price|0.0}}}}} || {{MapWeight|{{{Weight|0.0}}}}} |
| + | |}}}<!-- | ||
-->{{#if: {{{Description|}}}|{{{Description}}} | -->{{#if: {{{Description|}}}|{{{Description}}} | ||
Latest revision as of 19:51, 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.