<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.midsouthmakers.org/index.php?action=history&amp;feed=atom&amp;title=Template%3ABbl_to_t%2Fdoc</id>
	<title>Template:Bbl to t/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.midsouthmakers.org/index.php?action=history&amp;feed=atom&amp;title=Template%3ABbl_to_t%2Fdoc"/>
	<link rel="alternate" type="text/html" href="http://wiki.midsouthmakers.org/index.php?title=Template:Bbl_to_t/doc&amp;action=history"/>
	<updated>2026-05-11T17:07:09Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>http://wiki.midsouthmakers.org/index.php?title=Template:Bbl_to_t/doc&amp;diff=3812&amp;oldid=prev</id>
		<title>Dan9186: 1 revision</title>
		<link rel="alternate" type="text/html" href="http://wiki.midsouthmakers.org/index.php?title=Template:Bbl_to_t/doc&amp;diff=3812&amp;oldid=prev"/>
		<updated>2010-09-01T13:49:24Z</updated>

		<summary type="html">&lt;p&gt;1 revision&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
&amp;lt;!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. --&amp;gt;&lt;br /&gt;
==Usage==&lt;br /&gt;
:{{&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;bbl to t| 1 | 2 | 3 | 4 |API=|abbr=|lk=|adj=|per=|t_per=|mlt=&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
===Examples===&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|{{&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;bbl to t|100&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;}}||gives||{{bbl to t|100}}&lt;br /&gt;
|-&lt;br /&gt;
|&amp;#039;&amp;#039;round to three significant figures&amp;#039;&amp;#039;:&lt;br /&gt;
|{{&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;bbl to t|100|3&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;}}||gives||{{bbl to t|100|3}}&lt;br /&gt;
|-&lt;br /&gt;
|&amp;#039;&amp;#039;define density&amp;#039;&amp;#039;:&lt;br /&gt;
|{{&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;bbl to t|100|API=22&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;}}||gives||{{bbl to t|100|API=22}}&lt;br /&gt;
|-&lt;br /&gt;
|&amp;#039;&amp;#039;abbreviate&amp;#039;&amp;#039;:&lt;br /&gt;
|{{&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;bbl to t|100|abbr=on&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;}}||gives||{{bbl to t|100|abbr=on}}&lt;br /&gt;
|-&lt;br /&gt;
|&amp;#039;&amp;#039;link&amp;#039;&amp;#039;:&lt;br /&gt;
|{{&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;bbl to t|100|lk=on&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;}}||gives||{{bbl to t|100|lk=on}}&lt;br /&gt;
|-&lt;br /&gt;
|&amp;#039;&amp;#039;adjectives&amp;#039;&amp;#039;&lt;br /&gt;
|{{&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;bbl to t|100|adj=on&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;}}||gives||{{bbl to t|100|adj=on}}&lt;br /&gt;
|-&lt;br /&gt;
|&amp;#039;&amp;#039;rates&amp;#039;&amp;#039;:&lt;br /&gt;
|{{&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;bbl to t|100|per=d&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;}}||gives||{{bbl to t|100|per=d}}&lt;br /&gt;
|-&lt;br /&gt;
|&amp;#039;&amp;#039;rates with different time units&amp;#039;&amp;#039;:&lt;br /&gt;
|{{&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;bbl to t|100|per=d|t_per=a&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;}}||gives||{{bbl to t|100|per=d|t_per=a}}&lt;br /&gt;
|-&lt;br /&gt;
|&amp;#039;&amp;#039;ranges&amp;#039;&amp;#039;:&lt;br /&gt;
|{{&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;bbl to t|100|to|200&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;}}||gives||{{bbl to t|100|to|200}}&lt;br /&gt;
|-&lt;br /&gt;
|&amp;#039;&amp;#039;large numbers of barrels&amp;#039;&amp;#039;:&lt;br /&gt;
|{{&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;bbl to t|100|mlt=M&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;}}||gives||{{bbl to t|100|mlt=M}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
See [[Template talk:Bbl to t#More examples|talk]] for more examples.&lt;br /&gt;
&lt;br /&gt;
===Parameters===&lt;br /&gt;
&amp;#039;&amp;#039;Italicized&amp;#039;&amp;#039; parameters are optional:&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;1&amp;#039;&amp;#039;&amp;#039; is a required parameter, which specifies the number of oil barrels to be converted to tonnes (metric tons).  Please do not format this parameter; i.e., use 1234 instead of 1,234.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;API&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039; is the [[API gravity]] factor.  The default value is&amp;amp;nbsp;33.4, corresponding to a density of 858.1 kg/m³ or 7.330 bbl/t at 60 °F.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;2&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039; can either be a word or a number dependant on &amp;quot;[[#Modes|mode]]&amp;quot;.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;3&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039; is used only in range mode.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;4&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039; is used only in range mode.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;abbr&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039; can take values of either &amp;#039;&amp;#039;on&amp;#039;&amp;#039; or &amp;#039;&amp;#039;off&amp;#039;&amp;#039;.  The default value is &amp;#039;&amp;#039;off&amp;#039;&amp;#039;, which will show the names of the units as specified in the [[WP:MOSNUM#Units of measurement|Manual of Style for dates and numbers]] (barrels, t); &amp;#039;&amp;#039;on&amp;#039;&amp;#039; will show the abbreviated names of the units (bbl, t).&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;lk&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039; specifies whether the names of the units should be linked and can take values of either &amp;#039;&amp;#039;on&amp;#039;&amp;#039; or &amp;#039;&amp;#039;off&amp;#039;&amp;#039;. The default value is &amp;#039;&amp;#039;off&amp;#039;&amp;#039;.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;adj&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039; is used for adjectives and can take values of either &amp;#039;&amp;#039;on&amp;#039;&amp;#039; or &amp;#039;&amp;#039;off&amp;#039;&amp;#039;.  The default value is &amp;#039;&amp;#039;off&amp;#039;&amp;#039;.  Setting this parameter to &amp;#039;&amp;#039;on&amp;#039;&amp;#039; will put hyphens in and make &amp;#039;&amp;#039;barrel&amp;#039;&amp;#039; singular.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;per&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039; is used for rates. Use &amp;lt;code&amp;gt;h&amp;lt;/code&amp;gt; for &amp;quot;per hour&amp;quot;, &amp;lt;code&amp;gt;d&amp;lt;/code&amp;gt; for &amp;quot;per day&amp;quot; and &amp;lt;code&amp;gt;a&amp;lt;/code&amp;gt; for &amp;quot;per [[annum]]&amp;quot;.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;t_per&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039; is used for tonne rates if a different time unit than that used for barrels is desired.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;mlt&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039; specifies whether to convert barrels, thousands of barrels, millions of barrels, billions of barrels or trillions of barrels.  Set this parameter to the appropriate [[SI prefix]].  Note the billion and trillion used here are the &amp;quot;[[long and short scales|short scale]]&amp;quot; ones (10&amp;lt;sup&amp;gt;9&amp;lt;/sup&amp;gt; and 10&amp;lt;sup&amp;gt;12&amp;lt;/sup&amp;gt; respectively).&lt;br /&gt;
&lt;br /&gt;
===Modes===&lt;br /&gt;
;Single-conversion mode&lt;br /&gt;
In single-conversion mode template converts a single value.  In standard mode &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;2&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039; determines the number of significant figures in the output.&lt;br /&gt;
&lt;br /&gt;
;Dual-conversion mode&lt;br /&gt;
Setting &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;2&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039; to a word puts the template into dual-conversion mode.  In this mode the template converts two values conjoined with the given word.  The first value is determined by &amp;#039;&amp;#039;&amp;#039;1&amp;#039;&amp;#039;&amp;#039; and the second value is determined by &amp;#039;&amp;#039;&amp;#039;3&amp;#039;&amp;#039;&amp;#039;.  In dual conversion mode the number of significant figures in the output can be given by &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;4&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
===Rounding===&lt;br /&gt;
;Rounding to a given number of significant figures&lt;br /&gt;
The template rounds conversions to the number of significant figures given by either &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;2&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039; or &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;4&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039; (dependant on mode as noted above).&lt;br /&gt;
&lt;br /&gt;
;Default rounding&lt;br /&gt;
Where no number of significant figures is specified the default is to round according to the number of significant figures in the input. See [[Template talk:Bbl to t#New features|talk]] for details.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* {{tl|convert}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;&amp;lt;!--&lt;br /&gt;
++++ PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE, INSIDE INCLUDEONLY TAGS, THANK YOU. --&amp;gt;&lt;br /&gt;
[[Category:Conversion templates|Bbl to t]]&lt;br /&gt;
[[pt:Predefinição:Bbl to t]]&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dan9186</name></author>
	</entry>
</feed>