Difference between revisions of "Template:CdA/doc"

From blackwiki
Jump to navigation Jump to search
imported>OSX
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(3 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
  
−
This template displays the symbol for drag area with an optional link to [[Drag coefficient]] (<code>link=yes</code>) or [[Automobile drag coefficient#Drag area]] (<code>link=car</code>) and an optional value.
+
This template displays the symbol for drag area with an optional link to [[drag area]] (<code>link=yes</code>) or [[Automobile drag coefficient#Drag area]] (<code>link=car</code>) and an optional value.
  
 
If <code>long=yes</code> then the phrase 'drag area of' is added to the front to make it easier to read as part of a full sentence. If <code>long</code> is not specified at all then it defaults to <code>no</code>.
 
If <code>long=yes</code> then the phrase 'drag area of' is added to the front to make it easier to read as part of a full sentence. If <code>long</code> is not specified at all then it defaults to <code>no</code>.
Line 52: Line 52:
  
 
*{{tlx|Cd}} for coefficient of drag.
 
*{{tlx|Cd}} for coefficient of drag.
−
*{{tlx|CxA}} for an alternative form of {{CdA}}.
 
  
−
<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.