User:Bellhalla/DANFScite/doc
This is a documentation subpage for User:Bellhalla/DANFScite. It may contain usage information, categories and other content that is not part of the original user template page. |
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 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.
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:
- ship — the ship name
- 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, 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
Examples
[edit]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 History and Heritage Command. Retrieved 2008-04-14. {{cite web}} : Unknown parameter |ship= ignored (help)
|
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 History and Heritage Command. Retrieved 2008-04-14. {{cite web}} : Unknown parameter |ship= ignored (help)
|
Short version | {{cite DANFS | ship = Enterprise | url = http://www.history.navy.mil/danfs/e4/enterprise-vii.htm | short = yes }} | "{{{title}}}". DANFS. {{cite web}} : Unknown parameter |ship= ignored (help)
|
See also
[edit]