Difference between revisions of "Template:Cite loaidx/doc"
imported>DatGuy m (→Examples: minor fix using AWB) |
imported>Vanisaac m (→Harvard style referencing: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other) |
||
| Line 29: | Line 29: | ||
==Harvard style referencing== | ==Harvard style referencing== | ||
This template provides a simple Harvard style reference, using {{tl2|sfn|Lighthouses of Australia Inc}} or {{tl2|harvnb|Lighthouses of Australia Inc}}, as appropriate. However, year referencing is not supported at this time. | This template provides a simple Harvard style reference, using {{tl2|sfn|Lighthouses of Australia Inc}} or {{tl2|harvnb|Lighthouses of Australia Inc}}, as appropriate. However, year referencing is not supported at this time. | ||
| − | <includeonly> | + | <includeonly>{{Sandbox other|| |
[[Category:Lighthouse source templates]] | [[Category:Lighthouse source templates]] | ||
[[Category:External link templates]] | [[Category:External link templates]] | ||
| Line 35: | Line 35: | ||
[[Category:Specific-source templates]] | [[Category:Specific-source templates]] | ||
[[Category:Citation Style 1 specific-source templates]] | [[Category:Citation Style 1 specific-source templates]] | ||
| − | </includeonly> | + | }}</includeonly> |
Revision as of 05:25, 24 April 2020
| 40px | This is a documentation subpage for Template:Cite loaidx. It contains usage information, categories and other content that is not part of the original template page. |
| 40x40px | This template is a Citation Style 1 wrapper template based on {{Cite web}}. For centralised Citation Style 1 discussions, see Help talk:Citation Style 1. |
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.