Difference between revisions of "Template:Equipment Item"
Jump to navigation
Jump to search
(25 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
{{#template_params: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|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,Equipment/{{{Category}}}}}{{DISPLAYTITLE:{{SUBPAGENAME}}}}<!-- | |||
-->{{#ifeq: {{{Advanced|}}}|Yes|'''Advanced:''' {{{Advanced}}}{{Break}}}}<!-- | |||
-->{{#ifeq: {{{Variant|}}}|Yes|'''Variant:''' {{{Variant}}}{{Break}}}}<!-- | |||
-->{{#!:{| class="wikitable" | |||
|- | |||
! Cost !! Weight | |||
|- | |||
| {{#if:{{{CostGp|}}}|{{Mapper Cost|{{{CostGp}}}}}|{{{Cost|—}}}}} || {{{Weight|—}}} | |||
|}}}<!-- | |||
-->{{#if: {{{Fluff|}}}|''{{{Fluff}}}'' | |||
<wbr>|}}<!-- | |||
-->{{#if: {{{Description|}}}|{{{Description}}} | |||
<wbr>|}}<!-- | |||
-->{{#if: {{{Benefit|}}}|'''Benefit:''' {{{Benefit}}} | |||
<wbr>|}}<!-- | |||
-->{{#if: {{{Note|}}}|'''Note:''' {{{Note}}} | |||
<wbr>|}}<!-- | |||
-->{{#if: {{{CraftDC|}}}|'''Craft''' ({{{CraftType|}}}): {{{CraftDC}}} | |||
<wbr>|}} | |||
<gmsection> | |||
* '''Category:''' {{{Category}}} | |||
* '''SubCategory:''' {{{SubCategory}}} | |||
* '''Shops:''' {{{Shop|}}} | |||
</gmsection> | |||
{{OGL|{{{OGL|}}}}} | |||
[[Category:Equipment]] | [[Category:Equipment]] | ||
</includeonly> | </includeonly> |
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.