Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Factions: Difference between revisions

Template page
No edit summary
No edit summary
Line 27: Line 27:
== Enemies ==
== Enemies ==
{{#cargo_query:
{{#cargo_query:
|tables=Factions AS F1, Factions AS F2
|tables=Factions=F1, Factions=F2
|fields=F1._pageName=Faction, F2._pageName=EnemyFaction
|fields=F1._pageName=Faction, F2._pageName=EnemyFaction
|where=F2.Codename='{{{Codename}}}' AND (F1.Enemies LIKE CONCAT('%,', F2.Codename, ',%') OR F1.Enemies LIKE CONCAT(F2.Codename, ',%') OR F1.Enemies LIKE CONCAT('%,', F2.Codename) OR F1.Enemies = F2.Codename)
|join on=F1._ID != F2._ID
|where=F2.Codename='{{{Codename}}}' AND  
      (F1.Enemies LIKE CONCAT('%,', F2.Codename, ',%') OR  
      F1.Enemies LIKE CONCAT(F2.Codename, ',%') OR  
      F1.Enemies LIKE CONCAT('%,', F2.Codename) OR  
      F1.Enemies = F2.Codename)
|format=table
|format=table
|headers=yes
|headers=yes
}}
}}






</includeonly>
</includeonly>

Revision as of 03:46, 7 November 2024

This template defines the table "Factions". View table.