Template:ColorSecurityRating/doc

From EVE University Wiki
< Template:ColorSecurityRating
Revision as of 17:16, 13 October 2022 by Evon R'al (talk | contribs) (Update for use of anonymous parameter.)
Jump to: navigation, search
Description
This template is used to color System Security Ratings.
Syntax
{{ColorSecurityRating|<rating>}}
Parameters
rating
The System Security Rating between 1.0 and -1.0, inclusive.
Deprecated parameters
Do not use for new instances of the the template. When editing a page where this parameter is used, please change to the new form. There is no need to edit a page just to change the parameter use.
rating=
Named parameter for the rating used as rating=0.5.
Sample
{{ColorSecurityRating | 1.0}}
gives... 1.0
{{ColorSecurityRating | 0.8}}
gives... 0.8
{{ColorSecurityRating | 0.5}}
gives... 0.5
{{ColorSecurityRating | 0.4}}
gives... 0.4
{{ColorSecurityRating | 0.1}}
gives... 0.1
{{ColorSecurityRating | 0.0}}
gives... 0.0
{{ColorSecurityRating | -0.2}}
gives... -0.2
{{ColorSecurityRating | -0.6}}
gives... -0.6
{{ColorSecurityRating | -1.0}}
gives... -1.0