সমললৈ যাওক

সাঁচ:Infobox person/weight

অসমীয়া ৱিকিপিডিয়াৰ পৰা

This template is used to automatically add conversions of weight measurements displayed by Template:Infobox person and other infoboxes with a |weight= parameter.

সাঁচ:Template see also

{{Infobox
...
| label# = Weight
| data#  = {{#if: {{{weight|}}} | {{Infobox person/weight|{{{weight}}}}} }}
...
}}

Kilograms:

  • |weight=1 kilogram → ১ কেজি (২ পাউণ্ড)
  • |weight=108 kg. → ১০৮ কেজি (২৩৮ পাউণ্ড)
  • |weight=111kilograms → ১১১ কেজি (২৪৫ পাউণ্ড)
  • |weight=108 kgs. → ১০৮ কেজি (২৩৮ পাউণ্ড)

Pounds:

  • |weight=1 pound → 1 পাউণ্ড (০ কেজি)
  • |weight=200 lb. → 200 পাউণ্ড (৯১ কেজি)
  • |weight=245pounds → 245 পাউণ্ড (১১১ কেজি)
  • |weight=238 lbs. → 238 পাউণ্ড (১০৮ কেজি)

Stone:

Stone and pounds:

Text and/or footnotes (references) after weight:

  • |weight=108 kgs (2012) → ১০৮ কেজি (২৩৮ পাউণ্ড) (2012)
  • |weight=238 lbs<ref>citation goes here</ref> → 238 পাউণ্ড (১০৮ কেজি)[1]
  • |weight=238 lbs (2012)<ref>{{cite news|title=title|work=work}}</ref> → 238 পাউণ্ড (১০৮ কেজি) (2012)[2]
Example references
  1. citation goes here
  2. "title". work. 

{{Convert}} templates, without and with wikilinked unit names:

Weight ranges with input containing en dash (–):

  • |weight=108–111 kgএক্সপ্ৰেছন ত্ৰুটী: অপৰিচিত বিৰামচিহ্ন কেৰেক্টাৰ "–" কেজি (এক্সপ্ৰেছন ত্ৰুটী: অবাঞ্চিত < অপাৰেটৰ পাউণ্ড)
  • |weight=238–245 lbএক্সপ্ৰেছন ত্ৰুটী: অপৰিচিত বিৰামচিহ্ন কেৰেক্টাৰ "–" পাউণ্ড (এক্সপ্ৰেছন ত্ৰুটী: অবাঞ্চিত < অপাৰেটৰ কেজি)
  • |weight=17–18 stসাঁচ:Convert/st

Weight ranges with input containing hyphen (-); output is changed to en dash by {{Convert}}:

  • |weight=108-111 kg → -−২১,৯০০ কেজি (−৭ পাউণ্ড)
  • |weight=238-245 lb → −−48,300 পাউণ্ড (−৩ কেজি)
  • |weight=17-18 stসাঁচ:Convert/st

If a template uses {{infobox person/weight|{{{weight}}}|kg-stlb=yes}}, then an article using that template with an input in kg will display two conversions: lb followed by st/lb (default is one conversion to lb):

  • |weight=100 kg → ১০০ কেজি (সাঁচ:Convert/lb stlb)
  • |weight=108–111 kgএক্সপ্ৰেছন ত্ৰুটী: অপৰিচিত বিৰামচিহ্ন কেৰেক্টাৰ "–" কেজি (সাঁচ:Convert/lb stlb)

If a template uses {{infobox person/weight|{{{weight}}}|lb-stlb=yes}}, then an article using that template with an input in lb will display two conversions: kg followed by st/lb (default is one conversion to kg):

Does not replace numbers in manually entered conversions, but does replace unit names with abbreviations (examples intentionally show incorrect conversions):

  • |weight=108 kilograms (229 pounds) → 108 kg (229 lb)
  • |weight=238 pounds (119 kilograms) → 238 lb (119 kg)
  • |weight=17 stone (229 pounds; 119 kilograms) → 17 st (229 lb; 119 kg)

Does not replace numeric output of conversion templates such as {{convert}}, but does replace unit names with abbreviations (examples intentionally show different precision than usual):

Areas for improvement

[সম্পাদনা কৰক]

Conversion not displayed if unit name contains uppercase characters:

  • |weight=100 Kilograms → 100 Kilograms
  • |weight=100 KG → 100 KG
  • |weight=200 Pounds → 200 Pounds
  • |weight=200 LB → 200 LB
  • |weight=10 Stone → 10 Stone
  • |weight=10 ST → 10 ST