Difference between revisions of "Template:Cite ssl/doc"
imported>Vanisaac m (→Harvard style referencing: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other) |
imported>Debresser m (Add dash to "access-date".) |
||
| Line 20: | Line 20: | ||
{{cite ssl|TAS|cumberland|Cumberland Light}} | {{cite ssl|TAS|cumberland|Cumberland Light}} | ||
| − | * In addition, access date can be specified using the | + | * In addition, access date can be specified using the access-date fields. |
* Error checking is done only on the state, thus using <code><nowiki>{{cite ssl|NC|hatteras|Cape Hatteras Light}}</nowiki></code> will result in an error: | * Error checking is done only on the state, thus using <code><nowiki>{{cite ssl|NC|hatteras|Cape Hatteras Light}}</nowiki></code> will result in an error: | ||
| Line 36: | Line 36: | ||
{{cite ssl|QLD|caloundraold|Caloundra Head - Old}} | {{cite ssl|QLD|caloundraold|Caloundra Head - Old}} | ||
| − | <code><nowiki>{{cite ssl|SA|capespencer|Cape Spencer| | + | <code><nowiki>{{cite ssl|SA|capespencer|Cape Spencer|acces-sdate=August 3, 2010}}</nowiki></code> |
| − | {{cite ssl|SA|capespencer|Cape Spencer| | + | {{cite ssl|SA|capespencer|Cape Spencer|access-date=August 3, 2010}} |
==Harvard style referencing== | ==Harvard style referencing== | ||
Latest revision as of 21:05, 30 August 2020
| This is a documentation subpage for Template:Cite ssl. It contains usage information, categories and other content that is not part of the original template page. |
Usage
This template creates a {{cite web}} citation to individual pages at SeaSide Lights, a useful reference site on the Lighthouses of Australia.
Parameters
- There are three mandatory unnamed parameter.
- the postal abbreviation of the state name, e.g. TAS or NT, capitalized
- the lighthouse name abbreviation used in the url
- title
For example, the Cumberland Light page url is http://www.seasidelights.com.au/au/tas/cumberland.asp?fState=Tas. The parameters are
TAScumberlandCumberland Light
The full citation is
{{cite ssl|TAS|cumberland|Cumberland Light}} resulting in:
Searle, Garry. "Cumberland Light". Lighthouses of Tasmania. SeaSide Lights.
- In addition, access date can be specified using the access-date fields.
- Error checking is done only on the state, thus using
{{cite ssl|NC|hatteras|Cape Hatteras Light}}will result in an error:
Searle, Garry. "Cape Hatteras Light". Lighthouses of Error: invalid index page when using {{cite ssl}}. SeaSide Lights.
However, using a non-existing page results in a link to a non-existing page, thus using {{cite ssl|NT|capedon|Cape Don}} results in:
Searle, Garry. "Cape Don". Lighthouses of Northern Territory. SeaSide Lights.
More examples
{{cite ssl|QLD|caloundraold|Caloundra Head - Old}}
Searle, Garry. "Caloundra Head - Old". Lighthouses of Queensland. SeaSide Lights.
{{cite ssl|SA|capespencer|Cape Spencer|acces-sdate=August 3, 2010}}
Searle, Garry. "Cape Spencer". Lighthouses of South Australia. SeaSide Lights. Retrieved August 3, 2010.
Harvard style referencing
This template provides a simple Harvard style reference, using {{sfn|Searle}} or {{harvnb|Searle}}, as appropriate. However, year referencing is not supported at this time.