Actions

Template

Difference between revisions of "Equipment Table"

From Titan's Teeth

Line 9: Line 9:
 
|where={{#if: {{{2|}}}|(Category="{{#replace:{{{1}}}|,|" OR Category="}}") AND (SubCategory="{{#replace:{{{2}}}|,|" OR SubCategory="}}")|Category="{{#replace:{{{1}}}|,|" OR Category="}}"}} AND Hidden is NULL
 
|where={{#if: {{{2|}}}|(Category="{{#replace:{{{1}}}|,|" OR Category="}}") AND (SubCategory="{{#replace:{{{2}}}|,|" OR SubCategory="}}")|Category="{{#replace:{{{1}}}|,|" OR Category="}}"}} AND Hidden is NULL
 
|order by=Name
 
|order by=Name
|fields=CONCAT( '[[', _pageName, '|', Name, ']]' ) = Item,Cost,Weight,CraftDC = Craft DC,Short
+
|fields=CONCAT( '[[', _pageName, '|', Name, ']]' ) = Item,Cost,Weight,Short
 
|format=table
 
|format=table
 
}}
 
}}

Revision as of 16:17, 9 January 2020

All lower-case

  • 1: category. Multiple categories can be added to the table with comma-separation (weapons,armor)
  • 2: subcategory (optional). Multiple subcategories can be added to the table with comma-separation (camping,survival)

No results