User:SamuelRiv/DraftTemplate

{{Documentation |heading=Documentation in-source: USERSPACE TEMPLATE-TESTING SANDBOX |link box=off |content= {{TOC hidden}} {{User:SamuelRiv/DraftTemplate}}

Parameters
{	"description": "Legal subtemplate wrapping cite_report; see CS1 for details", "params": { "article": { "aliases": [ "chapter" ],			"description": "For words like \"Annex III\", \"Article IV\", \"Subsection 2(a)\", to separate from article= field, which would be numerical. (Now the entire article-section pinpoint should go in the orig-section= field.)", "deprecated": true },		"article-type": { "aliases": [ "articletype" ],			"type": "string", "deprecated": true, "description": "For words like \"Annex\", \"Article\", \"Subsection\", to separate from article= field, which would be numerical. (Now the entire article-section pinpoint should go in the orig-section= field.)" },		"title": { "description": "If title, script-title, and/or trans-title are set, title is passed directly to the CS1 template. If not set, it is instead populated as described in the type parameter. CS1 cite_report sets rft.title metadata", "type": "string" },		"type": { "aliases": [ "act-type" ],			"description": "Populates the CS1 type parameter, unless title fields are empty, in which case we set title->type and type->none. Followed by prefix and index number, but specifying these fields may be unnecessary in many cases. No metadata.", "type": "string", "suggestedvalues": [ "HR", "HR 173", "Decret", "Decret no. 117 du 2008", "HL Deb" ]		},		"index": { "aliases": [ "number", "docket" ],			"description": "The identifier number of the legislation. (This is separate from the id parameter, which is used particularly for directly linking to digital catalog identifiers.)", "type": "string", "example": "44/R/330 ; XXIV-2008a" },		"prefix": { "description": "Followed by a non-breaking-space, then the index number.", "type": "string", "suggestedvalues": [ "No.", "#"			]		},		"italics": { "description": "If set to any non-empty value, will output the title= CS1 field in italics. (Implemented by changing base template from cite_report to cite_tech_report.)", "type": "boolean", "default": "null" },		"firstpage": { "description": "The first page at which the cited document is found in the reporter publication. Do not include more than one number. This is prepended before the pinpoint pages in the at= parameter.", "type": "number" },		"at": {}, "pinpoint": { "aliases": [ "at" ],			"description": "Sections and paragraphs (neutral) or pages (non-neutral) in the published source that are being cited by the body text. ", "type": "string", "suggestedvalues": [ "s. IV(a) para. 4", "pp. 22, 117-18", "ch 3 art vi" ]		},		"enact-prefix": { "description": "If the authority= or orig-date= fields are used, this prepends with text.", "example": "[  ] : \"Enacted by ANC on 2000-12-31\"", "type": "string", "suggestedvalues": [ "Enacted at", "Promulgated by", "Amended on" ]		},		"authority": { "aliases": [ "author", "authority1", "author1" ],			"label": "authority", "description": "The administrative body responsible for producing the act/law/document, that is not otherwise directly an author (use author=) or indirectly a publisher (use publisher= or institution=).", "type": "string", "suggestedvalues": [ "Subcommittee on Foreign Relations", "People's Congress" ]		},		"enact-postfix": { "description": "When using both authority= and orig-date=, separates the two fields in the CS1 orig-date= output.", "example": "[  ] : \"Enacted by ANC on 2000-12-31\"", "type": "string", "suggestedvalues": [ "on", "at" ]		},		"orig-date": { "description": "Passed as CS1 parameter and output in brackets next to date= field. May freely carry extra information related to date of debate, enactment, revision, etc. The date= field is for the date of publication in which the source can be found.", "example": "[] ; [  ] : \"Enacted by ANC on 2000-12-31\"", "type": "string", "suggestedvalues": [ "Introduced December 1999 and amended January 2000" ]		},		"parallel": { "description": "Parallel citation to a published source (reporter/journal), typically when a style requires citing both a neutral/government and commercial publication. Include volume/year and pinpoint of parallel citation, including brackets. Prepended to id= field.", "example": ", , .", "type": "string", "suggestedvalues": [ "12 F. Rep. 20", "[1999] UKHL 27" ]		},		"id": { "description": "As CS1 field, includes any number of digital catalog or other identifiers, including templates.", "type": "string", "suggestedvalues": [ "OJEU 117", ""			]		},		"mode": { "description": "As CS1 field. If set to mode=cs2, the sepator between fields is a comma \",\" and there is no postfix. (Default cs1 separator and full stop is a period \".\").", "type": "content", "suggestedvalues": [ "cs1", "cs2" ],			"default": "cs1" },		"docket": {}, "orig-section": { "description": "Reference/pinpoint article/chapter/section numbers in the original act/law/document. This is typically a source-neutral format, and is separate from the page= at= pinpoint= fields of the published version of the document. If the section has a text title, put the text in the chapter= field", "example": ", ", "type": "string", "suggestedvalues": [ "art. 4 s. 3(a)", "ch 5 ss 2" ]		},		"script-title": {}, "trans-title": {} } }

sets rft.genre to keyword "book" or "article" (latter if periodical is set to journal/mag/news), while and  set rft.genre to keyword "report". That's the important metadata difference. And also, if we set periodical or any work parameter in, then the title changes from italics to quotemarks.

AFAICT the only effective difference between and  is that the former leaves title upright while the latter italicizes it. The number-docket-id issue is very slightly different but still the same semantic problem. The handling of everything else seems to be effectively the same.

MaroonBook

 * 1) Court documents (briefs, motions):   Remedies Brief of Amici Curiae Robert E. Litan, etc., United States v Microsoft Corp, Civil Action No 98-1232, *46–49 (DDC filed Apr 27, 2000) ("Litan Brief").
 * 1) Codified law:   National Labor Relations Act (NLRA), 29 USC § 151 et seq (West 1982).
 * 1) Original Act:   Equal Credit Opportunity Act, Pub L No 93-495, 88 Stat 1521 (1974).
 * 1) Legislative:   Illinois Senate Resolution No 53, Illinois General Assembly, 99th Sess (May 26, 2015).

