Difference between revisions of "Template:EmpireRelations/doc"

From EVE University Wiki
Jump to: navigation, search
(Created template documentation)
 
m
Line 25: Line 25:
 
::gives... {{EmpireRelations | empire = Amarr Empire | relation = ALLY}}
 
::gives... {{EmpireRelations | empire = Amarr Empire | relation = ALLY}}
  
 +
<includeonly>[[Category:Template|{{PAGENAME}}]]</includeonly>
 
<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
 
<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>

Revision as of 07:51, 23 December 2020

Main article: Template:EmpireRelations
Description
The template implements the relationships.
This dictionary template outputs the name of the Empire's ally, enemy or neutral Empire.
Syntax
{{EmpireRelations | empire = Faction Name | relation = Relation Name}}
Parameters
empire
The name of the Empire. Case and full name insensitive.
relation
Possible values: ally, enemy, neutral.
Sample output
{{EmpireRelations | empire = Amarr Empire | relation = ally}}
{{EmpireRelations | empire = Amarr | relation = ally}}
{{EmpireRelations | empire = amarr | relation = ally}}
gives... Caldari
{{EmpireRelations | empire = Gallente Federation | relation = neutral}}
{{EmpireRelations | empire = Gallente | relation = neutral}}
{{EmpireRelations | empire = gallente | relation = neutral}}
gives... Amarr
{{EmpireRelations | empire = Interbus | relation = ally}}
gives... Unknown Empire
{{EmpireRelations | empire = Amarr Empire | relation = ALLY}}
gives... Caldari