Difference between revisions of "Template:SystemToSecurity/doc"

From EVE University Wiki
Jump to: navigation, search
(Documented the template)
 
m (Update for use of anonymous parameter.)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
; Description
 +
: This dictionary template outputs the [[Security Rating]] of a System.
  
;Description
+
; Syntax
:This dictionary template outputs the [[Security Rating]] of a System.
+
: {{T|SystemToSecurity|system}}
;Syntax
+
:; Parameters
:<pre><nowiki>{{SystemToSecurity | system = System Name}}</code></pre>
+
::; system : The name of the System. Case insensitive.
; Parameters
 
: <code>system</code>
 
:: The name of the System. Case insensitive.
 
;Sample output
 
:<pre><nowiki>{{SystemToSecurity | system = Jita}}</nowiki></pre>
 
:<pre><nowiki>{{SystemToSecurity | system = jita}}</nowiki></pre>
 
::gives... {{SystemToSecurity | system = Jita}}
 
:<pre><nowiki>{{SystemToSecurity | system = Amygnon}}</nowiki></pre>
 
:<pre><nowiki>{{SystemToSecurity | system = amygnon}}</nowiki></pre>
 
::gives... {{SystemToSecurity | system = Amygnon}}
 
  
<includeonly>[[Category:Template|{{PAGENAME}}]]</includeonly>
+
; Sample
<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
+
: {{Code|<nowiki>{{SystemToSecurity | Jita}}</nowiki>}} gives... {{SystemToSecurity|Jita}}
 +
 
 +
: {{Code|<nowiki>{{SystemToSecurity | amygnon}}</nowiki>}} gives... {{SystemToSecurity|amygnon}}
 +
 
 +
<includeonly>[[Category:Data templates]]</includeonly>
 +
<noinclude>[[Category:Template documentation]]</noinclude>

Latest revision as of 17:58, 13 October 2022

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