Template:Unit/doc: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>David Yamakuchi
m (New page: == Usage == <nowiki>{{Unit|kJ/mol}}</nowiki> '''Example''': <pre>{{Unit|kJ/mol}}</pre> gives: {{Unit|kJ/mol}})
 
imported>David Yamakuchi
mNo edit summary
Line 1: Line 1:
== Usage ==
== Usage ==
This template is dual purpose:
#Format the units notation such that it can be compactly displayed in tables, etc.
and
#Remove the units for certain pages that may need to do math with the numeric (magnitude) value.


<nowiki>{{Unit|kJ/mol}}</nowiki>  
<nowiki>{{Unit|kJ/mol}}</nowiki>  

Revision as of 12:35, 23 June 2008

Usage

This template is dual purpose:

  1. Format the units notation such that it can be compactly displayed in tables, etc.

and

  1. Remove the units for certain pages that may need to do math with the numeric (magnitude) value.

{{Unit|kJ/mol}}

Example:

{{Unit|kJ/mol}}

gives:

kJ/mol