Difference between revisions of "Template:SystemToRegion/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 Region of a System.
  
;Description
 
:This dictionary template outputs the Region of a System.
 
 
;Syntax
 
;Syntax
:<pre><nowiki>{{SystemToRegion | system = System Name}}</nowiki></pre>
+
: {{T|SystemToRegion|system}}
; Parameters
+
:; Parameters
: <code>system</code>
+
::; system : The name of the System. Case insensitive.
:: The name of the System. Case insensitive.
 
;Sample output
 
:<pre><nowiki>{{SystemToRegion | system = Jita}}</nowiki></pre>
 
:<pre><nowiki>{{SystemToRegion | system = jita}}</nowiki></pre>
 
::gives... {{SystemToRegion | system = Jita}}
 
:<pre><nowiki>{{SystemToRegion | system = Amygnon}}</nowiki></pre>
 
:<pre><nowiki>{{SystemToRegion | system = amygnon}}</nowiki></pre>
 
::gives... {{SystemToRegion | system = Amygnon}}
 
  
<includeonly>[[Category:Data templates|{{PAGENAME}}]]<!-- Any categories for the template itself --></includeonly>
+
; Sample
<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
+
:<pre><nowiki>{{SystemToRegion | Jita}}</nowiki></pre>
 +
:<pre><nowiki>{{SystemToRegion | jita}}</nowiki></pre>
 +
::gives... {{SystemToRegion | Jita}}
 +
:<pre><nowiki>{{SystemToRegion | Amygnon}}</nowiki></pre>
 +
:<pre><nowiki>{{SystemToRegion | amygnon}}</nowiki></pre>
 +
::gives... {{SystemToRegion | Amygnon}}
 +
 
 +
<includeonly>[[Category:Data templates]]<!-- Any categories for the template itself --></includeonly>
 +
<noinclude>[[Category:Template documentation]]</noinclude>

Latest revision as of 17:54, 13 October 2022

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