• Home
  • Random
  • Recent changes
  • Special pages
  • Settings
  • About MOASSpedia
  • Disclaimers
MOASSpedia
  • 216.73.216.154
  • Talk
  • Watchlist
  • Contributions
  • Log in

Template:FNS

Template Discussion
  • Language
  • Watch
  • History
  • Edit
    • Page information
    • Permanent link
    • What links here
Template documentation[view] [edit] [history] [purge]

Contents

  • 1 Usage
    • 1.1 Formal usage
    • 1.2 Examples
  • 2 TemplateData
  • 3 See also

Usage

This is a typing short cut for linking to Finnish Navy ship articles named in the format "FNS Turunmaa (1918)". Since ship names are italicized in article text, linking to them in the usual manner means typing everything twice, such as [[FNS Turunmaa (1918)|FNS ''Turunmaa'' (1918)]]. This template halves that to {{FNS|Turunmaa|1918}}.

Formal usage

  • {{FNS|Ship Name}}
  • {{FNS|Ship Name|ID}}, where ID can be the hull number, launch year, or pennant number, as specified in the article title.

Examples

Template usage Equivalent wikicode Final result
{{FNS|Turunmaa|1918}} [[FNS Turunmaa (1918)|FNS ''Turunmaa'' (1918)]] FNS Turunmaa (1918)
{{FNS|Turunmaa}} [[FNS Turunmaa|FNS ''Turunmaa'']] FNS Turunmaa

Last example could be used to link to ship index (disambiguation) page

TemplateData

This section:
  • view
  • edit
TemplateData
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.

TemplateData for FNS

This template provides a wikilink to a ship's page, with label options

Template parameters

ParameterDescriptionTypeStatus
Name1

Ship's name

Example
Bismarck, Belgrano
Stringoptional
ID2

Hull number, launch year, or pennant number

Example
H75, 1975
Stringoptional
Format3

Formats the label (which name parts will show)

Default
blank
Example
1, 2, 3, 5, 6
Numberoptional
unlink prefixup

up=yes puts prefix before (outside of) the wikilink

Default
no
Example
up=yes
Booleanoptional

See also

Template:WPSHIPS shortcut templates

The above documentation is transcluded from Template:FNS/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://moasspedia.org/w/index.php?title=Template:FNS&oldid=16321"
Categories:
  • Templates using TemplateData
  • Ship prefix templates
Last edited on 16 March 2018, at 07:45

MOASSpedia

Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • This page was last edited on 16 March 2018, at 07:45.
  • Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • Privacy policy
  • About MOASSpedia
  • Disclaimers
  • Desktop