Difference between revisions of "Template:Crr/doc"

From blackwiki
Jump to navigation Jump to search
imported>Stepho-wrs
(←Created page with '{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> This template displays the symbol for coefficient of rolling...')
 
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
Line 44: Line 44:
 
*{{tlx|Cd}} for coefficient of drag.
 
*{{tlx|Cd}} for coefficient of drag.
  
−
<includeonly>
+
<includeonly>{{Sandbox other||
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
[[Category:Automotive templates]]
 
[[Category:Automotive templates]]
−
</includeonly>
+
}}</includeonly>

Latest revision as of 22:16, 24 April 2020

This template displays the symbol for coefficient of rolling resistance with an optional link to Rolling resistance (link=yes) and an optional value.

If long=yes then the phrase 'rolling resistance of' is added to the front to make it easier to read as part of a full sentence. If long is not specified at all then it defaults to no.

Usage

{{Crr|link=yes/no|long=yes/no|''value''}}

Examples:

Code Displays as
{{Crr}} Crr
{{Crr|link=yes}} Crr
{{Crr|link=yes|long=yes|0.26}} rolling resistance of Crr=0.26
{{Crr|link=no}} Crr
{{Crr|link=no|long=yes|0.26}} rolling resistance of Crr=0.26
{{Crr|0.26}} Crr=0.26
{{Crr|0.26|link=yes}} Crr=0.26
{{Crr|0.26|link=no}} Crr=0.26

See also

  • {{Cd}} for coefficient of drag.