Template:ICS/doc

From IxWiki
Revision as of 12:15, 25 April 2020 by >Vanisaac (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Description

This can be used as a simplified method to add ICS flag call signs to ship infoboxes.

Usage

{{ICS|name|size=}}

name
The first parameter is mandatory, and identifies the name of the flag. A full list of available parameters can be found on Wikimedia Commons at Commons:Category:International Code of Signals. For example, Image:ICS Bravo.svg is used when the name parameter is specified as Bravo.
size
This parameter is optional, and is used to specify the maximum width and/or height of the flag image. This parameter is specified using standard image syntax.

Examples

Wikicode Results Notes
{{ICS|Bravo}}
{{ICS|Foxtrot}}
{{ICS|Pennant Zero}} If the image name includes "Pennant", then it's required by the template
{{ICS|Answer}} This is also the default image, if no name parameter is specified
{{ICS|Port|size=22px}} sets the image width to 22px
{{ICS|Group|size=999x30px}} sets the image height to 30px

See also

International maritime signal flags