Actions

Template

Difference between revisions of "MagicItemGmListTable"

From Titan's Teeth

 
(4 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
* Subtype: subtype that should be included (optional)
 
* Subtype: subtype that should be included (optional)
 
* Slot: slot that should be included (optional)
 
* Slot: slot that should be included (optional)
</noinclude><includeonly>=== {{{Level|1}}} ===
+
</noinclude><includeonly><h3> {{{Level|1}}} </h3>
 
<div style="max-width:100%;margin:10px;background-color:white;padding:.8em;border:1px solid #DDDDDD;">
 
<div style="max-width:100%;margin:10px;background-color:white;padding:.8em;border:1px solid #DDDDDD;">
 
     {{#cargo_query:tables=MagicItems
 
     {{#cargo_query:tables=MagicItems
 
     |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)