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

From blackwiki
Jump to navigation Jump to search
imported>AussieLegend
(cats)
imported>Matthiaspaul
(Switched from |template-doc-demo to |no-tracking parameter alias as the former will be disabled soon.)
 
(2 intermediate revisions by 2 users not shown)
Line 6: Line 6:
 
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.
 
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.
+
In addition, access date can be specified using the access-date fields.
  
 
Error checking is done, thus using <code><nowiki>{{cite sslidx|foo}}</nowiki></code> will result in an error:
 
Error checking is done, thus using <code><nowiki>{{cite sslidx|foo}}</nowiki></code> will result in an error:
  
{{cite sslidx|foo|template doc demo=true}}
+
{{cite sslidx|foo|no-tracking=yes}}
  
 
==Examples:==
 
==Examples:==
Line 21: Line 21:
 
{{cite sslidx|idx}}
 
{{cite sslidx|idx}}
  
<code><nowiki>{{cite sslidx|TAS|accessdate=August 3, 2010}}</nowiki></code>
+
<code><nowiki>{{cite sslidx|TAS|access-date=August 3, 2010}}</nowiki></code>
  
{{cite sslidx|TAS|accessdate=August 3, 2010}}
+
{{cite sslidx|TAS|access-date=August 3, 2010}}
  
 
==Harvard style referencing==
 
==Harvard style referencing==
 
This template provides a simple Harvard style reference, using {{tl2|sfn|Searle}} or {{tl2|harvnb|Searle}}, as appropriate. However, year referencing is not supported at this time.
 
This template provides a simple Harvard style reference, using {{tl2|sfn|Searle}} or {{tl2|harvnb|Searle}}, as appropriate. However, year referencing is not supported at this time.
<includeonly>
+
<includeonly>{{Sandbox other||
 
[[Category:Lighthouse source templates]]
 
[[Category:Lighthouse source templates]]
 
[[Category:Australian source templates]]
 
[[Category:Australian source templates]]
 
[[Category:Specific-source templates]]
 
[[Category:Specific-source templates]]
 
[[Category:Citation Style 1 specific-source templates]]
 
[[Category:Citation Style 1 specific-source templates]]
</includeonly>
+
}}</includeonly>

Latest revision as of 21:30, 23 September 2020

Usage

This template creates a {{cite web}} citation to the index pages of SeaSide Lights, 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 access-date fields.

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

Searle, Garry. "List of Lighthouses - Error: invalid index page when using {{[[Template:cite sslidx|cite sslidx]]}}[[:Template:Namespace detect showall]]". Lighthouses of Australia. SeaSide Lights. URL–wikilink conflict (help)

Examples:

{{cite sslidx|VIC}}

Searle, Garry. "List of Lighthouses - Victoria". Lighthouses of Australia. SeaSide Lights.

{{cite sslidx|itx}}

Searle, Garry. "Lighthouses of Australia". SeaSide Lights.

{{cite sslidx|TAS|access-date=August 3, 2010}}

Searle, Garry. "List of Lighthouses - Tasmania". Lighthouses of 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.