Template:Infobox court case/doc
This is a documentation subpage for Template:Infobox court case. It may contain usage information, categories and other content that is not part of the original template page. |
This infobox automatically italicizes the article title. If this is not required, add |italic title=no to the list of parameters. If this is required and the title is over 50 characters or contains text in parentheses that should also be italicized, add |italic title=force |
Usage
editThis template summarizes information about a specific court case.
{{Infobox court case |name = |court = |image = |imagesize = |imagelink = |imagealt = |caption = |full name = |date decided = <!-- {{Start date|yyyy|mm|dd}} --> |citations = |transcripts = |judges = |number of judges = |decision by = |prior actions = |appealed from = |appealed to = |subsequent actions = |related actions = |opinions = |keywords = <!-- {{flatlist|}} --> |italic title = }}
Parameters
editThis infobox takes a number of parameters, which are optional unless indicated otherwise:
- name
- The short name of the case, which should preferably be the same as the article title. If the parameter is omitted, the article name is used.
- court
- The name of the court that the case was heard in. [[Wikilink]] the name to a Wikipedia article about the court, if there is one. To cause the template to automatically display an image of the coat of arms of a court or of the court building, enter the name of the court as shown at {{Infobox court case/images}}.
- image
- An image to represent the court, such as a coat of arms or a photograph of a courthouse. Type the name of the image without the "File:" prefix and do not wikilink it. If you omit this parameter, the template automatically displays an image according to the scheme at {{Infobox court case/images}}.
- Note that only images that have been released under a free licence should be used here. Such images should preferably be uploaded to the Wikimedia Commons. Do not use images under a (supposed) "fair use" justification, as the use of such images in infoboxes probably does not constitute fair use.
- imagesize
- The width of the image in pixels, particularly if it is less than 180 pixels (px). Type the number without the "px" suffix ("150", not "150px"). If this parameter is omitted or called but left blank, the image size defaults to 180px.
- imagelink
- Page to link to from the image. If this is specified,
|imagealt=
should also be specified. - imagealt
- Alt text for the image; see Wikipedia:Alternative text for images.
- caption
- A caption for the image. Terms in the caption can be wikilinked, if desired.
- full name
- The full name of the case, including terms like "& Anor" ("and another") or "& Ors" ("and others"). Set out here any abbreviations that appear in the short name of the case in full.
- date decided
- The date the decision was handed down. Use {{start date|yyyy|mm|dd}}. In line with "Wikipedia:Manual of Style (dates and numbers)#Linking and autoformatting of dates", do not add wikilinks to dates.
- citations
- Citations of reports of the case. If a report is available online, use a citation template (such as {{Cite BAILII}}) where available to generate an external link automatically, or else create a link manually.
- Note that if the citation uses square brackets, replace them with [ and ] when putting them inside an external link.
- transcripts
- External links to transcripts of the case, where available.
- judges
- List the names of the judges sitting on the case, in the order of their precedence if known, separated by commas. The Chief Justice or President of the court, if he or she is hearing the case, should appear first. The order that the judges' names should appear in is usually shown in reports of the case. Where available, link a name to a Wikipedia article about the judge.
- number of judges
- Write the number of judges in numerals. This parameter only controls whether the "judges" header is plural. If blank, it defaults to "judge(s)".
- decision by
- Name the judge who wrote the decision if more than one judge sat on the case. Do not link their name again if it was already linked in the
|judges=
parameter. - prior actions
- Mention any prior trials or appeals, if any. Where possible, link the name of a prior case to a Wikipedia article about the case, and link citations as described above.
- appealed from
- If this case is an appeal, name the court from which the appeal immediately came. Link the name if possible. If the case at the lower court has its own article, that case can be linked in parentheses after the name of the court. More complicated or longer histories can use the prior actions field alongside this field or instead of it.
- appealed to
- If this case was appealed, name the court to which the appeal immediately went. Link the name if possible. If the case at the higher court has its own article, that case can be linked in parentheses after the name of the court. More complicated or longer histories can use the subsequent actions field alongside this field or instead of it.
- subsequent actions
- Mention any later appeals or retrials, if any. Where possible, link the name of a subsequent case to a Wikipedia article about the case, and link citations as described above.
- related actions
- Mention any related actions, for example, Mabo v Queensland (No 2) if the article is about Mabo v Queensland (No 1). Where possible, link the name of a related case to a Wikipedia article about the case, and link citations as described above.
- opinions
- A very brief summary of the major findings or holdings in the case. Many case reports will have headnotes or summaries of the holdings that can be modified and entered into this field.
- keywords
- A list of keywords that describe the legal issues dealt with by the case. List keywords alphabetically, separate them with {{Flatlist}}, and link them to appropriate Wikipedia articles wherever possible; for example:
{{Flatlist| *[[Bailment]] *[[common carrier]] *[[negligence]] *[[strict liability]] }}
- which will render as:
- italic title
- Indicates that the page title should be italicized. Valid values are "yes", "no" or "force":
|italic title=yes
– the title is italicised, but only if it is less than 50 characters in length; if it contains an opening parenthesis(
, only the portion before the opening parenthesis will be italicised|italic title=no
– the title is not italicised|italic title=force
– the title is fully italicised
- If the
|italic title=
parameter is blank or omitted, the action is identical to|italic title=yes
Technical information
editThis section contains technical information to assist editors familiar with templates and parser functions to edit this template. |
The |image=
parameter in the template contains the following function:
{{#if:{{{image|}}} | [[File:{{{image}}} | {{#if:{{{imagesize|}}} | {{{imagesize}}}|180}}px | link={{#if:{{{imagelink|}}} | {{{imagelink}}} | File:{{{image}}} }} | alt={{{imagealt|}}}]] | {{#ifeq:{{Infobox court case/images|courtimage={{{court|}}} }} | None | | [[File:{{Infobox court case/images|courtimage={{{court}}}|date={{{date decided|}}} }} | {{#if:{{{imagesize|}}} | {{{imagesize}}}|180}}px | link={{#if:{{{imagelink|}}} | {{{imagelink}}} | File:{{Infobox court case/images | courtimage={{{court}}} | date={{{date decided|}}} }} }} | alt={{{imagealt|}}}]] }} }}
The function does the following tasks:
- If the parameter
|image=
is used in the template, that image is displayed. If a value is specified for|imagesize=
, the image is given that width; otherwise the image width defaults to 180 px. - If
|image=
is not used, a check is done to see if the value of|court=
is listed in {{Infobox court case/images}}. If the result is "None", then no image is displayed. If the result is an image file (either the coat of arms of a court or a photograph of a courthouse), then the image file is displayed. {{Infobox court case/images}} can be tweaked to display different images depending on the date when the case was decided – for help with this, leave a message on the talk page. - Again, if a value is specified for
|imagesize=
, the image is given that width; otherwise the image width defaults to 180px. - In either case the image is given a link and alt text specified by
|imagelink=
and|imagealt=
. If|imagelink=
is omitted or given no value, the image is linked to its image description page.
JackLee came up with the first version of this function, but thanks are due to Chris Cunningham for coming up with a cleaner solution that works better.
See also
edit- Cases of the Supreme Court of Canada – {{Infobox SCC}}
- Cases of the courts of England and Wales – {{Infobox English case}}
- Cases of the Supreme Court of India – {{Infobox SCI case}}
- Cases of the Supreme Court of the United States – {{Infobox SCOTUS case}}, {{SCOTUS-case}}, {{SCOTUS-recentcase}}, {{Infobox US court case}}
- Cases of the United States courts of appeals – {{Infobox COA case}}
- Cases of the United States district courts – {{Infobox United States District Court case}}
- Cases of the Supreme Court of California – {{Infobox California Supreme Court case}}
- Cases of the Massachusetts Supreme Judicial Court – {{Infobox Massachusetts SJC case}}
- Cases of the New York Court of Appeals – {{Infobox New York COA case}}
- Cases of the Supreme Court of Virginia – {{Infobox Virginia Supreme Court case}}
- {{Infobox legislation}}