Template:Cite NSW Parliament/doc

From Wikipedia, the free encyclopedia


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[edit]

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 purge the page.

Most commonly used parameters in horizontal format
{{Cite NSW Parliament |id= |name= |former = |access-date=}}
Most commonly used parameters in vertical format
{{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 Dominic Perrottet, the "id" is 66.
  • 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[edit]

Example Produces

{{Cite NSW Parliament |id=426 |name=Sir Henry Parkes (1815 - 1896) |former=Yes |access-date=30 May 2024 }}

"Sir Henry Parkes (1815 - 1896)". Former members of the Parliament of New South Wales. Retrieved 30 May 2024.

{{Cite NSW Parliament |id=66 |name=The Hon. Dominic Francis PERROTTET, LLB, BCOM MP |access-date=30 May 2024 }}

"The Hon. Dominic Francis PERROTTET, LLB, BCOM MP". Members of the Parliament of New South Wales. Retrieved 30 May 2024.

TemplateData[edit]

This template provides a citation for the former member database of the Parliament of New South Wales.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
idid

Member ID. Extracted from URL: https://www.parliament.nsw.gov.au/members/Pages/member-details.aspx?pk=####

Example
66
Stringrequired
namename title

Name of member.

Example
The Hon. Dominic Francis Perrottet
Stringrequired
formerformer

Adds Former to work and corrects url.

Example
Yes
Stringsuggested
access-dateaccess-date accessdate

Date entry was accessed.

Auto value
{{subst:TODAY}}
Datesuggested