Template:ColorSecurityRating/doc

From EVE University Wiki
< Template:ColorSecurityRating
Revision as of 21:24, 19 February 2021 by Arin Mara (talk | contribs) (Wrote the template docs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
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