Template:Displacement/doc

< Template:Displacement
Revision as of 10:29, 5 August 2018 by Wikipedia>Zyxw (Since <tt> is obsolete in HTML5, replace it with <kbd> – see HTML element#tt, Wikipedia:HTML5, and mw:Help:Extension:Linter/obsolete-tag. using AWB)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Purpose

To show displacement tonnage, whether expressed in terms of:

  • metric tons/tonnes
  • long tons
  • unknown flavor of tons

in a consistent manner. The "first=yes" flag can be used to add the words "of displacement" suitable to introduce the concept the first time it is used in an article.

Usage

{{Displacement|number|unit|first=yes}}

Specify first=yes to create a verbose description suitable for the first occurrence on a page.

Examples

Input Displays as
{{Displacement|36,000|metric|first=yes}} 36,000 metric tons of displacement
{{Displacement|36,000|long|first=yes}} 36,000 long tons of displacement
{{Displacement|36,000|short|first=yes}} 36,000 of displacement
{{Displacement|36,000|tonne|first=yes}} 36,000 tonnes of displacement
{{Displacement|36,000|unknown|first=yes}} 36,000 tons of displacement
{{Displacement|36,000|metric}} 36,000 metric tons 
{{Displacement|36,000|long}} 36,000 long tons 
{{Displacement|36,000|tonne}} 36,000 tonnes 
{{Displacement|36,000|unknown}} 36,000 tons 
{{Displacement|36,000|metric|first=loaded}} 36,000 metric tons of loaded displacement
{{Displacement|36,000|long|first=standard}} 36,000 long tons of standard displacement
{{Displacement|36,000|tonne|first=normal}} 36,000 tonnes of normal displacement

Template:DWT/doc/related