Difference between revisions of "Template:CdA/doc"
Jump to navigation
Jump to search
imported>OSX |
imported>Lithopsian (update link target) |
||
| 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 | + | 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>. | ||
Revision as of 17:43, 18 December 2018
| 40px | This is a documentation subpage for Template:CdA. It contains usage information, categories and other content that is not part of the original template page. |
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.