Difference between revisions of "Template:Cite NSW Parliament"

From blackwiki
Jump to navigation Jump to search
imported>MusikBot II
m (Protected "Template:Cite NSW Parliament": High-risk template or module (more info) ([Edit=Require autoconfirmed or confirmed access] (indefinite)))
imported>Debresser
m (Standardize.)
Line 1: Line 1:
<includeonly>{{cite web
+
<includeonly>{{Cite web
 
| title        = {{if empty |{{{name|}}} |{{{title|}}} }}
 
| title        = {{if empty |{{{name|}}} |{{{title|}}} }}
 
| url          = https://www.parliament.nsw.gov.au/members/Pages/Member-details.aspx?pk={{{id}}}
 
| url          = https://www.parliament.nsw.gov.au/members/Pages/Member-details.aspx?pk={{{id}}}
 
| work        = {{#ifeq: {{{former}}}|Yes|Former|}} Members of the [[Parliament of New South Wales]]
 
| work        = {{#ifeq: {{{former}}}|Yes|Former|}} Members of the [[Parliament of New South Wales]]
| access-date  = {{if empty |{{{access-date|}}} |{{{accessdate|}}} }}
+
| access-date  = {{{access-date|{{{accessdate|}}}}}}
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
  

Revision as of 20:44, 30 August 2020


Template documentation[view] [edit] [history] [purge]

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.

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 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 = 15 September 2025 }}

"Script error: No such module "If empty".". Former Members of the Parliament of New South Wales. Retrieved 15 September 2025.

{{Cite NSW Parliament | id = 21 | name = The Hon. Gladys BEREJIKLIAN, MP | access-date = 15 September 2025 }}

"Script error: No such module "If empty".". Members of the Parliament of New South Wales. Retrieved 15 September 2025.