Difference between revisions of "Template:SystemToSecurity"

From EVE University Wiki
Jump to: navigation, search
(Corrected multi-switch syntax)
m (Change to work with anonymous parameter.)
Line 1: Line 1:
<includeonly>{{#switch: {{lc:{{{system}}}}}
+
<includeonly>{{#switch: {{lc: {{#if: {{{1|}}} | {{{1}}} | {{{system|}}} }} }}
 
  | kisogo
 
  | kisogo
 
  | new caldari
 
  | new caldari

Revision as of 17:55, 13 October 2022

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