Nodyn:Shipboxflag
Gwedd
Usage
[golygu cod]{{shipboxflag|nation|variant}}
Produces a larger flag icon, suitable for an image in the Ship flag
parameter of Template:Infobox Ship Career.
- Parameters
- nation — Use either the name of the nation or the three-letter ISO 3166-1 alpha-3 country code
- variant (optional) — Specifies the flag to use. This parameter is documented by the appropriate template in Category:Country data templates. For many countries, the
naval
parameter will select the naval ensign, but for civil ships, this parameter may be omitted.
Examples
[golygu cod]- {{shipboxflag|United Kingdom|naval}} →
- {{shipboxflag|United Kingdom|civil}} →
- {{shipboxflag|Kingdom of Great Britain|naval}} → Nodyn:Country data Kingdom of Great Britain
- {{shipboxflag|Kingdom of Great Britain|civil}} → Nodyn:Country data Kingdom of Great Britain
- {{shipboxflag|United States}} → (with no variant parameter specified, the standard national flag is used, which is also the naval ensign for some countries)
- {{shipboxflag|United States|coast guard}} →
See also
[golygu cod]Mae'r ddogfennaeth uchod wedi ei thrawsgynnwys o Nodyn:Shipboxflag/doc. (golygu | hanes) Gall golygyddion arbrofi yn y tudalennau pwll tywod (creu | drych) a testcases (creu). Os gwelwch yn dda, ychwanegwch gategorïau a rhyngwicis at yr is-dudalen /doc. Is-dudalennau'r nodyn hwn. |