Difference between revisions of "Template:GRT/doc"
Jump to navigation
Jump to search
imported>WOSlinker (change cat) |
|||
| Line 34: | Line 34: | ||
<includeonly> | <includeonly> | ||
[[Category:Ship templates]] | [[Category:Ship templates]] | ||
| + | [[ja:Template:GRT]] | ||
</includeonly> | </includeonly> | ||
Revision as of 13:21, 12 September 2013
| 40px | This is a documentation subpage for Template:GRT. It contains usage information, categories and other content that is not part of the original template page. |
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 between the number and the unit.
Note! For ships built on or after 18 July 1982, use {{GT}}.
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 |
- 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.