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

From blackwiki
Jump to navigation Jump to search
imported>Int21h
imported>Int21h
(mv Examples section. rename TemplateData section.)
Line 7: Line 7:
 
Use: '''<tt><nowiki>{{Law report | volume | report | page}}</nowiki></tt>'''
 
Use: '''<tt><nowiki>{{Law report | volume | report | page}}</nowiki></tt>'''
  
 +
==Examples==
 +
 +
{| class=wikitable
 +
! Enter !! Result
 +
|-
 +
| <tt><nowiki>{{report|410|U.S.|113}}</nowiki></tt> || {{report|410|U.S.|113}}
 +
|-
 +
| <tt><nowiki>{{report|93|S.Ct.|705}}</nowiki></tt> || {{report|93|S.Ct.|705}}
 +
|-
 +
| <tt><nowiki>{{report|93|Sup.Ct.Rep.|705}}</nowiki></tt> || {{report|93|Sup.Ct.Rep.|705}}
 +
|-
 +
| <tt><nowiki>{{report|35|L.Ed.2d|147}}</nowiki></tt> || {{report|35|L.Ed.2d|147}}
 +
|-
 +
| <tt><nowiki>{{report|1973|U.S. LEXIS|159}}</nowiki></tt> || {{report|1973|U.S. LEXIS|159}}
 +
|}
  
 +
==TemplateData==
 
<templatedata>
 
<templatedata>
 
{
 
{
Line 50: Line 66:
 
}
 
}
 
</templatedata>
 
</templatedata>
 
==Examples==
 
 
{| class=wikitable
 
! Enter !! Result
 
|-
 
| <tt><nowiki>{{report|410|U.S.|113}}</nowiki></tt> || {{report|410|U.S.|113}}
 
|-
 
| <tt><nowiki>{{report|93|S.Ct.|705}}</nowiki></tt> || {{report|93|S.Ct.|705}}
 
|-
 
| <tt><nowiki>{{report|93|Sup.Ct.Rep.|705}}</nowiki></tt> || {{report|93|Sup.Ct.Rep.|705}}
 
|-
 
| <tt><nowiki>{{report|35|L.Ed.2d|147}}</nowiki></tt> || {{report|35|L.Ed.2d|147}}
 
|-
 
| <tt><nowiki>{{report|1973|U.S. LEXIS|159}}</nowiki></tt> || {{report|1973|U.S. LEXIS|159}}
 
 
|}
 
  
 
==Todo==
 
==Todo==

Revision as of 23:32, 25 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}}

Examples

Enter Result
{{report|410|U.S.|113}} Template:Report
{{report|93|S.Ct.|705}} Template:Report
{{report|93|Sup.Ct.Rep.|705}} Template:Report
{{report|35|L.Ed.2d|147}} Template:Report
{{report|1973|U.S. LEXIS|159}} Template:Report

TemplateData

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
Year4 y year yr

The year of the citation.

Numberoptional
URLurl

An override for the URL.

Stringoptional

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