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

From blackwiki
Jump to navigation Jump to search
imported>FrescoBot
imported>Malcol13
(Updated links from lighthouse.net.au to lighthouses.org.au reflecting change of URL)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
==Usage==
 
==Usage==
This template creates a {{tl|cite web}} citation to the index pages of [http://www.lighthouse.net.au/lights/index.asp Lighthouses of Australia Inc], a useful reference site on the Lighthouses of Australia.
+
This template creates a {{tl|cite web}} citation to the index pages of [http://www.lighthouses.org.au/lights/index.asp Lighthouses of Australia Inc], a useful reference site on the Lighthouses of Australia.
  
 
==Parameters==
 
==Parameters==

Revision as of 02:20, 2 September 2014

Usage

This template creates a {{cite web}} citation to the index pages of Lighthouses of Australia Inc, a useful reference site on the Lighthouses of Australia.

Parameters

There is one mandatory unnamed parameter, which is the postal abbreviation of the state name, capitalized. "idx" can also be used to reference the State Index.

In addition, access date can be specified using the accessdate fields.

Error checking is done, thus using {{cite loaidx|foo}} will result in an error:

"List of Lighthouses of Error: invalid index page when using {{[[Template:cite loaidx|cite loaidx]]}}". Lighthouses of Australia. Lighthouses of Australia Inc. URL–wikilink conflict (help)

Examples:

{{cite loaidx|VIC}}

"List of Lighthouses of Victoria". Lighthouses of Australia. Lighthouses of Australia Inc.

{{cite loaidx|itx}}

"State Indexes". Lighthouses of Australia. Lighthouses of Australia Inc.

{{cite loaidx|TAS|accessdate=August 3, 2010}}

"List of Lighthouses of Tasmania". Lighthouses of Australia. Lighthouses of Australia Inc. Retrieved August 3, 2010.

Harvard style referencing

This template provides a simple Harvard style reference, using {{sfn|Lighthouses of Australia Inc}} or {{harvnb|Lighthouses of Australia Inc}}, as appropriate. However, year referencing is not supported at this time.