ಟೆಂಪ್ಲೇಟು:GT/doc
This is a documentation subpage for ಟೆಂಪ್ಲೇಟು:GT It may contain usage information, categories and other content that is not part of the original ಟೆಂಪ್ಲೇಟು page. |
Purpose
ಬದಲಾಯಿಸಿTo show gross tonnage in a consistent manner that is compliant with WP:MOSNUM. In particular it:
- capitalization and spelling are standardized (i.e. GT, Gt, gt, G.T., g.t. and so forth),
- the link to the definition is standardized,
- links to gross tonnage on the first use in an article,
- uses the abbreviation GT, i.e. "XXX GT" on subsequent uses in the article,
- inserts s where needed, and
spells out "gross tonnage (GT) of XXX tons", introducing the abbreviation GT on the first use in an article.
Note! Gross 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 gross tonnage, this is not correct and should not be used in future articles.
Usage
ಬದಲಾಯಿಸಿ{{GT|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.
Examples
ಬದಲಾಯಿಸಿInput | Displays as |
{{GT|36,000|first=short}} | 36,000 GT (gross tonnage) |
{{GT|36,000}} | 36,000 GT |
Related templates
ಬದಲಾಯಿಸಿ{{Displacement}}
for displacement (ships){{DWT}}
for deadweight tonnage{{GRT}}
for gross register tonnage{{GT}}
for gross tonnage{{NetT}}
for net tonnage{{NRT}}
for net register tonnage{{TEU}}
for twenty-foot equivalent units