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 2: Line 2:
{{#cargo_declare:_table=Factions
{{#cargo_declare:_table=Factions
| Codename=String
| Codename=String
| Allies=String
| Enemies=String
| Enemies=String
| Leader_1=String
| Leader_1=String
Line 24: Line 25:
|headers=yes
|headers=yes
}}
}}
== Allies ==
{{#cargo_query:
|tables=Factions
|fields=_pageName=Faction
|where=Factions.Codename!='{{{Codename}}}' AND
      (Factions.Allies LIKE CONCAT('%,', '{{{Codename}}}', ',%') OR
      Factions.Allies LIKE CONCAT('{{{Codename}}}', ',%') OR
      Factions.Allies LIKE CONCAT('%,', '{{{Codename}}}') OR
      Factions.Allies = '{{{Codename}}}')
|format=table
|headers=yes
}}


== Enemies ==
== Enemies ==

Revision as of 03:50, 7 November 2024

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