Actions

Template

Difference between revisions of "MagicItemGmList"

From Titan's Teeth

Line 79: Line 79:
 
     {{#cargo_query:tables=MagicItems
 
     {{#cargo_query:tables=MagicItems
 
     |where=Type LIKE "%{{{Type|}}}%" AND GL = 8
 
     |where=Type LIKE "%{{{Type|}}}%" AND GL = 8
 +
    |order by=Price
 +
    |fields=Name, CONCAT(Price, ' gp') = Cost
 +
    |format=ul
 +
    |columns=3
 +
    }}
 +
</div>}}{{#ifexpr:{{{Min|1}}} <= 9 and {{{Max|20}}} >= 9|<wbr>
 +
=== 9 ===
 +
<div style="max-width:100%;margin:10px;background-color:white;padding:.8em;border:1px solid #DDDDDD;">
 +
    {{#cargo_query:tables=MagicItems
 +
    |where=Type LIKE "%{{{Type|}}}%" AND GL = 9
 
     |order by=Price
 
     |order by=Price
 
     |fields=Name, CONCAT(Price, ' gp') = Cost
 
     |fields=Name, CONCAT(Price, ' gp') = Cost

Revision as of 21:06, 9 January 2020

  • Type: Type of magic item to display
  • Min: Minimum gear level to display (Optional)
  • Max: Maximum gear level to display (Optional)