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

Template:EmpireRelations: Difference between revisions

Template page
Arin Mara (talk | contribs)
Created an Empire Relations template to output the name of an Empire depending on their relationship
 
m Make Relation Type case insensitive.
 
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{#switch: {{{faction}}}
<includeonly>{{#switch: {{lc:{{{empire}}} }}
  | Amarr
  | amarr
  | Amarr Empire={{#switch: {{{relation}}}
  | amarr empire = {{#switch: {{lc:{{{relation}}} }}
  | ally    =Caldari
  | ally    = Caldari
  | enemy  =Minmatar
  | enemy  = Minmatar
  | neutral =Gallente
  | neutral = Gallente
| #default = <span style="color:red">Unknown Faction Relation</span>
}}
}}
| caldari
| caldari state = {{#switch: {{lc:{{{relation}}} }}
| ally    = Amarr
| enemy  = Gallente
| neutral = Minmatar
| #default = <span style="color:red">Unknown Faction Relation</span>
}}
}}
| gallente
| gallente federation = {{#switch: {{lc:{{{relation}}} }}
| ally    = Minmatar
| enemy  = Caldari
| neutral = Amarr
| #default = <span style="color:red">Unknown Faction Relation</span>
}}
| minmatar
| minmatar republic = {{#switch: {{lc:{{{relation}}} }}
| ally    = Gallente
| enemy  = Amarr
| neutral = Caldari
| #default = <span style="color:red">Unknown Faction Relation</span>
}}
| #default = <span style="color:red">Unknown Empire</span>
}}</includeonly><noinclude>
{{documentation}}
</noinclude>