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

From blackwiki
Jump to navigation Jump to search
imported>Int21h
imported>Int21h
(add templatedata)
Line 4: Line 4:
 
==Usage==
 
==Usage==
 
Use: '''<tt><nowiki>{{Law report | volume | report | page }}</nowiki></tt>'''
 
Use: '''<tt><nowiki>{{Law report | volume | report | page }}</nowiki></tt>'''
 +
 +
<templatedata>
 +
{
 +
"description": "Output an inline case citation.",
 +
"params": {
 +
"1": {
 +
"label": "Volume",
 +
"description": "The volume of the report",
 +
"required": true,
 +
"aliases": ["vol","volume"],
 +
"type": "number"
 +
},
 +
"2": {
 +
"label": "Report",
 +
"description": "The report / report series",
 +
"required": true,
 +
"aliases": ["rep","report"],
 +
"type": "string"
 +
},
 +
"3": {
 +
"label": "Page",
 +
"description": "The page in the volume of the report",
 +
"required": true,
 +
"aliases": ["p","page","pg"],
 +
"type": "number"
 +
}
 +
}
 +
}
 +
</templatedata>
  
 
==Examples==
 
==Examples==
 +
 
{| class=wikitable
 
{| class=wikitable
 
! Enter !! Result
 
! Enter !! Result

Revision as of 00:24, 14 November 2015

This template implements an inline case citation. For use in references, 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

Examples

Enter Result
{{report|1|US|1}} Template:Report

Sources

  • This template currently uses no valid external links.