Template:Creature navbox query: Difference between revisions
Jump to navigation
Jump to search
m (use regular space instead of in one spot to allow linebreaks to occur in navbox (otherwise it flows offscreen)) |
mNo edit summary |
||
Line 4: | Line 4: | ||
|q?fields=GD.PlainName=Page | |q?fields=GD.PlainName=Page | ||
|q?where=Faction='{{#replace:{{{1|}}}|'|\'}}' AND GD._pageNamespace ='0' {{#switch:{{{2|_NULL_}}}|common= AND (EI.Info NOT LIKE "%Unique,%" OR EI.Info IS NULL)|unique= AND EI.Info LIKE "%Unique,%"|}} | |q?where=Faction='{{#replace:{{{1|}}}|'|\'}}' AND GD._pageNamespace ='0' {{#switch:{{{2|_NULL_}}}|common= AND (EI.Info NOT LIKE "%Unique,%" OR EI.Info IS NULL)|unique= AND EI.Info LIKE "%Unique,%"|}} | ||
|q?groupBy=CF._pageName | |||
|template=favilink | |template=favilink | ||
|delimiter= - </span><span style="display:inline-block">}}</span></includeonly><noinclude>[[Category:Query Templates]] | |delimiter= - </span><span style="display:inline-block">}}</span></includeonly><noinclude>[[Category:Query Templates]] |
Revision as of 16:25, 19 September 2019
A query that returns all creatures favilinked within a faction, delimited by hyphens. First argument must be the faction name.
second argument | returns |
---|---|
common | returns all common creatures (not unique) |
unique | returns all unique creatures |
By default, all creatures will be returned together regardless of unique status.