Difference between revisions of "Template:Cite uscgll"

From blackwiki
Jump to navigation Jump to search
imported>Muhandes
m (2 of course)
imported>Muhandes
m (done, rv)
Line 8: Line 8:
 
         |5={{cite book|url=http://www.navcen.uscg.gov/pdf/lightLists/LightList%20V5.pdf|title=Light List, Volume V, Mississippi River System|publisher=United States Coast Guard|date = {{{2|{{{date}}}}}}|page = {{{3|{{{page}}}}}}}}
 
         |5={{cite book|url=http://www.navcen.uscg.gov/pdf/lightLists/LightList%20V5.pdf|title=Light List, Volume V, Mississippi River System|publisher=United States Coast Guard|date = {{{2|{{{date}}}}}}|page = {{{3|{{{page}}}}}}}}
 
         |6={{cite book|url=http://www.navcen.uscg.gov/pdf/lightLists/LightList%20V6.pdf|title=Light List, Volume VI, Pacific Coast and Pacific Islands|publisher=United States Coast Guard|date = {{{2|{{{date}}}}}}|page = {{{3|{{{page}}}}}}}}
 
         |6={{cite book|url=http://www.navcen.uscg.gov/pdf/lightLists/LightList%20V6.pdf|title=Light List, Volume VI, Pacific Coast and Pacific Islands|publisher=United States Coast Guard|date = {{{2|{{{date}}}}}}|page = {{{3|{{{page}}}}}}}}
         |7= {{cite book|url=http://www.navcen.uscg.gov/pdf/lightLists/LightList%20V7.pdf|title=Light List, Volume VII, Great Lakes|publisher=United States Coast Guard|date = {{{2|{{{date}}}}}}|page = {{{3|{{{page}}}}}}}}|'''cite uscgll error: The first value must be in the range 0-7'''}}|'''cite uscgll error: The first value must not be empty, it must be in the range 0-7'''}}[[Category:Articles Using USCGLL Year {{{2|{{{date}}}}}}]]</includeonly><noinclude>
+
         |7= {{cite book|url=http://www.navcen.uscg.gov/pdf/lightLists/LightList%20V7.pdf|title=Light List, Volume VII, Great Lakes|publisher=United States Coast Guard|date = {{{2|{{{date}}}}}}|page = {{{3|{{{page}}}}}}}}|'''cite uscgll error: The first value must be in the range 0-7'''}}|'''cite uscgll error: The first value must not be empty, it must be in the range 0-7'''}} </includeonly><noinclude>
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 12:53, 26 July 2010

Template documentation[view] [edit] [history] [purge]

Usage

This template creates a {{cite book}} citation to the USCG Light Lists, including volume title, page, and year, plus a reference to the URL on the USCG web site that currently has the PDF of the seven volumes.

Parameters

The template may be used in the form

{{cite uscgll|1|2009|123}}

which will result in

Light List, Volume I, Atlantic Coast, St. Croix River, Maine to Shrewsbury River, New Jersey (PDF). United States Coast Guard. 2009. p. 123.

The first parameter is always unnamed and must be a single digit from 0 to 7, corresponding to the seven volumes of the Light List. Calling for Volume 0 yields a generic reference which ignores any page given. The second parameter is the year, and the third is the page number. Either or both of the year and the page may be omitted, like this

{{cite uscgll|1|2009|}}
or
{{cite uscgll|1||123}}
(note the blank || where the year would go)

It may also be used with named parameters:

{{cite uscgll
|1
|year= 2009
|page = 123
}}

or in compact form

{{cite uscgll|1|year = 2009|page = 123}}


Examples:

  1. {{cite uscgll|5|2010|456}} The usual form
    Light List, Volume V, Mississippi River System (PDF). United States Coast Guard. 2010. p. 456.
  2. {{cite uscgll|4|year=2010|page=456}} With named parameters
    Light List, Volume IV, Gulf of Mexico (PDF). United States Coast Guard. {{{date}}}. p. 456. Check date values in: |date= (help)
  3. {{cite uscgll|2|2009|}} Omitting the page number
    Light List, Volume II, Atlantic Coast, Shrewsbury River, New Jersey to Little River, South Carolina (PDF). United States Coast Guard. 2009.
  4. {{cite uscgll|3||123}} Omitting the year
    Light List, Volume III, Atlantic Coast, Little River, South Carolina to Econfina River, Florida (PDF). United States Coast Guard. p. 123.
  5. {{cite uscgll|0||}} Citing all volumes without a year
    Light List, Volumes 1-7. United States Coast Guard.
  6. {{cite uscgll|0|2009|}} All volumes with a year
    Light List, Volumes 1-7. United States Coast Guard. 2009.
  7. {{cite uscgll|0|2009|123}} The page number is ignored
    Light List, Volumes 1-7. United States Coast Guard. 2009.