Difference between revisions of "Template:Law report/doc"
Jump to navigation
Jump to search
imported>Int21h |
imported>Int21h |
||
| Line 31: | Line 31: | ||
"required": true, | "required": true, | ||
"aliases": ["p","page","pg"], | "aliases": ["p","page","pg"], | ||
| + | "type": "number" | ||
| + | }, | ||
| + | "4": { | ||
| + | "label": "Year", | ||
| + | "description": "The year of the citation.", | ||
| + | "required": false, | ||
| + | "aliases": ["y","year","yr"], | ||
"type": "number" | "type": "number" | ||
}, | }, | ||
Revision as of 16:40, 21 November 2015
| This is a documentation subpage for Template:Law report. It contains usage information, categories and other content that is not part of the original template page. |
This template implements an inline citation to a law report.
For case citations, see {{Cite court}}.
Contents
Usage
Use: {{Law report | volume | report | page}}
Output an inline case citation.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Volume | 1 vol volume | The volume of the report. | Number | required |
| Report | 2 rep report | The report / report series. | String | required |
| Page | 3 p page pg | The page in the volume of the report. | Number | required |
| Year | 4 y year yr | The year of the citation. | Number | optional |
| URL | url | An override for the URL. | String | optional |
Examples
| Enter | Result |
|---|---|
| {{report|1|US|1}} | Template:Report |
Todo
This template still needs:
- Given a report series, format the citation to jurisdiction-specific standards.
- Named parameters as aliases for the anonymous parameters and vice versa.
Sources
- This template currently uses CourtListener from the Free Law Project.