Template:Ship name format/doc

From Wikipedia, the free encyclopedia
This is the current revision of this page, as edited by imported>DB1729 at 19:17, 4 February 2023 (+ 2 categories). The present address (URL) is a permanent link to this version.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This is a wrapper function for the wpsu.ship_name_format function in Module:WPSHIPS utilities. See that module's documentation for complete details.

Minimal example:

  • {{Ship name format|name=USS Lollipop (101)}}

renders as

  • USS Lollipop (101)

Note: In most cases, {{ship}} or one of the other "ships-related" templates is preferred. This template may be useful if the name of the ship to be displayed may change dynamically, as in {{DISPLAYTITLE:{{ship_name_format|name={{FULLPAGENAME}}}}}} to italicize the page title of a redirect page.