Difference between revisions of "Template:Cd/doc"
Jump to navigation
Jump to search
imported>Stepho-wrs (Added |long=plural option.) |
imported>OSX |
||
| Line 61: | Line 61: | ||
*{{tlx|CdA}} for drag area. | *{{tlx|CdA}} for drag area. | ||
| − | |||
*{{tlx|Crr}} for coefficient of rolling resistance. | *{{tlx|Crr}} for coefficient of rolling resistance. | ||
Revision as of 14:48, 7 September 2016
| This is a documentation subpage for Template:Cd. It contains usage information, categories and other content that is not part of the original template page. |
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