Template:Cite Rowlett/doc
This is a documentation subpage for Template:Cite Rowlett. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used on approximately 2,500 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template creates a {{cite web}} citation to Russ Rowlett's The Lighthouse Directory.
Parameters
editThere is one mandatory unnamed parameter, which is the case-sensitive page designation code. The code appears at the end of the page url.
For example in www.ibiblio.org/lighthouse/jpst.htm
the code is jpst and the usage would be {{Cite rowlett|jpst}}
Optional parameters:
|date=
|accessdate=
|archive-url=
|archive-date=
|url-status=
|link=no
- the publisher (University of North Carolina at Chapel Hill) is rendered without a wikilink. This is useful when multiple citations to the directory are used to avoid overlinking.
Error messages
editIf the code is unknown it will produce an error. For example {{cite rowlett|foo}}
produces:
- Rowlett, Russ. "Lighthouses of". The Lighthouse Directory. University of North Carolina at Chapel Hill.
The solution is to add the code to the template. There are codes at the Rowlett website that has not yet been added to the template.
Examples
edit- Example #1
{{cite rowlett|isr}}
- Rowlett, Russ. "Lighthouses of Israel". The Lighthouse Directory. University of North Carolina at Chapel Hill.
- Example #2
{{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.
Harvard style referencing
editThis 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.
Tracking categories
edit