This template is intended to allow entry of imperial weights (Avoirdupois), measured in tons, hundredweights, quarters and/or pounds (ton, cwt, qr and/or lb) and provide a conversion into pounds and into tonnes (metric tons) or kilograms (if the first parameter is blank or zero).
This format is traditional for the specification of locomotive and bells cast manufactured or used in the UK and some other Commonwealth countries. See Dove's Bellringers' Guide.
Cú pháp
{{long ton |tons |cwt |qr |lb }}
{{long ton |35 |4 |2 |1 }} →
35 tấn Anh 4 tạ 2 qr 1 lb (78.905 lb hoặc 35,791 t)
To link the "long" unit to article Long ton use |lk=on:
{{long ton |tons |cwt |qr |lb |lk=on }}
{{long ton |35 |4 |2 |1 |lk=on }} →
35 tấn Anh 4 tạ 2 qr 1 lb (78.905 lb hoặc 35,791 t)
Only the second parameter, the number of cwt, is required; all the others are optional. Note that the first parameter must be empty then.
There is no option to write full names of the units. The units are written: long ton[s], [long] cwt, qr, lb. (Where {{convert}} has |abbr=off/on).
Làm tròn
Làm tròn phụ thuộc vào đầu vào.
If pounds are specified in input, the output value for pounds will be given to the nearest pound and the metric conversion will be to the nearest kilogram.
If pounds are not specified in input but quarters are, the output value for pounds will be given to the nearest 10 pounds and the metric conversion will be to the nearest 10 kilograms.
If neither pounds nor quarters are specified in input, the output value for pounds will be given to the nearest 100 pounds and the metric conversion will be to the nearest 100 kilograms.
Hiển thị
Bên trong dấu ngoặc ngữ pháp, sử dụng disp=or hoặc disp=sqbr:
A replacement ring of ten bells (tenor {{long ton||18|1|2|disp=or}})
đưa cho: "A replacement ring of ten bells (tenor 18 tạ dài 1 qr 2 lb; 2.046 lb hoặc 928 kg)"
A replacement ring of ten bells (tenor {{long ton||18|1|2|disp=sqbr}})
đưa cho: "A replacement ring of ten bells (tenor 18 tạ dài 1 qr 2 lb [2.046 lb hoặc 928 kg])"
Trong bảng
Sử dụng disp=table trong bảng.
{| class="wikitable"
|-
! rowspan=2| Số
! rowspan=2| Ngày
! rowspan=2| Người sáng tạo
! colspan=3| Khối lượng
|-
![[tấn (Anh)|thước đo dài]]
!lb
!kg
|-
| 1 || 1891 || Mears & Stainbank
|{{long ton||7|3|12|disp=table}}
|-
| 2 || 1891 || Mears & Stainbank
|{{long ton||9|0|2|disp=table}}
|-
| 3 || 1757 || Abel Rudhall
|{{long ton||10|0|0|disp=table}}
|}