Oscola
Use cite_report ??? Use cite_report ???
 * 1) Primary legislation (acts):   Shipping and Trading Interests (Protection) Act 1995, ss 1(1) and 4(3)(a).
 * 1) Statutory instruments (orders, regs, rules): numbered consecutively per year:     Penalties for Disorderly Behaviour (Amendment of Minimum Age) Order 2004, SI 2004/3166
 * 1) Bills:   (running numbers for Commons are in square brackets; round for Lords) --  Academies HL Bill (2010-11) 1, cl 8(2)
 * 1) Command papers/treaties: Department for International Development, Eliminating World Poverty: Building our Common Future (White Paper, Cm 7656, 2009) ch 5
 * 1) Law Commission reports:   -- Law Commission, Reforming Bribery (Law Com No 313, 2008) paras 3.12–3.17
 * 1) Hansards:   -- HC Deb 3 February 1977, vol 389, cols 973–76 -- also ..., col WA261 -- (WA for 'written answer')
 * 1) If the Bill title is very long, begin the citation with ‘PBC Deb’, followed by the Bill number in brackets: PBC Deb (Bill 99) 30 January 2007, cols 12–15
 * 2) Committee reports: Health Committee, Patient Safety (HC 2008–09, 151–I) paras 173–75 -- Joint Committee on Human Rights, Legislative Scrutiny: Equality Bill (second report); Digital Economy Bill (2009–10, HL 73, HC 425) 14–16

AGLC

 * Legislation:  -- National Parks and Wildlife Regulation 2009 (NSW) reg 6.
 * Bill: Interactive Gambling Bill 2001 (Cth).
 * Explanatory memo: Explanatory Memorandum, Corporate Law Reform Bill 1992 (Cth).
 * Hansard: Commonwealth, Parliamentary Debates, Senate, 18 June 2008, 2642-4 (Bob Brown).
 * Committee report: Law Reform, Road and Community Safety Committee, Parliament of Victoria, Inquiry into the Crimes Amendment (Unlicensed Drivers) Bill 2018 (Report, September 2018) 5.


 * Bills digest: Department of Parliamentary Services (Cth), Bills Digest (Digest No 23 of 2010-11, 20 October 2010) 10.


 * Inquiry/submission: Law Institute of Victoria, Submission No 78 to House of Representatives Standing Committee on Legal and Constitutional Affairs, Parliament of Australia, Inquiry into Older People and the Law (13 December 2006).


 * Direction: Minister for Immigration, Citizenship, Migrant Services and Multicultural Affairs (Cth), Direction No 90: VIsa Refusal and Cancellation under Section 501 and Revocation of a Mandatory Cancellation of a Visa under Section 501CA (15 April 2021) para 9.4.1.

parser function test
; ;  ;  ;  ;   ;  ;  ;  ;

blah ; 2000 May 20 ; 2000-05-20 ; 2000-05-20 ; 2000-05-20 ; 2000-05-20

