Difference between revisions of "MagicItemListAbreviated"
From Titan's Teeth
Dicemonger (talk | contribs) |
Dicemonger (talk | contribs) |
||
(7 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
* type: type that should be included | * type: type that should be included | ||
* subtype: subtype that should be included (optional) | * subtype: subtype that should be included (optional) | ||
+ | * slot: slot that should be included (optional) | ||
</noinclude><!-- | </noinclude><!-- | ||
--><includeonly>{{#cargo_query:tables=MagicItems | --><includeonly>{{#cargo_query:tables=MagicItems | ||
− | |where=Type LIKE "%{{{type}}}%" {{#if:{{{subtype|}}}|AND Subtype LIKE "%{{{subtype}}}%"|}} | + | |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,Description | + | |fields=_pageName = Page,Name,Slot,Weight,Fluff,Description |
|format=template | |format=template | ||
|template=MagicItemListAbreviatedItem | |template=MagicItemListAbreviatedItem | ||
|named args=yes | |named args=yes | ||
}}</includeonly> | }}</includeonly> |
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)