Difference between revisions of "Template:GRT/doc"

From blackwiki
Jump to navigation Jump to search
imported>Bellhalla
(→‎Usage: added usage example)
imported>Droll
(clean up documentation subpage templates using AWB)
Line 1: Line 1:
<includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude>
+
{{Documentation subpage}}
 
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
 
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
 
__NOTOC__
 
__NOTOC__

Revision as of 18:43, 15 August 2010

Purpose

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

  • capitalization and spelling are standardized (i.e. GRT, Grt, grt, G.R.T., g.r.t. and so forth),
  • the link to the definition is standardized,
  • spells out "XXX gross register tons" and introduces the abbreviation GRT on the first use in an article,
  • links to Gross Register Tonnage on the first use in an article,
  • uses the abbreviation GRT on subsequent uses in the article, and
  • inserts a &nbsp; between the number and the unit.

Usage

{{GRT|number|first=yes}}

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

Specify first=short to create a linked GRT suitable for tables or infoboxes.

Examples

Input Displays as
{{GRT|36,000|first=yes}} 36,000 GRT
{{GRT|36,000|first=short}} 36,000 GRT
{{GRT|36,000}} 36,000 GRT
  1. REDIRECT Template:WPSHIPS: Measurement templates


  • From a page move: This is a redirect from a page that has been moved (renamed). This page was kept as a redirect to avoid breaking links, both internal and external, that may have been made to the old page name.