Template:Cite Lighthouses of Australia/doc
This is a documentation subpage for Template:Cite Lighthouses of Australia. It may contain usage information, categories and other content that is not part of the original template page. |
Usage
[edit]This template creates a {{cite web}} citation to individual pages at Lighthouses of Australia Inc., a useful reference site on the Lighthouses of Australia.
Parameters
[edit]- There are three mandatory unnamed parameters:
- the postal abbreviation of the state name, e.g. TAS or NT, capitalized
- the lighthouse name, from the url
- title
For example, the Cape Wickham Lighthouse page url is http://www.lighthouses.org.au/lights/TAS/Cape%20Wickham/Cape%20Wickham.htm
. The parameters are
TAS
Cape%20Wickham
Cape Wickham Lighthouse
orThe Cape Wickham Lighthouse on King Island
as the author see fits
The full citation is
{{cite loa |TAS |Cape%20Wickham |Cape Wickham Lighthouse}}
resulting in:
"Cape Wickham Lighthouse". Lighthouses of Tasmania. Lighthouses of Australia Inc.
- In special cases with non-standard url, use the url3 field to indicate the last part of the url. For example, the Point Perpendicular Lighthouse page is
http://www.lighthouses.org.au/lights/NSW/Point%20Perpendicular/Pt%20Perpendicular.htm
. The last part of the url is notPoint%20Perpendicular
butPt%20Perpendicular
. So a full citation will be
{{cite loa |NSW |Point%20Perpendicular |Point Perpendicular Lighthouse |url3=Pt%20Perpendicular}}
resulting in:
"Point Perpendicular Lighthouse". Lighthouses of New South Wales. Lighthouses of Australia Inc.
- In addition, date and access date can be specified using the date and access-date fields. The date of writing can be found on the lower left corner of each page, "Page last updated:".
- Error checking is done only on the state, thus using
{{cite loa |SA |Cape%20Wickham |Cape Wickham Lighthouse}}
will result in an error:
/Cape%20Wickham /Cape%20Wickham.htm "Cape Wickham Lighthouse". Lighthouses of South Australia. Lighthouses of Australia Inc. {{cite web}}
: Check |url=
value (help)
However, using a non-existing page results in a link to a non-existing page, thus using {{cite loa|TAS|Cape%20Forrestier|Cape Forrestier Lighthouse}}
results in:
"Cape Forrestier Lighthouse". Lighthouses of Tasmania. Lighthouses of Australia Inc.
More examples
[edit]{{cite loa|SA|Cape%20Northumberland|Cape Northumberland Lighthouse at Port MacDonnell}}
"Cape Northumberland Lighthouse at Port MacDonnell". Lighthouses of South Australia. Lighthouses of Australia Inc.
{{cite loa|WA|Eclipse%20Island|The Eclipse Island Lighthouse|access-date=August 3, 2010 |date=March 14, 2005}}
"The Eclipse Island Lighthouse". Lighthouses of Western Australia. Lighthouses of Australia Inc. March 14, 2005. Retrieved August 3, 2010.
Harvard style referencing
[edit]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.
One can also specify the ref
parameter to use other tags.