Difference between revisions of "Template:Cite NSW Parliament/doc"
imported>Find bruce (Add former to horizontal usage) |
imported>Find bruce (Add categories) |
||
| Line 58: | Line 58: | ||
<includeonly><!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | <includeonly><!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | ||
| + | [[Category:People and person external link templates|{{PAGENAME}}]] | ||
| + | [[Category:Australian source templates|{{PAGENAME}}]] | ||
[[Category:Specific-source templates|{{PAGENAME}}]] | [[Category:Specific-source templates|{{PAGENAME}}]] | ||
| + | [[Category:Citation Style 1 specific-source templates]] | ||
| + | [[Category:Templates that wrap Cite web]] | ||
</includeonly> | </includeonly> | ||
Revision as of 03:08, 25 April 2019
| This is a documentation subpage for Template:Cite NSW Parliament. 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 "members" biographical database, which contains information on all New South Wales members of parliament, including former members.
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 Parliament
| id =
| name =
| former =
| access-date =
}}
|
Required parameters:
- id: "Member id", corresponds to the last parameter found in the URL of the database entry. https://www.parliament.nsw.gov.au/members/Pages/Member-details.aspx?pk=#### For example, for the entry on Gladys Berejiklian, the "id" is 21.
- name: The name of the member. Consider using the form given in the relevant database entry. For example, for the entry on Sir Henry Parkes, the name in the entry is given as "Sir Henry Parkes (1815 - 1896)".
Optional parameters:
- former: Yes indicates a former member - omit for current members.
- access-date: The date when the entry was accessed.
Examples
| Example | Produces |
|---|---|
|
{{Cite NSW Parliament | id = 426 | name = Sir Henry Parkes (1815 - 1896) | former = Yes | access-date = 17 December 2025 }} |
"Script error: No such module "If empty".". Former Members of the Parliament of New South Wales. Retrieved 17 December 2025. |
|
{{Cite NSW Parliament | id = 21 | name = The Hon. Gladys BEREJIKLIAN, MP | access-date = 17 December 2025 }} |
"Script error: No such module "If empty".". Members of the Parliament of New South Wales. Retrieved 17 December 2025. |