Actions

Template

Difference between revisions of "MagicItemListAbreviated"

From Titan's Teeth

Line 9: Line 9:
  
 
--><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}}}%"|}} {{#if:{{{playeronly|}}}|AND ForPlayer = '{{{playeronly}}}'|}}
+
|where=Type LIKE "%{{{type}}}%" {{#if:{{{subtype|}}}|AND Subtype LIKE "%{{{subtype}}}%"|}} {{#if:{{{slot|}}}|AND Slot LIKE "%{{{slot}}}%"|}} {{#if:{{{playeronly|}}}|AND ForPlayer = {{{playeronly}}}|}}
 
|order by=Name
 
|order by=Name
 
|fields=_pageName = Page,Name,Slot,Weight,Fluff,Description
 
|fields=_pageName = Page,Name,Slot,Weight,Fluff,Description

Revision as of 14:48, 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)
  • playeronly: whether it should show only items that are visible to players (optional)