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

Template:Cite DANFS/sandbox

  • Template
  • Talk
  • Language
  • Watch
  • Edit
< Template:Cite DANFS
This is the template sandbox page for Template:Cite DANFS (diff).
This is the template sandbox page for Template:Cite DANFS (diff).
Template documentation[view] [edit] [history] [purge]
This template uses Lua:
  • Module:WPSHIPS utilities (sandbox)
  • Module:template wrapper (sandbox)

Contents

  • 1 Usage
    • 1.1 Important note
    • 1.2 Parameters
      • 1.2.1 Required parameters
      • 1.2.2 Optional parameters
    • 1.3 Examples
  • 2 See also

Usage

edit

This template is used for citing the Dictionary of American Naval Fighting Ships (DANFS), particularly the online version found at the United States Navy Naval History & Heritage Command website at this address. Though the U.S. Navy version is generally preferred, other online versions of DANFS material may be cited with this template as well.

Important note

edit

This template is not intended to replace the template {{DANFS}}. Where public ___domain material from the Dictionary of American Naval Fighting Ships is incorporated into an article {{DANFS}} must still be used in the article for the proper attribution of public ___domain text. (DANFS, as a work of the U.S. federal government, is in the public ___domain.)

Parameters

edit

Required parameters

edit

This template requires these parameters:

  • title—the ship name. Will automatically format with italics
  • url—the DANFS online URL. Can be from the NHC website (preferred) or elsewhere

Optional parameters

edit

These optional parameters are similar to those in other citation templates:

  • first, last OR author—used when there is a known author of a DANFS article (the optional authorlink will work for either)
  • date—used when a date is provided. For DANFS, this is typically on new or newly updated entries.
  • accessdate—the full retrieval date.

These optional parameters are specific to this template:

  • short—when set to "on" (or "yes") provides a succinct entry; useful as a note in a Notes, Reference style, with a full (i.e. not using short) in the References section
    • set short to "first" to display the full name of Dictionary of American Naval Fighting Ships
  • link—when set to "off" (or "no") provides a full entry without wikilinks for the work title and publisher information; useful for second and additional uses to avoid overlinking within the references section

Note: if the "short" and "link" options are not necessary, leave the optional parameters completely out (i.e. don't put "short = off" or "link = on")

Examples

edit
Example Final result
Typical usage {{cite DANFS | title = Enterprise VII (CV-6) | url = https://www.history.navy.mil/research/histories/ship-histories/danfs/e/enterprise-cv-6-vii.html | accessdate = 2016-09-15 }} "Enterprise VII (CV-6)". Dictionary of American Naval Fighting Ships. Navy Department, Naval History and Heritage Command. Retrieved 2016-09-15.
Known author and date {{cite DANFS | last = Cressman | first = Robert J. | title = Bridgeport | url = https://www.history.navy.mil/research/histories/ship-histories/danfs/b/bridgeport-i.html | date = 2005-12-06 | accessdate = 2016-09-15}} Cressman, Robert J. (2005-12-06). "Bridgeport". Dictionary of American Naval Fighting Ships. Navy Department, Naval History and Heritage Command. Retrieved 2016-09-15.
Short version {{cite DANFS | title = Enterprise VII (CV-6) | url = https://www.history.navy.mil/research/histories/ship-histories/danfs/e/enterprise-cv-6-vii.html| short = yes }} "Enterprise VII (CV-6)". DANFS.
Unlinked usage {{cite DANFS | title = Enterprise VII (CV-6) | url = https://www.history.navy.mil/research/histories/ship-histories/danfs/e/enterprise-cv-6-vii.html | link = off | accessdate = 2016-09-15 }} "Enterprise VII (CV-6)". Dictionary of American Naval Fighting Ships. Navy Department, Naval History & Heritage Command. Retrieved 2016-09-15.

See also

edit
  • v
  • t
  • e
WP:SHIPS citation templates
type group template ref article example
Dictionary of American Naval Fighting Ships (DANFS) (external link)
source dictionary {{DANFS}} DANFS public ___domain attribution notice Public Domain This article incorporates text from the public ___domain Dictionary of American Naval Fighting Ships.
source dictionary {{Cite DANFS}} DANFS material citation Cressman, Robert J. (2005-12-06). "Bridgeport". Dictionary of American Naval Fighting Ships. Navy Department, Naval History and Heritage Command. Retrieved 2016-09-15.
Naval Vessel Register (NVR) (external link)
source register {{NVR}} Naval Vessel Register, public ___domain attribution notice Public Domain This article incorporates public ___domain material from the Naval Vessel Register.
source register {{NVR url}} creates URLs for NVR ship details pages
source register {{NVR SC url}} creates URLs for NVR service craft details pages
  • Category:Ship templates (113)
  • Category:Ship book citation templates‎ (5)
The above documentation is transcluded from Template:Cite DANFS/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Cite_DANFS/sandbox&oldid=252668345"
Last edited on 18 November 2008, at 23:14

Languages

      This page is not available in other languages.

      Wikipedia
      • Wikimedia Foundation
      • Powered by MediaWiki
      • This page was last edited on 18 November 2008, at 23:14 (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