Difference between revisions of "Template:CorporationToFaction/doc"

From EVE University Wiki
Jump to: navigation, search
m
m (Update for use of anonymous parameter.)
 
Line 1: Line 1:
 +
; Description
 +
: This dictionary template outputs the [[Faction]] of an NPC Corporation.
 +
 +
; Syntax
 +
: {{T|CorporationToFaction | corporation}}
  
;Description
 
:This dictionary template outputs the [[Faction]] of a NPC Corporation.
 
;Syntax
 
:<pre><nowiki>{{CorporationToFaction | corporation = Corporation Name}}</nowiki></pre>
 
 
; Parameters
 
; Parameters
: <code>corporation</code>
+
:: corporation : The name of the Corporation. Case insensitive.
:: The name of the Corporation. Case insensitive.
+
 
;Sample output
+
; Sample
:<pre><nowiki>{{CorporationToFaction | corporation = Guristas Production}}</nowiki></pre>
+
:<pre><nowiki>{{CorporationToFaction | Guristas Production}}</nowiki></pre>
:<pre><nowiki>{{CorporationToFaction | corporation = guristas production}}</nowiki></pre>
+
:<pre><nowiki>{{CorporationToFaction | guristas production}}</nowiki></pre>
::gives... {{CorporationToFaction | corporation = Guristas Production}}
+
::gives... {{CorporationToFaction | Guristas Production}}
:<pre><nowiki>{{CorporationToFaction | corporation = Garoun Investment Bank}}</nowiki></pre>
+
:<pre><nowiki>{{CorporationToFaction | Garoun Investment Bank}}</nowiki></pre>
:<pre><nowiki>{{CorporationToFaction | corporation = garoun investment bank}}</nowiki></pre>
+
:<pre><nowiki>{{CorporationToFaction | garoun investment bank}}</nowiki></pre>
::gives... {{CorporationToFaction | corporation = Garoun Investment Bank}}
+
::gives... {{CorporationToFaction | Garoun Investment Bank}}
  
<includeonly>[[Category:Data templates|{{PAGENAME}}]]<!-- Any categories for the template itself --></includeonly>
+
<includeonly>[[Category:Data templates]]<!-- Any categories for the template itself --></includeonly>
<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
+
<noinclude>[[Category:Template documentation]]</noinclude>

Latest revision as of 18:05, 13 October 2022

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