User:Bellhalla/DANFScite/doc

From Wikipedia, the free encyclopedia

This is a documentation subpage for User:Bellhalla/DANFScite (see that page for the user itself).
It contains usage information, categories and other content that is not part of the original user page.

Contents

[edit] Usage

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 Historical Center (NHC) 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.

[edit] Important note

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.)

[edit] Parameters

[edit] Required parameters

This template requires these parameters:

  • ship — the ship name
  • url — the DANFS online URL. Can be from the NHC website (preferred) or elsewhere

[edit] Optional parameters

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, accessyear, or accessmonth

This optional parameter is specific to this template:

  • short — when set to "on" (or "yes") provides a succinct entry; useful for as a note in a Notes, Reference style, with a full (i.e. not using short) in the References section

[edit] Examples

Example Final result
Typical usage {{cite DANFS | ship = Enterprise | url = http://www.history.navy.mil/danfs/e4/enterprise-vii.htm | accessdate = 2008-04-14 }} {{{title}}}. Dictionary of American Naval Fighting Ships. Navy Department, Naval Historical Center. Retrieved on 2008-04-14.
Known author and date {{cite DANFS | last = Cressman | first = Robert J. | ship = Bridgeport | url = http://www.history.navy.mil/danfs/b9/bridgeport-i.htm | date = [[2005-12-06]] | accessdate = 2008-04-14}} {{{title}}}. Dictionary of American Naval Fighting Ships. Navy Department, Naval Historical Center. Retrieved on 2008-04-14.
Short version {{cite DANFS | ship = Enterprise | url = http://www.history.navy.mil/danfs/e4/enterprise-vii.htm | short = yes }} {{{title}}}. DANFS.

[edit] See also

WP:SHIPS shortcut templates:

Class shortcuts
  • {{sclass}} – Shortcut for ship classes that are named for the lead ship
  • {{sclass2}} – Shortcut for ship classes that are named for a common theme


Ship prefix shortcuts
Dictionary of American Naval Fighting Ships (DANFS) templates