Difference between revisions of "Template:Cite NSW election/doc"
imported>John of Reading m (→Usage: Typo fixing, replaced: specificed → specified) |
imported>Vanisaac m (→Examples: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other) |
||
Line 48: | Line 48: | ||
|} | |} | ||
− | <includeonly><!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | + | <includeonly>{{Sandbox other||<!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> |
[[Category:People and person external link templates|{{PAGENAME}}]] | [[Category:People and person external link templates|{{PAGENAME}}]] | ||
[[Category:Australian source templates|{{PAGENAME}}]] | [[Category:Australian source templates|{{PAGENAME}}]] | ||
Line 54: | Line 54: | ||
[[Category:Citation Style 1 specific-source templates]] | [[Category:Citation Style 1 specific-source templates]] | ||
[[Category:Templates that wrap Cite web]] | [[Category:Templates that wrap Cite web]] | ||
− | </includeonly> | + | }}</includeonly> |
Revision as of 14:18, 24 April 2020
![]() | This is a documentation subpage for Template:Cite NSW election. It contains usage information, categories and other content that is not part of the original template page. |
This citation template produces formatted references to the Parliament of New South Wales's "NSW election result database", which contains information on all New South Wales elections in the period 1856-2007.
Usage
Copy a blank version to use. Almost all parameter names are supported only in lower case (some initialisms, such as |isbn=
have upper case aliases like |ISBN=
, which are acceptable for use). Use the "|" (pipe) character between each parameter. Unused parameters may be deleted to avoid clutter in the edit window. Some samples on this documentation page may include the current date. If the date is not current, then Script error: No such module "Purge". the page.
|
{{Cite NSW election | title = | year = | district = | access-date = }} |
Required parameters:
- year: the year of the election, in the format used by the database, eg 1860, 1864-5 and 1869-70.
- district: The name of the district without space, eg "MaitlandWest" not "West Maitland".
Optional parameters:
- title: If no title is specified the template returns the title "year district".
It does not currently link to election year totals, district or candidate lists
Examples
Example | Produces |
---|---|
{{Cite NSW election | year = 1891 | district = Hunter | access-date = 16 September 2025 }} |
Green, Antony. "Script error: No such module "If empty".". New South Wales Election Results 1856-2007. Parliament of New South Wales. Retrieved 16 September 2025. |