Jump to content

Template:Law report/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
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}} 410 U.S. 113
{{report|93|S.Ct.|705}} 93 S.Ct. 705
{{report|93|Sup.Ct.Rep.|705}} 93 Sup.Ct.Rep. 705
{{report|35|L.Ed.2d|147}} 35 L.Ed.2d 147
{{report|1973|U.S. LEXIS|159}} 1973 U.S. LEXIS 159

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