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.
 
(7 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{documentation subpage}}
{{documentation subpage}}
This template implements an inline citation to a [[law report]].
This template gives an inline citation to a [[law report]]. It does not give a full [[case citation]], only a citation to a law report.


For [[case citation]]s, see {{tl|Cite court}}.
For full [[case citation]]s, see {{tl|Cite court}}.


==Usage==
==Usage==
Use: '''<tt><nowiki>{{Law report | volume | report | page}}</nowiki></tt>'''
Use: '''<code><nowiki>{{Law report | volume | report | page}}</nowiki></code>'''


==Examples==
==Examples==
Line 12: Line 12:
! Enter !! Result
! Enter !! Result
|-
|-
| <tt><nowiki>{{report|410|U.S.|113}}</nowiki></tt> || {{report|410|U.S.|113}}
| <code><nowiki>{{report|410|U.S.|113}}</nowiki></code> || {{report|410|U.S.|113}}
|-
|-
| <tt><nowiki>{{report|93|S.Ct.|705}}</nowiki></tt> || {{report|93|S.Ct.|705}}
| <code><nowiki>{{report|93|S.Ct.|705}}</nowiki></code> || {{report|93|S.Ct.|705}}
|-
|-
| <tt><nowiki>{{report|93|Sup.Ct.Rep.|705}}</nowiki></tt> || {{report|93|Sup.Ct.Rep.|705}}
| <code><nowiki>{{report|93|Sup.Ct.Rep.|705}}</nowiki></code> || {{report|93|Sup.Ct.Rep.|705}}
|-
|-
| <tt><nowiki>{{report|35|L.Ed.2d|147}}</nowiki></tt> || {{report|35|L.Ed.2d|147}}
| <code><nowiki>{{report|35|L.Ed.2d|147}}</nowiki></code> || {{report|35|L.Ed.2d|147}}
|-
|-
| <tt><nowiki>{{report|1973|U.S. LEXIS|159}}</nowiki></tt> || {{report|1973|U.S. LEXIS|159}}
| <code><nowiki>{{report|1973|U.S. LEXIS|159}}</nowiki></code> || {{report|1973|U.S. LEXIS|159}}
|}
|}


==TemplateData==
==TemplateData==
{{TemplateData header}}
<templatedata>
<templatedata>
{
{
Line 72: Line 73:
* Given a report series, format the citation to jurisdiction-specific standards.
* Given a report series, format the citation to jurisdiction-specific standards.
* Named parameters as aliases for the anonymous parameters and ''vice versa''.
* Named parameters as aliases for the anonymous parameters and ''vice versa''.
* International coverage.


==Sources==
==Sources==
* This template currently uses [https://www.courtlistener.com/ CourtListener] from the [[Free Law Project]].
* This template currently uses [https://www.courtlistener.com/ CourtListener] from the [[Free Law Project]].


<includeonly>
<includeonly>{{Sandbox other||
[[Category:Law citation templates|{{PAGENAME}}]]
[[Category:Court case citation templates|{{PAGENAME}}]]
</includeonly>
}}</includeonly>

Latest revision as of 13:55, 22 October 2023

This template gives an inline citation to a law report. It does not give a full case citation, only a citation to a law report.

For full case citations, see {{Cite court}}.

Usage

[edit]

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

Examples

[edit]
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

[edit]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Law report in articles based on its TemplateData.

TemplateData for Law report

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

[edit]

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.
  • International coverage.

Sources

[edit]