Actions

Template

Difference between revisions of "MagicItemListAbreviated"

From Titan's Teeth

 
(5 intermediate revisions by the same user not shown)
Line 8: Line 8:
  
 
--><includeonly>{{#cargo_query:tables=MagicItems
 
--><includeonly>{{#cargo_query:tables=MagicItems
|where=Type LIKE "%{{{type}}}%" {{#if:{{{subtype|}}}|AND Subtype LIKE "%{{{subtype}}}%"|}} {{#if:{{{slot|}}}|AND Slot LIKE "%{{{slot}}}%"|}}
+
|where=Type LIKE "%{{{type}}}%" {{#if:{{{subtype|}}}|AND Subtype LIKE "%{{{subtype}}}%"|}} {{#if:{{{slot|}}}|AND Slot LIKE "%{{{slot}}}%"|}} {{#ifeq:{{{playeronly|}}}|no||AND ForPlayer = 1}}
 
|order by=Name
 
|order by=Name
 
|fields=_pageName = Page,Name,Slot,Weight,Fluff,Description
 
|fields=_pageName = Page,Name,Slot,Weight,Fluff,Description

Latest revision as of 14:54, 9 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)