Difference between revisions of "Template:Equipment Item"
Jump to navigation
Jump to search
(17 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
{{#template_params:Name|Category|SubCategory|Short|Fluff|Description|Benefit|Note|Cost|Weight|CraftDC | {{#template_params:Name|Advanced|Variant|Category|SubCategory|Shop|Short|Fluff|Description|Benefit|Note|Cost|Weight|CraftDC|CraftType|OGL}} | ||
{{#cargo_declare:_table=Equipment_Items|Name=String|Category=String|SubCategory=String|Short=Wikitext|Fluff=Wikitext|Description=Wikitext|Benefit=Wikitext|Note=Wikitext|Cost=Wikitext|Weight=Wikitext|CraftDC=Integer | {{#cargo_declare:_table=Equipment_Items|Name=String|Advanced=Boolean|Variant=Boolean|Category=String|SubCategory=String|Shop=List (,) of String (allowed values=Adventurer Store,Alchemist,Apothecary,Armorer,Armorsmith,Artist,Baker,Black Market,Blacksmith,Brewer,Butcher,Carpenter,Cartographer,Cobbler,Farmer,Fisherman,Fishmonger,Food Stall,Furrier,General Store,Horse Seller,Hunter,Inn,Instrument Maker,Jeweller,Mason,Mechanist,Merchant,Shipwright,Tailor,Tanner,Tavern,Temple,Weaponsmith,Wizard)|Short=Wikitext|Fluff=Wikitext|Description=Wikitext|Benefit=Wikitext|Note=Wikitext|CostGp=Float|Cost=Wikitext|Weight=Wikitext|CraftDC=Integer|CraftType=Wikitext|OGL=String}} | ||
</noinclude><includeonly>{{#cargo_store:_table=Equipment_Items}}<!-- | </noinclude><includeonly>{{#cargo_store:_table=Equipment_Items|Name={{{Name|{{SUBPAGENAME}}}}}|Advanced={{{Advanced|no}}}|Variant={{{Variant|no}}}|Short={{{Short|}}}|Fluff={{{Fluff|}}}|Description={{{Description|}}}|Benefit={{{Benefit|}}}|Note={{{Note|}}}|CostGp={{{CostGp|0}}}|Cost={{#if:{{{CostGp|}}}|{{Mapper Cost|{{{CostGp}}}}}|{{{Cost|—}}}}}|Weight={{{Weight|—}}}|CraftDC={{{CraftDC|}}}|CraftType={{{CraftType|}}}|OGL={{{OGL|}}}}}<!-- | ||
-->{{BreadCrumbs|Equipment,{{{Category}}}}}{{DISPLAYTITLE:{{SUBPAGENAME}}}}<!-- | -->{{BreadCrumbs|Equipment,Equipment/{{{Category}}}}}{{DISPLAYTITLE:{{SUBPAGENAME}}}}<!-- | ||
-->{{#ifeq: {{{Advanced|}}}|Yes|'''Advanced:''' {{{Advanced}}}{{Break}}}}<!-- | |||
-->{{#ifeq: {{{Variant|}}}|Yes|'''Variant:''' {{{Variant}}}{{Break}}}}<!-- | |||
-->{{#!:{| class="wikitable" | -->{{#!:{| class="wikitable" | ||
Line 10: | Line 13: | ||
! Cost !! Weight | ! Cost !! Weight | ||
|- | |- | ||
| {{{Cost|—}}} || {{{Weight|—}}} | | {{#if:{{{CostGp|}}}|{{Mapper Cost|{{{CostGp}}}}}|{{{Cost|—}}}}} || {{{Weight|—}}} | ||
|}}}<!-- | |}}}<!-- | ||
Line 29: | Line 32: | ||
<wbr>|}}<!-- | <wbr>|}}<!-- | ||
-->{{#if: {{{CraftDC|}}}|'''Craft''' ({{{CraftType|}}}): {{{CraftDC}}} | -->{{#if: {{{CraftDC|}}}|'''Craft''' ({{{CraftType|}}}): {{{CraftDC}}} | ||
<wbr>|}} | <wbr>|}} | ||
<gmsection> | |||
* '''Category:''' {{{Category}}} | * '''Category:''' {{{Category}}} | ||
* '''SubCategory:''' {{{SubCategory}}} | * '''SubCategory:''' {{{SubCategory}}} | ||
}} | * '''Shops:''' {{{Shop|}}} | ||
</gmsection> | |||
{{OGL|{{{OGL|}}}}} | {{OGL|{{{OGL|}}}}} |
Latest revision as of 09:27, 26 March 2022
This is the "Equipment Item" template.
It should be called in the following format:
{{Equipment Item |Name= |Advanced= |Variant= |Category= |SubCategory= |Shop= |Short= |Fluff= |Description= |Benefit= |Note= |Cost= |Weight= |CraftDC= |CraftType= |OGL= }}
Edit the page to see the template text.
This template defines the table "Equipment_Items". View table.