8,756
edits
(update query to fix bug if two creatures have the same plainname) |
|||
Line 1: | Line 1: | ||
==Creatures in the {{{1|{{#titleparts:{{PAGENAME}}}}}}} Faction== | ==Creatures in the {{{1|{{#titleparts:{{PAGENAME}}}}}}} Faction== | ||
{{#cargo_query:tables=CreatureFactions=CF,GeneralData=GD,Characters=C | |||
|join on = CF.JoinKey=GD.JoinKey, C.JoinKey=CF.JoinKey | |||
| | |fields=CONCAT('{{((}}favilink page{{!}}' , GD._pageName, '{{))}}'), Level | ||
| | |where=Faction="{{{1|{{#titleparts:{{PAGENAME}}}}}}}" AND CF._pageNamespace='0' AND GD.DisplayChar <> '' | ||
| | |order by=Level, PlainName | ||
| | |group by = C._pageName | ||
| | |format = ul | ||
| | |columns = 2}} | ||
| | <noinclude>[[Category:Query Templates]]</noinclude> |