Difference between revisions of "Template:Cite ssl"
imported>Muhandes m (c) |
imported>Muhandes |
||
| Line 1: | Line 1: | ||
| − | {{ | + | <includeonly>{{Cite web |
| − | = | + | |url=http://www.seasidelights.com.au/au/{{{1}}}/{{{2}}}.asp?fState={{{1}}} |
| − | + | |work=[http://www.seasidelights.com.au/state.asp?fState={{{1}}} Lighthouses of {{#switch: {{{1}}} | |
| − | + | |WA=Western Australia | |
| − | = | + | |NT=Northern Territory |
| − | + | |SA=South Australia | |
| − | + | |QLD=Queensland | |
| − | + | |NSW=New South Wales | |
| − | + | |VIC=Victoria | |
| − | + | |TAS=Tasmania | |
| − | + | |{{Citation error|invalid index page|cite ssl}}}}] | |
| − | + | |author=Garry Searle | |
| − | + | |publisher=[http://www.seasidelights.com.au SeaSide Lights] | |
| − | + | |accessdate={{{accessdate|}}} | |
| − | + | |title={{{3}}} | |
| − | + | }}</includeonly><noinclude> | |
| − | + | {{Documentation}} | |
| − | + | </noinclude> | |
| − | |||
| − | {{ | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | {{ | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | = | ||
| − | |||
| − | |||
| − | |||
| − | {{ | ||
| − | |||
| − | |||
| − | |||
| − | {{ | ||
| − | |||
| − | |||
| − | </ | ||
Revision as of 08:55, 27 August 2010
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:
Garry Searle. "Cumberland Light". Lighthouses of Tasmania. SeaSide Lights. External link in |publisher=, |work= (help)
- 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:
Garry Searle. "Cape Hatteras Light". Lighthouses of Error: invalid index page when using {{cite ssl}}Template:Namespace detect showall. SeaSide Lights. External link in |publisher=, |work= (help)
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:
Garry Searle. "Cape Don". Lighthouses of Northern Territory. SeaSide Lights. External link in |publisher=, |work= (help)
More examples
{{cite ssl|QLD|caloundraold|Caloundra Head - Old}}
Garry Searle. "Caloundra Head - Old". Lighthouses of Queensland. SeaSide Lights. External link in |publisher=, |work= (help)
{{cite ssl|SA|capespencer|Cape Spencer|acces-sdate=August 3, 2010}}
Garry Searle. "Cape Spencer". Lighthouses of South Australia. SeaSide Lights. External link in |publisher=, |work= (help)
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.
| The above documentation is transcluded from Template:Cite ssl/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |