Template:ShipLink

From The Dreadnought Project
Revision as of 23:30, 30 December 2014 by Tone (talk | contribs)
Jump to navigationJump to search

Outputs a customized link to a ship page whose data are specified by parameters prefix=p, name=n, type=t, year=y. The value of parameter f specifies whether the type and/or prefix should be used in the link, by the presence of characters "t" and "p", respectively). If the parameter tn is set, it is used instead of n for the name portion of the page title. This permits two ship links to point to the same page, with one having a different display name, obviating the need for a redirect page, e.g., tn=Narwhal|n=D-1.