Difference between revisions of "Template:Cite rowlett"
imported>Gilo1969 (addition (myw2)) |
imported>Imzadi1979 m (fix switch) |
||
| Line 1: | Line 1: | ||
<includeonly>{{cite web | <includeonly>{{cite web | ||
| − | | url = http://www.unc.edu/~rowlett/lighthouse/{{{1}}}. | + | | url = {{#switch: {{{1}}} |
| + | |pr|jam|ven|doomsday|watch=http://www.unc.edu/~rowlett/lighthouse/{{{1}}}.html | ||
| + | |#default=http://www.unc.edu/~rowlett/lighthouse/{{{1}}}.htm}} | ||
| work = {{#ifeq:{{{1}}}|index||The Lighthouse Directory}} | | work = {{#ifeq:{{{1}}}|index||The Lighthouse Directory}} | ||
| last = Rowlett | | last = Rowlett | ||
| Line 139: | Line 141: | ||
| mxs = Mexico: South Coast | | mxs = Mexico: South Coast | ||
| mxy = Mexico: Southern Gulf Coast | | mxy = Mexico: Southern Gulf Coast | ||
| − | | mxtm = Mexico: Tamaulipas | + | | mxtm = Mexico: Tamaulipas |
| nic = Nicaragua | | nic = Nicaragua | ||
| pan = Northern Panamá | | pan = Northern Panamá | ||
| Line 147: | Line 149: | ||
| arg2 = Southern Argentina | | arg2 = Southern Argentina | ||
| argtf = Argentina: Tierra del Fuego | | argtf = Argentina: Tierra del Fuego | ||
| − | | shn = Saint Helena, Ascension and Tristan da Cunha | + | | shn = Saint Helena, Ascension and Tristan da Cunha |
| bol = Bolivia | | bol = Bolivia | ||
| brno = Northern Brazil | | brno = Northern Brazil | ||
| Line 197: | Line 199: | ||
| csi = Australia: Coral Sea Islands Territory | | csi = Australia: Coral Sea Islands Territory | ||
| nsw = Australia: New South Wales | | nsw = Australia: New South Wales | ||
| − | | nfk = Australia: Norfolk Island | + | | nfk = Australia: Norfolk Island |
| nt = Australia: Northern Territory | | nt = Australia: Northern Territory | ||
| qld = Australia: Queensland's East Coast | | qld = Australia: Queensland's East Coast | ||
| Line 286: | Line 288: | ||
| bsc = France: Loire-Atlantique | | bsc = France: Loire-Atlantique | ||
| fras = France: Languedoc-Roussillon | | fras = France: Languedoc-Roussillon | ||
| − | | frbr = France: Bouches-du-Rhône (Marseille Area) | + | | frbr = France: Bouches-du-Rhône (Marseille Area) |
| mco = Monaco | | mco = Monaco | ||
| fran2 = France: Haute-Normandie (Eastern Normandy) | | fran2 = France: Haute-Normandie (Eastern Normandy) | ||
| Line 384: | Line 386: | ||
| rusn = Russia: Southern White Sea | | rusn = Russia: Southern White Sea | ||
| ruspch = Russia: Pechenga Area | | ruspch = Russia: Pechenga Area | ||
| − | | rusn1 = Russia: Arkhangel'sk | + | | rusn1 = Russia: Arkhangel'sk |
| rusn2 = Russia: Eastern White Sea | | rusn2 = Russia: Eastern White Sea | ||
| rusnn = Russia: Nenetsia | | rusnn = Russia: Nenetsia | ||
Revision as of 06:17, 17 December 2016
Usage
This template creates a {{cite web}} citation to Russ Rowlett's The Lighthouse Directory.
Parameters
There is one mandatory unnamed parameter, which is the case-sensitive page designation. The designation appears at the end of the page url.
For example: http://www.ibiblio.org/lighthouse/jpst.htm - the designation is jpst.
In addition, date and access date can be specified using the date and accessdate fields.
Error checking is done, thus using {{cite rowlett|foo}} will result in an error:
Rowlett, Russ. "Lighthouses of Error: invalid page designation when using {{[[Template:cite rowlett|cite rowlett]]}}[[:Template:Namespace detect showall]]". The Lighthouse Directory. University of North Carolina at Chapel Hill. URL–wikilink conflict (help)CS1 maint: ref=harv (link)
With the addition of |link=no, the publisher (University of North Carolina at Chapel Hill) can be rendered without a link. This is useful when multiple citations to the directory are used to avoid overlinking in the references section.
Examples:
{{cite rowlett|isr}}
Rowlett, Russ. "Lighthouses of Israel". The Lighthouse Directory. University of North Carolina at Chapel Hill.CS1 maint: ref=harv (link)
{{cite rowlett|isr|date=July 26, 2009|accessdate=August 3, 2010}}
Rowlett, Russ (July 26, 2009). "Lighthouses of Israel". The Lighthouse Directory. University of North Carolina at Chapel Hill. Retrieved August 3, 2010.CS1 maint: ref=harv (link)
Harvard style referencing
This template provides a simple Harvard style reference, using {{sfn|Rowlett}} or {{harvnb|Rowlett}}, as appropriate. However, year referencing is not supported at this time.
One can also specify the ref parameter to use other tags.
| The above documentation is transcluded from Template:Cite rowlett/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |