Template:In faction: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
mNo edit summary
(doesn't return stuff from template/user namespaces)
Line 1: Line 1:
==Creatures in the {{{1|{{PAGENAME}}}}} Faction==
==Creatures in the {{{1|{{PAGENAME}}}}} Faction==
{{#cargo_query:table=Characters|fields=_pageName=Page|format=ul|where=Factions HOLDS "{{{1|{{PAGENAME}}}}}"}}<noinclude>[[Category:Templates]]</noinclude>
{{#cargo_query:table=Characters|fields=_pageName=Page|format=ul|where=Factions HOLDS "{{{1|{{PAGENAME}}}}}" AND _pageNamespace <> '2' AND _pageNamespace <> '10'}}<noinclude>[[Category:Templates]]</noinclude>

Revision as of 17:50, 27 July 2019

Creatures in the In faction Faction

Error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'HOLDS "In faction" AND _pageNamespace <> '2' AND _pageNamespace <> '10' ORDE...' at line 1 (localhost)

Function: CargoSQLQuery::run Query: SELECT `_pageName` AS `Page` FROM `Characters` WHERE Factions HOLDS "In faction" AND _pageNamespace <> '2' AND _pageNamespace <> '10' ORDER BY `_pageName` LIMIT 100