قالب:NetT

Template documentation[view] [edit] [history] [purge]

Purpose

To show net tonnage in a consistent manner that is compliant with WP:MOSNUM. In particular it:

  • capitalization and spelling are standardized (i.e. NT, Nt, nt, N.T., n.t. and so forth),
  • the link to the definition is standardized,
  • links to net tonnage on the first use in an article,
  • uses the abbreviation NT, i.e. "XXX NT" on subsequent uses in the article,
  • inserts  s where needed, and
  • spells out "طن صافي (NT) of XXX tons", introducing the abbreviation NT on the first use in an article.

Note! Net tonnage is a dimensionless index calculated with a mathematical formula. While this template allows, for the sake of backwards compatibility, the use of "tons" as the unit for net tonnage, this is not correct and should not be used in future articles.

Usage

{{NetT|number|first=(yes|caps|short)}}

Use the first parameter the first time the template appears on the page. It has three options:

  • first=short to create a terse description, suitable for tables and infoboxes,
  • first=yes to create a verbose description,
  • first=caps to create a verbose description that starts with a capital letter.

See the examples below for more information.

أمثلة

Input Displays as
{{NetT|36,000|first=short}} 36,000 NT (طن صافي)
{{NetT|36,000}} 36,000 NT
{{NetT|36,000|first=yes}} طن صافي (NT) of 36,000 tons
{{NetT|36,000|first=caps}} طن صافي (NT) of 36,000 tons
quoted to have a {{NetT|anywhere from 550 to 598|first=yes}} quoted to have a طن صافي (NT) of anywhere from 550 to 598 tons

Related templates