More actions
Wrote the template docs |
m Add See also section. |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
; Description | |||
: This template is used to color System [[Security Rating]]s. | |||
; Syntax | |||
: {{T|ColorSecurityRating|rating}} | |||
;Syntax | :; Parameters | ||
: | ::; rating : The System Security Rating between 1.0 and -1.0, inclusive. | ||
; Parameters | :; Deprecated parameters | ||
: | :: Do <em>not</em> 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 | ||
<noinclude>[[Category:Template documentation | :<pre><nowiki>{{ColorSecurityRating | 1.0}}</nowiki></pre> | ||
::gives... {{ColorSecurityRating | 1.0}} | |||
:<pre><nowiki>{{ColorSecurityRating | 0.8}}</nowiki></pre> | |||
::gives... {{ColorSecurityRating | 0.8}} | |||
:<pre><nowiki>{{ColorSecurityRating | 0.5}}</nowiki></pre> | |||
::gives... {{ColorSecurityRating | 0.5}} | |||
:<pre><nowiki>{{ColorSecurityRating | 0.4}}</nowiki></pre> | |||
::gives... {{ColorSecurityRating | 0.4}} | |||
:<pre><nowiki>{{ColorSecurityRating | 0.1}}</nowiki></pre> | |||
::gives... {{ColorSecurityRating | 0.1}} | |||
:<pre><nowiki>{{ColorSecurityRating | 0.0}}</nowiki></pre> | |||
::gives... {{ColorSecurityRating | 0.0}} | |||
:<pre><nowiki>{{ColorSecurityRating | -0.2}}</nowiki></pre> | |||
::gives... {{ColorSecurityRating | -0.2}} | |||
:<pre><nowiki>{{ColorSecurityRating | -0.6}}</nowiki></pre> | |||
::gives... {{ColorSecurityRating | -0.6}} | |||
:<pre><nowiki>{{ColorSecurityRating | -1.0}}</nowiki></pre> | |||
::gives... {{ColorSecurityRating | -1.0}} | |||
; See also | |||
* {{T|SystemToSecurity}} | |||
* {{T|SystemToRegion}} | |||
<includeonly>[[Category:Data templates]]</includeonly> | |||
<noinclude>[[Category:Template documentation]]</noinclude> | |||