টেমপ্লেট:Convert/3

উইকিপিডিয়া, মুক্ত বিশ্বকোষ থেকে

১০×২০×৩০ মিটার (৩৩×৬৬×৯৮ ফু)

টেমপ্লেট নথি[দেখুন] [সম্পাদনা] [ইতিহাস] [শোধন]

The converter Template:Convert/3 will convert 3 amounts at once, allowing a mix of different range words between the 3 amounts. However, all 3 amounts are treated as the same unit type. The output unit must be specified, or put "0" for the default output unit.

ব্যবহার[সম্পাদনা]

{{convert/3 |5|by|6|by|7|m|ft}}
{{convert/3 |5|x|6|x|7|m|ft}}
{{convert/3 |5|-|6|-|7|m|ft}}
{{convert/3 |7|to|8|by|4.5|km|mi|abbr=on}}

The template has the same parameters as Template:Convert, and so it allows abbreviation abbr=in or abbr=out or abbr=none, wikilinks lk=in or lk=out, and adjective mode adj=on. The separator can also be a semicolon: disp=semi, disp=semicolon, disp=or, disp=comma & disp=b (default parentheses). Using optional parameter "warn=yes" will warn when the separator is an unusual word (other than: to, by, and, or, -, +/-, x, xx or comma).

উদাহরণ[সম্পাদনা]

The following examples show a mixture of "by" & "x" or "to" in some conversions:

  • {{convert/3 |5|by|6|by|7|m|ft}}     gives: ৫ by ৬ by ৭ মিটার (১৬ by ২০ by ২৩ ফু)
  • {{convert/3 |5|x|6|x|7|m|ft}}        gives: ৫×৬×৭ মিটার (১৬×২০×২৩ ফু)
  • {{convert/3 |7|to|8|to|9|km|mi}}                gives: ৭ to ৮ to ৯ কিলোমিটার (৪.৩ to ৫.০ to ৫.৬ মা)
  • {{convert/3 |7|to|8|to|9|km|mi|abbr=on}}    gives: ৭ to ৮ to ৯ কিমি (৪.৩ to ৫.০ to ৫.৬ মা)
  • {{convert/3 |7|to|8|to|9|km|mi|adj=on}}      gives: ৭-to-৮-to-৯-কিলোমিটার (৪.৩-to-৫.০-to-৫.৬ মা)
  • {{convert/3 |5|to|6|by|7|m|ft}}     gives: ৫ to ৬ by ৭ মিটার (১৬ to ২০ by ২৩ ফু)
  • {{convert/3 |5|by|6|x|7|m|ft}}      gives: ৫ by ৬×৭ মিটার (১৬ by ২০×২৩ ফু)
  • {{convert/3 |10|-|20|-|30|°C|F|disp=or}}         gives: ১০–২০–৩০ °সে বা ৫০–৬৮–৮৬ °ফা
  • {{convert/3 |11|-|22|-|33|°C|F|disp=semi}}     gives: ১১–২২–৩৩ °সে; ৫২–৭২–৯১ °ফা
  • {{convert/3 |40|-|50|-|60|°F|C|lk=on }}     gives: ৪০–৫০–৬০ °ফা (৪–১০–১৬ °সে)
  • {{convert/3 |45|-|55|-|65|°F|C|lk=out}}     gives: ৪৫–৫৫–৬৫ °ফা (৭–১৩–১৮ °সে)
  • {{convert/3 |5+1/2|by|6+1/3|x|7+1/4|m|ft}}    gives: 5+12 by 6+13×7+14 মিটার (১৮ by ২১×২৪ ফু)

The range-words are: to, by, and, or, -, +/-, x, xx & comma. Display types: disp=comma, disp=semi, disp=or, disp=s, disp=2 (or disp=out), disp=# (or disp=number) and disp=b. The results are identical to using Template:Convert for each amount individually.

আরও দেখুন[সম্পাদনা]