Difference between revisions of "Template:Law report/doc"

From blackwiki
Jump to navigation Jump to search
imported>Int21h
(fix description)
imported>Int21h
(→‎Usage: url parameter)
Line 29: Line 29:
 
"aliases": ["p","page","pg"],
 
"aliases": ["p","page","pg"],
 
"type": "number"
 
"type": "number"
 +
},
 +
"url": {
 +
"label": "URL",
 +
"description": "An override for the URL.",
 +
"required": false,
 +
"aliases": [],
 +
"type": "string"
 
}
 
}
 
}
 
}

Revision as of 00:45, 14 November 2015

This template implements an inline citation to a law report. For case citations, see {{Cite court}}.

Usage

Use: {{Law report | volume | report | page }}

Output an inline case citation.

Template parameters

ParameterDescriptionTypeStatus
Volume1 vol volume

The volume of the report.

Numberrequired
Report2 rep report

The report / report series.

Stringrequired
Page3 p page pg

The page in the volume of the report.

Numberrequired
URLurl

An override for the URL.

Stringoptional

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.
  • An optional URL override.
  • Named parameters as aliases for the anonymous parameters.

Sources

  • This template currently uses no valid external links.