Difference between revisions of "Item"
From P6 Spheres
| (5 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 22: | Line 22: | ||
-->{{DISPLAYTITLE:{{{Name|}}}}}<!-- | -->{{DISPLAYTITLE:{{{Name|}}}}}<!-- | ||
-->{{BreadCrumbs|[[Equipment]] > [{{fullurl:Equipment/List|Category={{#var:CategoryTag}}}} {{{ItemType}}}] > [{{fullurl:Equipment/List#{{#var:SubCategoryTag}}|Category={{#var:CategoryTag}}}} {{{ItemSubType}}}]|{{{Name}}}|auto=no}}<!-- | -->{{BreadCrumbs|[[Equipment]] > [{{fullurl:Equipment/List|Category={{#var:CategoryTag}}}} {{{ItemType}}}] > [{{fullurl:Equipment/List#{{#var:SubCategoryTag}}|Category={{#var:CategoryTag}}}} {{{ItemSubType}}}]|{{{Name}}}|auto=no}}<!-- | ||
| + | |||
| + | -->{{#decryptplt:<!-- | ||
-->{{#if: {{{Fluff|}}}|<wbr> | -->{{#if: {{{Fluff|}}}|<wbr> | ||
| Line 29: | Line 31: | ||
{{#!:{| class="wikitable" | {{#!:{| class="wikitable" | ||
|- | |- | ||
| − | ! Cost !! Weight | + | ! Cost !! Weight |
|- | |- | ||
| − | | {{MapPrice|{{{Price|0.0}}}}} || {{MapWeight|{{{Weight|0.0}}} | + | | {{MapPrice|{{{Price|0.0}}}}} || {{MapWeight|{{{Weight|0.0}}}}} |
|}}}<!-- | |}}}<!-- | ||
| Line 57: | Line 59: | ||
-->''Short Description:'' {{{Short|None}}}}} | -->''Short Description:'' {{{Short|None}}}}} | ||
| − | {{OGL|{{{Source}}}}}[[Category:Items]] | + | }}{{OGL|{{{Source}}}}}[[Category:Items]] |
</includeonly> | </includeonly> | ||
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.