Template:Creature navbox query: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (use regular space instead of in one spot to allow linebreaks to occur in navbox (otherwise it flows offscreen)) |
||
Line 5: | Line 5: | ||
|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,%"|}} | ||
|template=favilink | |template=favilink | ||
|delimiter= - | |delimiter= - </span><span style="display:inline-block">}}</span></includeonly><noinclude>[[Category:Query Templates]] | ||
A query that returns all creatures favilinked within a faction, delimited by hyphens. First argument must be the faction name. | A query that returns all creatures favilinked within a faction, delimited by hyphens. First argument must be the faction name. | ||
{|class="wikitable" | {|class="wikitable" |
Revision as of 15:35, 13 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.