Difference between revisions of "Template:CdA/doc"

From blackwiki
Jump to navigation Jump to search
imported>Lithopsian
(update link target)
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
Line 53: Line 53:
 
*{{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 01:29, 24 April 2020

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

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

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

Examples:

Code Displays as
{{CdA}} CdA
{{CdA|link=yes}} CdA
{{CdA|link=yes|long=yes|0.26}} drag area of CdA=0.26
{{CdA|link=car}} CdA
{{CdA|link=car|long=yes|0.26}} drag area of CdA=0.26
{{CdA|link=no}} CdA
{{CdA|link=no|long=yes|0.26}} drag area of CdA=0.26
{{CdA|0.26}} CdA=0.26
{{CdA|0.26|link=yes}} CdA=0.26
{{CdA|0.26|link=car}} CdA=0.26
{{CdA|0.26|link=no}} CdA=0.26

See also

  • {{Cd}} for coefficient of drag.