Actions

Template

Difference between revisions of "MagicItemGmListTable"

From Titan's Teeth

 
(One intermediate revision by the same user not shown)
Line 9: Line 9:
 
     |where=Type LIKE "%{{{Type|}}}%" AND GL = {{{Level|1}}} {{#if:{{{Subtype|}}}|AND Subtype LIKE "%{{{Subtype}}}%"|}} {{#if:{{{Slot|}}}|AND Slot LIKE "%{{{Slot}}}%"|}}
 
     |where=Type LIKE "%{{{Type|}}}%" AND GL = {{{Level|1}}} {{#if:{{{Subtype|}}}|AND Subtype LIKE "%{{{Subtype}}}%"|}} {{#if:{{{Slot|}}}|AND Slot LIKE "%{{{Slot}}}%"|}}
 
     |order by=Price
 
     |order by=Price
     |fields=CONCAT( '[[', _pageName, '|', Name, ']]' ) = Name, CONCAT(Price, ' gp') = Cost
+
     |fields=CONCAT( '[[', _pageName, '#', Name, '|', Name, ']]' ) = Name, CONCAT(Price, ' gp') = Cost
     |format=ul
+
     |format=ol
 
     |columns=3
 
     |columns=3
 
     }}
 
     }}
 
</div></includeonly>
 
</div></includeonly>

Latest revision as of 22:03, 10 February 2020

  • Level: Level of gear to display
  • Type: Type of magic item to display
  • Subtype: subtype that should be included (optional)
  • Slot: slot that should be included (optional)