289
edits
Changes
no edit summary
<noinclude>{{Documentation subpage|種類=[[Help:テンプレート|テンプレート]]}}</noinclude><includeonly>{{複雑なテンプレート}}{{#ifeq:{{#titleparts:{{FULLPAGENAME}}|1|}}|Template:Convert2|{{混同|Template:Convert|x1=機能と使用法はほぼ同じですが、テンプレート版の}} {{lua|モジュール:Convert}}|{{混同|Template:Convert2|x1=機能と使用法はほぼ同じですが、Luaモジュールを使用している}}}}</includeonly!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
__NOTOC__
{| class="wikitable"
|-
|-
|-
|-
|-
|-
|小数点以下1桁となるよう四捨五入する場合<nowiki>{{convert|1250|sqft|sqm|1|lk=on}}</nowiki>||{{convert|31250|sqft|sqm|1|lk=on}} |- |<nowiki>{{convert|20.2155|kgsqkm|lbsqmi|1|lk=on|abbr=on}}</nowiki>||{{convert|320.2155|kgsqkm|lbsqmi|1|lk=on|abbr=on}}
|-
|-
|誤差を併記する場合''However''||<nowiki>{{convert|60|+/-|10|m|ft}}</nowiki>||{{convert|60|+/-|10|m|ft}}
|-
|}
{| class="wikitable"
|-
! colspan="2" |<nowikibig>{{convert|60|and|170|kg|lb}}'''In order to...'''</nowikibig>||{{convert|60|and|170|kg|lb}}
|-
|Use [[United States|U.S.]] spelling || attach <code><nowiki>{{convert|60|to|170|kg|lb}}sp=us</nowiki>||{{convert|60|to|170|kg|lb}}</code>
|-
|<nowiki>{{convert|60|toMake units [[Wikipedia:Manual of Style (-links)|170wikilinked]] |kg|lb}}attach <code><nowiki>|lk=on</nowiki></code> (The [[WP:MOS||{{convert|60|to(-manual of style]] suggests that you only link the first instance)|170|kg|lb}}.
|-
|Use the singular for grammar || attach <code><nowiki>{{convert|60|-|170|kg|lb}}sing=on</nowiki>||{{convert|60|-|170|kg|lb}}</code> (ex: "The 190 foot (58 m) bridge" as opposed to "feet")
|-
|Abbreviate all units || attach <code><nowiki>{{convert|60|by|120|m|ft}}abbr=on</nowiki>||{{convert|60|by|120|m|ft}}</code>
|-
|<nowiki>{{convert|60|x|120|m|ft}}<Use a /nowiki>instead ( ) ||{{convert|60|x|120|m|ft}}|-|attach <nowikicode>{{convert|60|+/-|10|m|ft}}</nowiki>||{{convert|60|+/-|10|m|ft}}|}--> disp===変換精度===変換後の精度は入力の精度に依存します。 {| class="wikitable"!入力の精度!!記述例!!表示|-|1||slash</nowiki>{{convert|1|R|K}}</nowikicode>||{{convert|1|R|K}}|-|1.0000||(or shorthand: <nowikicode>{{convert|1.0000|R|K}}</nowiki>||{{convert|1.0000|R|K}}|-|1.00000000||disp=/</nowiki>{{convert|1.00000000|R|K}}</nowikicode>||{{convert|1.00000000|R|K}}) (ex: 190 foot/58 m)
|}
==英語版から移植する場合の注意=Rounding===*通常の移植と同様に、[[Wikipedia:FAQ 翻訳]]、[[Wikipedia:翻訳のガイドライン]]をよくお読みのうえ、要約欄に必要事項を記載してください。以下はそれに付け加えての注意です。The number given for rounding rounds off the result to the power of 1/10 the rounding number. For instance, if the result is 8621 and the round number is '-2', the result will be 8600. If the result is '234.0283043' and the round number is '0', the result will be 234.
{| class="wikitable"
|-
! colspan="25" | <big>'''In order to...'''Units supported by {{tl|convert}}</big>
|-
| Use '''system''' || '''unit''' || '''abbreviation ''used in coding'''''<br> (alternative abbreviations) || '''abbreviation ''printed''''' || [[Image:Flag of the United States.svg|US20px]] '''US spelling || attach ''' <code><nowiki>|sp=us</nowiki></code>
|-
! colspan="5" style="font-size: 110%; text-align: left;" | Make units '''Area'''|- style="font-size: 90%;"| style="text-align: center;" | '''[[Wikipedia:Manual International System of Style (links)Units|wikilinkedSI]] ''' || attach <code><nowiki>[[square metre]] |lk| sqm || m² || square meter|- style=on</nowiki></code> to link all units<br> attach <code><nowiki>"font-size: 90%;"|lkstyle=in</nowiki></code> to link only the input units<br> attach <code><nowiki>"text-align: center;" |lk→ || [[square kilometre]] || sqkm || km² || square kilometer|- style=out</nowiki></code> to link only the output "font-size: 90%; background-color: #FFFFFF;"| style="text-align: center;" | '''[[Imperial system|Imperial]] & [[United States customary units<br>|U.S. Customary]]''' || [[acre]] || acre || acre (The or acres) |||- style="font-size: 90%; background-color: #FFFFFF;"| style="text-align: center;" | → || [[Wikipediasquare foot]] ||sqft || sq ft |||- style="font-size: 90%; background-color:Only make links that are relevant to the context#FFFFFF;"|manual of style="text-align: center;" | → || [[square yard]] suggests that you should not link common units of measurement).||sqyd || sq yd |||- style="font-size: 90%; background-color: #FFFFFF;"| style="text-align: center;" | → || [[square mile]] || sqmi || sq mi |||- style="font-size: 90%; background-color: #FFFFFF;"| style="text-align: center;" | → || [[square nautical mile]] || sqnmi || sq nmi |||- style="font-size: 90%;"| style="text-align: center;" | '''old metric''' || [[hectare]] || ha || ha ||
|-
! colspan="5" style="font-size: 110%; text-align: left;" | Use the adjective form '''Length'''|- style="font-size: 90%;"| attach <code><nowiki>style="text-align: center;" |adj'''SI''' || [[millimetre]] || mm || mm || millimeter|- style=on</nowiki></code> (e"font-size: 90%;"| style="text-align: center;" | → || [[centimetre]] || cm || cm || centimeter|- style="font-size: 90%;"| style="text-align: center;" | → || [[metre]] || m || m || meter|- style="font-size: 90%;"| style="text-align: center;" | → || [[kilometre]] || km || km || kilometer|- style="font-size: 90%; background-color: #FFFFFF;"| style="text-align: center;" | '''Imperial & U.gS. Customary''' || [[inch]] || in || in |||- style="The 190font-size: 90%; background-color: #FFFFFF;"| style="text-align: center;" | → || [[foot (58 munit of length) bridge|foot]] || ft || ft |||- style=" as opposed to font-size: 90%; background-color: #FFFFFF;"The 190 feet...| style="). This produces the adjective form—the unit name in the singular with a hyphen (according to the text-align: center;" | → || [[WPyard]] || yd || yd |||- style="font-size:HYPHEN90%; background-color: #FFFFFF;"|Manual of Stylestyle="text-align: center;" | → || [[mile]]).|| mi || mi |||- style="font-size: 90%; background-color: #FFFFFF;"| style="text-align: center;" | → || [[nautical mile]] || nmi || nmi |||- style="font-size: 90%;"| style="text-align: center;" | '''Other''' || [[astronomical unit]] || AU || AU ||
|-
! colspan="5" style="font-size: 110%; text-align: left;" | Abbreviate all units '''Speed'''|| attach <code><nowiki>|abbr- style=on</nowiki></code>"font-size: 90%;"|style="text-align: center;" | Use a / instead of ( ) '''SI''' || attach <code><nowiki>[[metres per second]] |disp=| m:s</nowiki></code> (or <code><nowiki>|disp=m/</nowiki></code>s) (e.g. 190 foot|| m/58 metre). Note that when using slashes all unit names either spelt out in full or abbreviated (where there exists an abbreviation).s || meter per second|-style="font-size: 90%;"| Use in a table style="text-align: center;" |→ | attach <code><nowiki>|disp=table</nowiki></code> Note: For use in tables the template must start on a new line after a pipe. Only the number will be displayed unless you set <code><nowiki>[[kilometres per hour]] |abbr=on<| km:h (km/nowiki></code>, <code><nowiki>h ''or'' kph)|lk=on<| km/nowiki></code>, <code><nowiki>h |lk| kilometer per hour|- style=in</nowiki></code> or <code><nowiki>"font-size: 90%; background-color: #FFFFFF;"|lkstyle=out</nowiki></code>. Example"text-align: center;" | '''Accepted ''non''-SI''' || [[Phnom_Penh#Highways_in_Phnom_Penhknot (speed)|hereknot]]|| knot || kt |||-style="font-size: 90%;"| Round to a specified number of significant figuresstyle="text-align: center;" |'''Imperial & U.S. Customary''' | attach <code><nowiki>|sigfig={some non-negative integer}<[[feet per second]] || ft:s (ft/nowiki><s) || ft/code>. In the case of temperatures Celsius or Fahrenheit this refers to the difference with the absolutes |||-zero temperature. For example, at room temperature two significant digits means rounded to tens of degrees.style="font-size: 90%;"| style="text-align: center;" | → || [[miles per hour]] || mi:h (mph ''or'' mi/h) || mph ||
|-
! colspan="5" style="font-size: 110%; text-align: left;" | Let ''Convert'Temperature' decide the unit to convert to''|- style="font-size: 90%;"|style="text-align: center;" | skip the ''convert to'SI' parameter '' || [[kelvin]] || K || K |||- style="font-size: 90%;"| style="text-align: center;" | → || [[degrees Celsius]] || °C (which would otherwise be third unnamed parameterC) e.g. <code><nowiki>{{convert|100|mi°C |0}}</nowiki></code> gives ''{{convert|100|mi- style="font-size: 90%; background-color: #FFFFFF;"| style="text-align: center;" |0}}'''Imperial & U.S. Customary''' || [[degrees Rankine]] || °R (R) || °R |||- style="font-size: 90%; background-color: #FFFFFF;"| style="text-align: center;" | → || [[degrees Fahrenheit]] || °F (F) || °F ||
|}
==Example/monitor page==
Monitor quality or look at examples at [[Template:Convert/check]]
<includeonly>
</includeonly>