More actions
Wrote the template docs |
mNo edit summary |
||
| Line 27: | Line 27: | ||
::gives... {{ColorSecurityRating | rating = -1.0}} | ::gives... {{ColorSecurityRating | rating = -1.0}} | ||
<includeonly>[[Category: | <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