Difference between revisions of "Template:Cd/doc"

From blackwiki
Jump to navigation Jump to search
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
imported>Uanfala
m (hatnote)
 
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 +
{{Distinguish|Template:CD}}
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
  

Latest revision as of 21:16, 5 May 2020

This template displays the symbol for coefficient of drag with an optional link to Drag coefficient (link=yes) or Automobile drag coefficient (link=car) and an optional value.

If long=yes then the phrase 'drag coefficient 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

{{Cd|link=yes/car/no|long=yes/no|''value''}}

Examples:

Code Displays as
{{Cd}} Cd
{{Cd|link=yes}} Cd
{{Cd|link=yes|long=yes|0.26}} drag coefficient of Cd=0.26
{{Cd|link=yes|long=plural|0.26}} drag coefficients of Cd=0.26
{{Cd|link=car}} Cd
{{Cd|link=car|long=yes|0.26}} drag coefficient of Cd=0.26
{{Cd|link=car|long=plural|0.26}} drag coefficients of Cd=0.26
{{Cd|link=no}} Cd
{{Cd|link=no|long=yes|0.26}} drag coefficient of Cd=0.26
{{Cd|link=no|long=plural|0.26}} drag coefficients of Cd=0.26
{{Cd|0.26}} Cd=0.26
{{Cd|0.26|link=yes}} Cd=0.26
{{Cd|0.26|link=car}} Cd=0.26
{{Cd|0.26|link=no}} Cd=0.26

See also

  • {{CdA}} for drag area.
  • {{Crr}} for coefficient of rolling resistance.