param testing

 * cite techreport wrapper param test

target params:

vol+num:


 * cite techreport param test -- pass docket/number info into parentheses after title via type parameter (no associated COinS) -- see Help_talk:Citation_Style_1/Archive_88

<!--
 * cite techreport param test


 * cite report param test


 * cite thesis param test


 * cite book param test


 * cite web param test


 * cite techreport wrapper, with type=Directive, and type not listed in _exclude or _reuse


 * cite techreport wrapper, with type=none, and type not listed in _exclude or _reuse


 * cite act with odf=true


 * cite act without odf, with df=true (likely does nothing)


 * cite act without odf or df (likely does nothing)

"The approximation of the laws of the Member States...". Annex II, Directive No. 2000/13/EC of 20 March 2000 (Directive). The European Parliament. pp. 29–42.
 * cite techreport wrapper, with type=Directive, title in _reuse, and type not listed in _exclude or _reuse

"The approximation of the laws of the Member States...". Annex II, none No. 2000/13/EC of 20 March 2000. The European Parliament. pp. 29–42.
 * cite techreport wrapper, with type=none, and type not listed in _exclude or _reuse

"The approximation of the laws of the Member States...". Annex II, none No. 2000/13/EC of 20 March 2000 (Technical report). The European Parliament. pp. 29–42.
 * cite techreport wrapper, with type=none, and both title and type listed in _reuse

"The approximation of the laws of the Member States...". Annex II, none No. 2000/13/EC of 20 March 2000 (Technical report). The European Parliament. pp. 29–42.
 * cite techreport wrapper, with type=none, with title in _reuse, and type in _exclude

"The approximation of the laws of the Member States...". Annex II, none No. 2000/13/EC of 20 March 2000 (Technical report). The European Parliament. pp. 29–42.
 * cite techreport wrapper, with type=none, with both title and type in _exclude

"The approximation of the laws of the Member States...". The approximation of the laws of the Member States... The European Parliament. pp. 29–42.
 * cite techreport wrapper, with type=none, with both title and type not listed in _exclude or _reuse

"The approximation of the laws of the Member States...". Annex II, Directive No. 2000/13/EC of 20 March 2000 (Directive). The European Parliament. pp. 29–42. --> "The approximation of the laws of the Member States...". Annex II, Directive No. 2000/13/EC. The European Parliament. 20 March 2000. pp. 29–42.
 * cite report wrapper, with type=Directive, with title listed in _reuse, and type not listed in _exclude or _reuse
 * cite act with odf=true

"The approximation of the laws of the Member States...". Annex II, Directive No. 2000/13/EC of 20 March 2000. The European Parliament. pp. 29–42.
 * cite act without odf, with df=true (likely does nothing)

"The approximation of the laws of the Member States...". Annex II, Directive No. 2000/13/EC of 20 March 2000. The European Parliament. pp. 29–42.
 * cite act without odf or df (likely does nothing)

ref-span
Scope a block of text to a specific citation, akin to citation needed span. Probably use css span (no idea what class) wrapped with r ? |1=|content; |2=|span-class; |3=|citation

MOS Sidebar with collapsible lists
Submenu for individual languages:
 * list4name = languages (testing)
 * list4title = Languages
 * list4 =
 * Arabic
 * Other lang

Legal citation template extra

 * User:SamuelRiv/Notes: Review of Bluebook and other citation styles, US, UK, and int'l
 * User:SamuelRiv/sandbox: Testing misc

Codebase at

 * Module:Sandbox/SamuelRiv
 * Module:Sandbox/SamuelRiv/Configuration
 * Module:Citation/CS1

CS1/COinS
See CS1 COinS key list. Current metadata interpretation is based on court cases and legislation being officially published in periodicals/journals, which is often the case:
 * rft.atitle -> "article title" = litigants or act title (rft.title may be deprecated)
 * rft.jtitle -> "journal title" = reporter, journal, or other periodical or publisher of law
 * rft.au = 'court name' and possibly 'legislature'/'body'/'executive' aliases. Nothing else seems to fit.
 * rft.pub -> "publisher" = shows up only in MaroonBook 4.6(d), for codified law, in same position as court name.
 * rft_id -> look into whether these are corrupted by outside templates
 * rft.cc = Unused in CS1/2 but we would certainly want it for international law, unless something like rft.place can be usurped appropriately. cite patent would also use it.
 * rft.genre = article (??? default for periodical, but look into possible others)
 * rft_val.fmt = info:ofi/fmt:kev:mtx:journal (very few choices)

Further goals

 * language and format support

}}