Difference between revisions of "Template:ColorSecurityRating/doc"

From EVE University Wiki
Jump to: navigation, search
(Wrote the template docs)
 
m
Line 27: Line 27:
 
::gives... {{ColorSecurityRating | rating = -1.0}}
 
::gives... {{ColorSecurityRating | rating = -1.0}}
  
<includeonly>[[Category:Template|{{PAGENAME}}]]</includeonly>
+
<includeonly>[[Category:Data templates|{{PAGENAME}}]]</includeonly>
 
<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
 
<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>

Revision as of 09:15, 22 March 2021

Description
This template is used to color System Security Ratings.
Syntax
{{ColorSecurityRating | rating = Security Rating}}
Parameters
rating
The System Security Rating between 1.0 and -1.0, inclusive.
Sample output
{{ColorSecurityRating | rating = 1.0}}
gives... 1.0
{{ColorSecurityRating | rating = 0.8}}
gives... 0.8
{{ColorSecurityRating | rating = 0.5}}
gives... 0.5
{{ColorSecurityRating | rating = 0.4}}
gives... 0.4
{{ColorSecurityRating | rating = 0.1}}
gives... 0.1
{{ColorSecurityRating | rating = 0.0}}
gives... 0.0
{{ColorSecurityRating | rating = -0.2}}
gives... -0.2
{{ColorSecurityRating | rating = -0.6}}
gives... -0.6
{{ColorSecurityRating | rating = -1.0}}
gives... -1.0