Actions

Template

Difference between revisions of "Equipment DescList"

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="}}"}}
 
|where={{#if: {{{2|}}}|(Category="{{#replace:{{{1}}}|,|" OR Category="}}") AND (SubCategory="{{#replace:{{{2}}}|,|" OR SubCategory="}}")|Category="{{#replace:{{{1}}}|,|" OR Category="}}"}}
 
|order by=Name
 
|order by=Name
|fields=_pageName,Name,Fluff,Description,Benefit,Note
+
|fields=_pageName AS Page,Name,Fluff,Description,Benefit,Note
 
|format=template
 
|format=template
 
|template=Equipment_DescList_Item
 
|template=Equipment_DescList_Item
 
|named args=yes
 
|named args=yes
 
}}
 
}}

Revision as of 21:31, 25 September 2019

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)
Error: No field named "_pageName AS Page" found for any of the specified database tables.