Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Revision as of 02:19, 16 May 2025 by Appolomyi (talk | contribs)
Template documentation (for the above template, sometimes hidden or invisible)
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...
 <style>
   html.skin-theme-clientpref-day.skin-citizen-light .darker-rating {
     display: inline-block;
     background-color: #020202;
     padding: 0.1em 0.3em;
     border-radius: 0.2em;
   }
 </style>
 1.0


{{ColorSecurityRating | 0.8}}
gives...
 <style>
   html.skin-theme-clientpref-day.skin-citizen-light .darker-rating {
     display: inline-block;
     background-color: #020202;
     padding: 0.1em 0.3em;
     border-radius: 0.2em;
   }
 </style>
 0.8


{{ColorSecurityRating | 0.5}}
gives...
 <style>
   html.skin-theme-clientpref-day.skin-citizen-light .darker-rating {
     display: inline-block;
     background-color: #020202;
     padding: 0.1em 0.3em;
     border-radius: 0.2em;
   }
 </style>
 0.5


{{ColorSecurityRating | 0.4}}
gives...
 <style>
   html.skin-theme-clientpref-day.skin-citizen-light .darker-rating {
     display: inline-block;
     background-color: #020202;
     padding: 0.1em 0.3em;
     border-radius: 0.2em;
   }
 </style>
 0.4


{{ColorSecurityRating | 0.1}}
gives...
 <style>
   html.skin-theme-clientpref-day.skin-citizen-light .darker-rating {
     display: inline-block;
     background-color: #020202;
     padding: 0.1em 0.3em;
     border-radius: 0.2em;
   }
 </style>
 0.1


{{ColorSecurityRating | 0.0}}
gives...
 <style>
   html.skin-theme-clientpref-day.skin-citizen-light .darker-rating {
     display: inline-block;
     background-color: #020202;
     padding: 0.1em 0.3em;
     border-radius: 0.2em;
   }
 </style>
 0.0


{{ColorSecurityRating | -0.2}}
gives...
 <style>
   html.skin-theme-clientpref-day.skin-citizen-light .darker-rating {
     display: inline-block;
     background-color: #020202;
     padding: 0.1em 0.3em;
     border-radius: 0.2em;
   }
 </style>
 Accepted: 1.0 … -1.0


{{ColorSecurityRating | -0.6}}
gives...
 <style>
   html.skin-theme-clientpref-day.skin-citizen-light .darker-rating {
     display: inline-block;
     background-color: #020202;
     padding: 0.1em 0.3em;
     border-radius: 0.2em;
   }
 </style>
 Accepted: 1.0 … -1.0


{{ColorSecurityRating | -1.0}}
gives...
 <style>
   html.skin-theme-clientpref-day.skin-citizen-light .darker-rating {
     display: inline-block;
     background-color: #020202;
     padding: 0.1em 0.3em;
     border-radius: 0.2em;
   }
 </style>
 Accepted: 1.0 … -1.0


See also
Visit Template:ColorSecurityRating/doc to edit this text! (How does this work?) (Refresh this text - why?)