Template:In faction: Difference between revisions

updated to swap to proper table
(doesn't return stuff from template/user namespaces)
(updated to swap to proper table)
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}}}}}" AND _pageNamespace <> '2' AND _pageNamespace <> '10'}}<noinclude>[[Category:Templates]]</noinclude>
{{#cargo_query:table=CreatureFactions|fields=_pageName=Page|format=ul|where=Faction="{{{1|{{PAGENAME}}}}}" AND _pageNamespace <> '2' AND _pageNamespace <> '10'}}<noinclude>[[Category:Templates]]</noinclude>