Difference between revisions of "Template:Equipment Item"

From Epic Paths
Jump to navigation Jump to search
Line 2: Line 2:
{{#template_params:Name|Category|SubCategory|Short|Fluff|Description|Benefit|Note|Cost|Weight|CraftDC|CraftCost|CraftType|OGL}}
{{#template_params:Name|Category|SubCategory|Short|Fluff|Description|Benefit|Note|Cost|Weight|CraftDC|CraftCost|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|CraftCost=Wikitext|CraftType=Wikitext|OGL=String}}
{{#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|CraftCost=Wikitext|CraftType=Wikitext|OGL=String}}
</noinclude><includeonly>{{#cargo_store:_table=Equipment_Items}}
</noinclude><includeonly>{{#cargo_store:_table=Equipment_Items}}<!--
{{#template_display:_format=standard}}
 
-->{{BreadCrumbs|{{{Category}}}}}{{DISPLAYTITLE:{{SUBPAGENAME}}}}<!--
 
-->{{#!:{| class="wikitable"
|-
! Cost !! Weight
|-
| {{{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}}} ({{{CraftCost}}})
 
<wbr>|}}
 
{{AdminCard|
* '''Category:''' {{{Category}}}
* '''SubCategory:''' {{{SubCategory}}}
 
[[Category:Equipment]]
[[Category:Equipment]]
</includeonly>
</includeonly>

Revision as of 20:38, 6 August 2021

This is the "Equipment Item" template.

It should be called in the following format:

{{Equipment Item
|Name=
|Category=
|SubCategory=
|Short=
|Fluff=
|Description=
|Benefit=
|Note=
|Cost=
|Weight=
|CraftDC=
|CraftCost=
|CraftType=
|OGL=
}}

Edit the page to see the template text.

This template defines the table "Equipment_Items". View table.