Difference between revisions of "Template:EmpireRelations/doc"
From EVE University Wiki
m (Moved to the Category:Data templates) |
m (Remove unnecessary {{Main}}. Clean up source.) |
||
Line 1: | Line 1: | ||
− | + | ; Description | |
+ | [[File:FW faction alliances.png|thumb|200px|The template implements the relationships.]] | ||
+ | :This dictionary template outputs the name of the Empire's ally, enemy or neutral Empire. | ||
− | |||
− | |||
− | |||
;Syntax | ;Syntax | ||
− | : | + | : {{T|EmpireRelations |2= empire = Faction Name |3= relation = Relation Type}} |
− | ; Parameters | + | :; Parameters |
− | : | + | ::; empire : The name of the [[Faction#Empires|Empire]]. Case and full name insensitive. |
− | + | ::; relation : Possible values: <code>ally</code>, <code>enemy</code>, <code>neutral</code>. | |
− | : | + | |
− | + | ; Sample | |
− | ;Sample | + | : <code><nowiki>{{EmpireRelations | empire = Amarr Empire | relation = ally}}</nowiki></code> |
− | :<code><nowiki>{{EmpireRelations | empire = Amarr Empire | relation = ally}}</nowiki></code> | + | : <code><nowiki>{{EmpireRelations | empire = Amarr | relation = ally}}</nowiki></code> |
− | :<code><nowiki>{{EmpireRelations | empire = Amarr | relation = ally}}</nowiki></code> | + | : <code><nowiki>{{EmpireRelations | empire = amarr | relation = ally}}</nowiki></code> |
− | :<code><nowiki>{{EmpireRelations | empire = amarr | relation = ally}}</nowiki></code> | + | :: gives... {{EmpireRelations | empire = Amarr Empire | relation = ally}} |
− | ::gives... {{EmpireRelations | empire = Amarr Empire | relation = ally}} | + | |
− | :<code><nowiki>{{EmpireRelations | empire = Gallente Federation | relation = neutral}}</nowiki></code> | + | : <code><nowiki>{{EmpireRelations | empire = Gallente Federation | relation = neutral}}</nowiki></code> |
− | :<code><nowiki>{{EmpireRelations | empire = Gallente | relation = neutral}}</nowiki></code> | + | : <code><nowiki>{{EmpireRelations | empire = Gallente | relation = neutral}}</nowiki></code> |
− | :<code><nowiki>{{EmpireRelations | empire = gallente | relation = neutral}}</nowiki></code> | + | : <code><nowiki>{{EmpireRelations | empire = gallente | relation = neutral}}</nowiki></code> |
− | ::gives... {{EmpireRelations | empire = Gallente Federation | relation = neutral}} | + | :: gives... {{EmpireRelations | empire = Gallente Federation | relation = neutral}} |
− | :<code><nowiki>{{EmpireRelations | empire = Interbus | relation = ally}}</nowiki></code> | + | |
− | ::gives... {{EmpireRelations | empire = Interbus | relation = ally}} | + | : <code><nowiki>{{EmpireRelations | empire = Interbus | relation = ally}}</nowiki></code> |
− | :<code><nowiki>{{EmpireRelations | empire = Amarr Empire | relation = ALLY}}</nowiki></code> | + | :: gives... {{EmpireRelations | empire = Interbus | relation = ally}} |
− | ::gives... {{EmpireRelations | empire = Amarr Empire | relation = ALLY}} | + | |
+ | : <code><nowiki>{{EmpireRelations | empire = Amarr Empire | relation = ALLY}}</nowiki></code> | ||
+ | :: gives... {{EmpireRelations | empire = Amarr Empire | relation = ALLY}} | ||
− | <includeonly>[[Category:Data templates | + | <includeonly>[[Category:Data templates]]</includeonly> |
− | <noinclude>[[Category:Template documentation | + | <noinclude>[[Category:Template documentation]]</noinclude> |
Latest revision as of 14:52, 9 November 2022
- Description
- This dictionary template outputs the name of the Empire's ally, enemy or neutral Empire.
- Syntax
- {{EmpireRelations |<empire = Faction Name>|<relation = Relation Type>}}
- Parameters
-
- empire
- The name of the Empire. Case and full name insensitive.
- relation
- Possible values:
ally
,enemy
,neutral
.
- Sample
{{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