Difference between revisions of "Template:Cite rowlett"
imported>Headbomb m (→top: clean up, no longer needed, replaced: {{{ref|harv}}} → {{{ref|}}}) |
imported>Matthiaspaul (Switched from |template-doc-demo to |no-tracking parameter alias as the former will be disabled soon.) |
||
| Line 10: | Line 10: | ||
| date = {{{date|}}} | | date = {{{date|}}} | ||
| ref = {{{ref|}}} | | ref = {{{ref|}}} | ||
| − | | | + | | no-tracking = {{{no-tracking|{{{template doc demo|}}}}}} |
| title = {{#switch: {{{1}}} <!-- Starting with general pages --> | | title = {{#switch: {{{1}}} <!-- Starting with general pages --> | ||
| tallest = The Tallest Lighthouses | | tallest = The Tallest Lighthouses | ||
| Line 563: | Line 563: | ||
| jpsh1 = Japan: Southeastern Shikoku | | jpsh1 = Japan: Southeastern Shikoku | ||
| jpts = Japan: Tsushima | | jpts = Japan: Tsushima | ||
| − | | {{citation error|invalid page designation|cite rowlett|nocat={{{ | + | | {{citation error|invalid page designation|cite rowlett|nocat={{{no-tracking|{{{template doc demo|}}}}}}}} |
}} | }} | ||
}} | }} | ||
Latest revision as of 21:25, 23 September 2020
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)
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.
{{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
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. |