• Home
  • Random
  • Nearby
  • Log in
  • Settings
Donate Now If Wikipedia is useful to you, please give today.
  • About Wikipedia
  • Disclaimers
Wikipedia

Template:Ship name format/sandbox

  • Template
  • Talk
  • Language
  • Watch
  • Edit
< Template:Ship name format
This is the template sandbox page for Template:Ship name format (diff).
See also the companion subpage for test cases.
Template documentation[view] [edit] [history] [purge]

Usage

edit

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.

The above documentation is transcluded from Template:Ship name format/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Ship_name_format/sandbox&oldid=977246130"
Last edited on 7 September 2020, at 19:16

Languages

      This page is not available in other languages.

      Wikipedia
      • Wikimedia Foundation
      • Powered by MediaWiki
      • This page was last edited on 7 September 2020, at 19:16 (UTC).
      • Content is available under CC BY-SA 4.0 unless otherwise noted.
      • Privacy policy
      • About Wikipedia
      • Disclaimers
      • Contact Wikipedia
      • Code of Conduct
      • Developers
      • Statistics
      • Cookie statement
      • Terms of Use
      • Desktop