Difference between revisions of "Template:Cite NSW Parliament/doc"

From blackwiki
Jump to navigation Jump to search
imported>Find bruce
(Add categories)
imported>Vanisaac
m (→‎Examples: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
Line 57: Line 57:
 
|}
 
|}
  
<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 63: Line 63:
 
[[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>

Latest revision as of 14:18, 24 April 2020


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

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

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

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