Difference between revisions of "Template:SystemToRegion"

From EVE University Wiki
Jump to: navigation, search
(Created a dictionary template that maps systems to their region)
 
m (Change to work with anonymous parameter.)
 
Line 1: Line 1:
<includeonly>{{#switch: {{lc:{{{system}}}}}
+
<includeonly>{{#switch: {{lc: {{#if: {{{1|}}} | {{{1}}} | {{{system|}}} }} }}
 
  | j105443
 
  | j105443
 
  | j100744
 
  | j100744

Latest revision as of 17:50, 13 October 2022

Template documentation (for the above template, sometimes hidden or invisible)
Description
This dictionary template outputs the Region of a System.
Syntax
{{SystemToRegion|<system>}}
Parameters
system
The name of the System. Case insensitive.
Sample
{{SystemToRegion | Jita}}
{{SystemToRegion | jita}}
gives... The Forge
{{SystemToRegion | Amygnon}}
{{SystemToRegion | amygnon}}
gives... Verge Vendor
Visit Template:SystemToRegion/doc to edit this text! (How does this work?) (Refresh this text - why?)