Difference between revisions of "Template:Cite rowlett/doc"

From blackwiki
Jump to navigation Jump to search
imported>Muhandes
(Created page with '{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> ==Usage== This template creates a {{tl|cite web}} citation to Ru...')
 
imported>Muhandes
Line 28: Line 28:
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
[[Category:Lighthouse source templates]]
 
[[Category:Lighthouse source templates]]
 +
[[Category:External link templates]]
 
</includeonly>
 
</includeonly>

Revision as of 12:57, 16 September 2010

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.unc.edu/~rowlett/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)

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.