Actions

Template

Difference between revisions of "MagicItemListAbreviated"

From Titan's Teeth

Line 4: Line 4:
 
* type: type that should be included
 
* type: type that should be included
 
* subtype: subtype that should be included (optional)
 
* subtype: subtype that should be included (optional)
 +
* slot: slot that should be included (optional)
 
</noinclude><!--
 
</noinclude><!--
  
 
--><includeonly>{{#cargo_query:tables=MagicItems
 
--><includeonly>{{#cargo_query:tables=MagicItems
|where=Type LIKE "%{{{type}}}%" {{#if:{{{subtype|}}}|AND Subtype LIKE "%{{{subtype}}}%"|}}
+
|where=Type LIKE "%{{{type}}}%" {{#if:{{{subtype|}}}|AND Subtype LIKE "%{{{subtype}}}%"|}} {{#if:{{{slot|}}}|AND Slot LIKE "%{{{slot}}}%"|}}
 
|order by=Name
 
|order by=Name
 
|fields=_pageName = Page,Name,Slot,Weight,Description
 
|fields=_pageName = Page,Name,Slot,Weight,Description

Revision as of 15:29, 3 January 2020

All lower-case

  • type: type that should be included
  • subtype: subtype that should be included (optional)
  • slot: slot that should be included (optional)