Difference between revisions of "Template:CorporationToFaction"

From EVE University Wiki
Jump to: navigation, search
m (Remove imperial navy. While the logo shows imperial navy, the text in the info window says Amarr Navy. Imperial Navy is actually a player corporation.)
m (Change to work with anonymous parameter.)
Line 1: Line 1:
<includeonly>{{#switch: {{lc:{{{corporation}}}}}
+
<includeonly>{{#switch: {{lc: {{#if: {{{1|}}} | {{{1}}} | {{{corporation|}}} }} }}
 
<!-- Amarr Empire -->
 
<!-- Amarr Empire -->
 
  | 24th imperial crusade
 
  | 24th imperial crusade

Revision as of 17:59, 13 October 2022

Template documentation (for the above template, sometimes hidden or invisible)
Description
This dictionary template outputs the Faction of an NPC Corporation.
Syntax
{{CorporationToFaction |< corporation>}}
Parameters
corporation : The name of the Corporation. Case insensitive.
Sample
{{CorporationToFaction | Guristas Production}}
{{CorporationToFaction | guristas production}}
gives... Guristas Pirates
{{CorporationToFaction | Garoun Investment Bank}}
{{CorporationToFaction | garoun investment bank}}
gives... Gallente Federation
Visit Template:CorporationToFaction/doc to edit this text! (How does this work?) (Refresh this text - why?)