টেমপ্লেট:DWT
Purpose
সম্পাদনাTo show deadweight tonnage, whether expressed in metric or long tons, in a consistent manner. Also to introduce the units used and the intended meaning of the abbreviation DWT the first time it is used in an article.
Usage
সম্পাদনা{{DWT|number|unit|disp=|link=}}
- Parameters
- number: numerical value of the deadweight tonnage;
- unit: specifies the units in which the dead weight tonnage is measured; use
long
ormetric
; - disp: controls how the template will render in the page:
|disp=
when empty or omitted, displays the abbreviated form:{{DWT|36,000|metric|disp=}}
→ ৩৬,০০০ t ডিডব্লিউটি
|disp=long
creates a verbose description suitable for the first occurrence on a page. Equivalent to the deprecated|first=yes
;{{DWT|36,000|metric|disp=long}}
→ ৩৬,০০০ tonnes ডেডওয়েট (ডিডব্লিউটি)
|disp=adj
creates the adjectival form:{{DWT|36,000|metric|disp=adj}}
→ ৩৬,০০০-tonne ডেডওয়েট (ডিডব্লিউটি)
- link: controls when the template output is linked to the deadweight tonnage article
|link=
when empty or omitted, links to the deadweight tonnage article; this is the default;{{DWT|36,000|metric|disp=long|link=}}
→ ৩৬,০০০ tonnes ডেডওয়েট (ডিডব্লিউটি)
|link=off
instances of the rendered template are not linked to the deadweight tonnage article:{{DWT|36,000|metric|disp=long|link=off}}
→ ৩৬,০০০ tonnes deadweight (ডিডব্লিউটি)
- first: (deprecated) controls how the template will render in the page:
|first=
(deprecated) when empty or omitted, displays the abbreviated form:{{DWT|36,000|metric|first=}}
→ ৩৬,০০০ t ডিডব্লিউটি
|first=yes
(deprecated) creates a verbose description suitable for the first occurrence on a page. Equivalent to|disp=long
;{{DWT|36,000|metric|first=yes}}
→ ৩৬,০০০ metric tons ডেডওয়েট (ডিডব্লিউটি)
Examples
সম্পাদনাInput | Displays as |
{{DWT|36,000|metric|disp=long}} | টেমপ্লেট:DWT/sandbox |
{{DWT|36,000|long|disp=long}} | টেমপ্লেট:DWT/sandbox |
{{DWT|36,000|metric}} | টেমপ্লেট:DWT/sandbox |
{{DWT|36,000|long}} | টেমপ্লেট:DWT/sandbox |
{{DWT|36,000}} | টেমপ্লেট:DWT/sandbox |