Template:Unit: Difference between revisions

From Silvesti
Jump to navigation Jump to search
imported>MJBurrage
Created page with "{{{2|{{{i}}}}}}{{#if:{{{3|{{{n|}}}}}} |{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{{3|{{{n|}}}}}}|1|¹}}|2|..."
 
No edit summary
 
(15 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{{2|{{{i}}}}}}{{#if:{{{3|{{{n|}}}}}}
{{#switch: {{{v}}}
|{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{{3|{{{n|}}}}}}|1|¹}}|2|²}}|3|³}}|4|⁴}}|5|⁵}}|6|⁶}}|7|⁷}}|8|⁸}}|9|⁹}}|0|⁰}}{{#if:{{{4|{{{d|}}}}}}|⁄}}}}{{#if:{{{4|{{{d|}}}}}}
|-  =−
|{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{{4|{{{d|}}}}}}|1|₁}}|2|₂}}|3|₃}}|4|₄}}|5|₅}}|6|₆}}|7|₇}}|8|₈}}|9|₉}}|0|₀}}}}{{#switch: {{{1|{{{un}}}}}}
|+-  =± 
  |c   =°C
|~  =∼ 
  |cent = ¢
|~~  =≈ 
  |cp  = ᴄᴘ
|id  =≡ 
  |cm  = ㎝
|gt  => 
  |deg  =°
|lt  =< 
  |e    = €
|def =≝ 
  |ep  = ᴇᴘ
|#default =
  |f    =°F
}}{{#if: {{{4|}}}{{{i|}}}
  |ft|' =′
|<span data-sort-value="{{#expr: {{{i|{{{2|0}}}}}}+{{{n|{{{3|0}}}}}}/{{{d|{{{4|1}}}}}} }}">{{{i|{{{2}}}}}}<span class="visualhide">&#8239;</span><sup>{{{n|{{{3|}}}}}}</sup>&frasl;<sub>{{{d|{{{4|}}}}}}</sub></span>
  |g    =&#8239;ℊ
|{{#if: {{{3|}}}
|gp  =&#8239;ɢᴘ
  |<span data-sort-value="{{#expr: {{{n|{{{2|0}}}}}}/{{{d|{{{3|1}}}}}} }}">&zwnj;<sup>{{{n|{{{2}}}}}}</sup>&frasl;<sub>{{{d|{{{3}}}}}}</sub></span>
  |in|" =″
  |<span data-sort-value="{{{i|{{{2|}}}}}}">{{{i|{{{2|}}}}}}</span>
  |k    =&#8239;K
  }}
  |km   =&#8239;km
}}{{#if: {{{i|}}}{{{n|}}}{{{d|}}}{{{2|}}}{{{3|}}}{{{4|}}}
  |l   =&#8239;ℓ
|{{#switch: {{{1|{{{un|{{{u}}}}}}}}}
  |lb   =&#8239;℔
|c |° |deg |f |′ |' |′m |'m |″ |" |″s |"s =
  |lbs  =&#8239;£
|foot|ft|inch|in|yard|yd|mile =-
  |m    =&#8239;m
|#default =&#8239;
  |mm  =&#8239;㎜
}}}}{{#switch: {{{1|{{{un|{{{u}}}}}}}}}
  |ohm =&#8239;Ω
  |c|°c    =<abbr class="res-tip" title="degree Celsius">°𝖢</abbr>
  |oz  =&#8239;℥
|cc      =<abbr class="res-tip" title="cubic centimeter (𝗆ℓ)">㏄</abbr>
  |pp  =&#8239;ᴘᴘ
  |cent     =<abbr class="res-tip" title="cent (currency)">¢</abbr>
  |scruple =&#8239;℈
|cm      =<abbr class="res-tip" title="centimeter">㎝</abbr>
  |sp   =&#8239;sᴘ
  |cn      =<abbr class="res-tip" title="coin (¹⁄₁₀&#8239;℔ encumbrance)">𝖼𝗇</abbr>
  |y    =&#8239;¥
  |cp      =<abbr class="res-tip" title="copper piece">ᴄᴘ</abbr>
  |#default =&#8239;{{{1|{{{un}}}}}}}}
  |deg|°    =<abbr class="res-tip" title="degree">'''°'''</abbr>
  |°a      =<abbr class="res-tip" title="degree (arc)">'''°'''</abbr>
  |′a|'a|′m|'m =<abbr class="res-tip" title="minute (arc)">'''′'''</abbr>
|″a|"a|″s|"s =<abbr class="res-tip" title="second (arc)">'''″'''</abbr>
|′|'        =<abbr class="res-tip" title="feet">'''′'''</abbr>
|″|"        =<abbr class="res-tip" title="inch">'''″'''</abbr>
|dra|drachm =<abbr class="res-tip" title="drachm, dram (weight, ¹⁄₈&#8239;℥)">ʒ</abbr>
  |dram    =<abbr class="res-tip" title="dram, fluidram (volume, ¹⁄₈&#8239;ƒ℥)">ƒʒ</abbr>
|e|euro  =<abbr class="res-tip" title="euro (currency)">€</abbr>
|ep      =<abbr class="res-tip" title="electrum piece">ᴇᴘ</abbr>
  |f|°f    =<abbr class="res-tip" title="degree Fahrenheit">°𝖥</abbr>
|fl.oz   =<abbr class="res-tip" title="fluid ounce (volume)">𝖿𝗅.𝗈𝗓.</abbr>
  |foz      =<abbr class="res-tip" title="fluid ounce (volume)">ƒ℥</abbr>
  |fpr      =<abbr class="res-tip" title="feet per round &lt;br&gt;1&#8239;𝖿𝗍/𝗋𝗇𝖽 = .0508&#8239;㎧ ≈ .114&#8239;𝗆𝗉𝗁 ≈ .183&#8239;𝗄𝗉𝗁">𝖿𝗍/𝗋𝗇𝖽</abbr>
  |franc    =<abbr class="res-tip" title="franc (currency)">ƒ</abbr>
|g        =<abbr class="res-tip" title="gram">𝗀</abbr>
  |gal      =<abbr class="res-tip" title="gallon (volume) &lt;br&gt;≡4.54609&#8239;ℓ (Imperial) ≝ 10&#8239;℔ H₂O &lt;br&gt;≈3.7854&#8239;ℓ (US) ≝ 231&#8239;𝗂𝗇³ &lt;br&gt;≈3.25&#8239;ℓ (Roman 𝘤𝘰𝘯𝘨𝘪𝘶𝘴) ≝ ¹⁄₈&#8239;𝘱𝘦𝘴³">㏿</abbr>
|gp      =<abbr class="res-tip" title="gold piece">ɢᴘ</abbr>
|k|°k    =<abbr class="res-tip" title="degree Kelvin">K</abbr>
|kg      =<abbr class="res-tip" title="kilogram">𝗄𝗀</abbr>
  |km       =<abbr class="res-tip" title="kilometer">㎞</abbr>
|kph      =<abbr class="res-tip" title="kilometers per hour &lt;br&gt;1&#8239;𝗄𝗉𝗁 ≈ .621&#8239;𝗆𝗉𝗁 ≈ .278&#8239;㎧ ≈ 5.468&#8239;𝖿𝗍/𝗋𝗇𝖽">𝗄𝗉𝗁</abbr>
  |l       =<abbr class="res-tip" title="liter">ℓ</abbr>
  |lbb|lb-  =<abbr class="res-tip" title="pound (weight)">℔</abbr>
  |lbs     =<abbr class="res-tip" title="pound (currency)">£</abbr>
|m        =<abbr class="res-tip" title="meter">𝗆</abbr>
|mg      =<abbr class="res-tip" title="milligram">𝗆𝗀</abbr>
  |miD      =<abbr class="res-tip" title="6,000&#8239;𝖿𝗍 d20 mile = 1.8288&#8239;㎞ ≈ 1&#8239;𝖭𝗆𝗂">𝗆𝗂<sup>𝖣</sup></abbr>
  |miR      =<abbr class="res-tip" title="Roman mile = 5,000&#8239;𝑝𝑒𝑠 ≈ 1.48&#8239;㎞ ≈ 4860&#8239;𝖿𝗍 &lt;br&gt;𝑚𝑖𝑙𝑙𝑒 𝑝𝑎𝑠𝑠𝑢𝑠 “thousand paces”">𝗆𝗂<sup>𝖱</sup></abbr>
  |miS      =<abbr class="res-tip" title="5,280&#8239;𝖿𝗍 statute mile">𝗆𝗂</abbr>
  |miN|nmi =<abbr class="res-tip" title="≈6,076&#8239;𝖿𝗍 nautical mile"><small>𝖭</small>𝗆𝗂</abbr>
|ml      =<abbr class="res-tip" title="milliliter">𝗆ℓ</abbr>
|mm      =<abbr class="res-tip" title="millimeter">㎜</abbr>
  |mph      =<abbr class="res-tip" title="miles per hour &lt;br&gt;1&#8239;𝗆𝗉𝗁 = 8.8&#8239;𝖿𝗍/𝗋𝗇𝖽 ≈ 1.61&#8239;𝗄𝗉𝗁 ≈ .447&#8239;㎧">𝗆𝗉𝗁</abbr>
  |mps      =<abbr class="res-tip" title="meters per second &lt;br&gt;1&#8239;㎧ = 3.6&#8239;𝗄𝗉𝗁 ≈ 19.7&#8239;𝖿𝗍/𝗋𝗇𝖽 ≈ 2.24&#8239;𝗆𝗉𝗁">㎧</abbr>
|nuyen|ny =<abbr class="res-tip" title="nuyen">¥</abbr>
|ohm      =<abbr class="res-tip" title="ohm">Ω</abbr>
|oz      =<abbr class="res-tip" title="ounce (weight)">℥</abbr>
|pp      =<abbr class="res-tip" title="platinum piece">ᴘᴘ</abbr>
  |scruple =<abbr class="res-tip" title="scruple (weight, ¹⁄₂₄&#8239;℥)">℈</abbr>
  |sp       =<abbr class="res-tip" title="silver piece">sᴘ</abbr>
|w|won    =<abbr class="res-tip" title="won (currency)">₩</abbr>
  |y|yen   =<abbr class="res-tip" title="yen (currency)">¥</abbr>
  |#default ={{{1|{{{un|{{{u}}}}}}}}}
}}

Latest revision as of 18:04, 4 June 2019

{{{u}}}