Template:Infobox court case/doc: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Jacklee →Usage: Updated sample template |
meta>Jacklee m →Parameters: Minor rephrasing |
||
Line 36: | Line 36: | ||
;imagesize {{nobold|(mandatory)}} | ;imagesize {{nobold|(mandatory)}} | ||
:The width of the image in [[pixel]]s. | :The width of the image in [[pixel]]s. This parameter must be stated, otherwise no image will appear. An image width of 180 [[pixel]]s (px) is recommended. Type the number without the "px" suffix ("<tt>180</tt>", not "<tt>180px</tt>"). | ||
;caption | ;caption |
Revision as of 07:27, 29 March 2009
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. |
Usage
This template summarizes information about a specific court case.
{{Infobox Court Case | name = | court = [mandatory] | image = | imagesize = 180 | caption = | full name = | date decided = | citations = | transcripts = | judges = | prior actions = | subsequent actions = | opinions = | keywords = }}
Parameters
This 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 (mandatory)
- 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}}.
- imagesize (mandatory)
- The width of the image in pixels. This parameter must be stated, otherwise no image will appear. An image width of 180 pixels (px) is recommended. Type the number without the "px" suffix ("180", not "180px").
- 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. In line with "Wikipedia:Manual of Style (dates and numbers)#Linking and autoformatting of dates", do not wikilink dates.
- citations
- The number assigned to the case by the court, and/or citations to law reports of the case. If a particular report of a case is available in full online, hyperlink the citation in question to the website like this: "[http://www.icj-cij.org/docket/index.php?p1=3&p2=3&k=2b&case=130&code=masi&p3=4 General List No. 130]". If the citation uses square brackets, replace them with "[" and "]", as shown:
- Wikitext: [http://www.austlii.edu.au/au/cases/cth/HCA/1988/69.html [1988] HCA 69]
- Result: [1988] HCA 69
- 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.
- prior actions
- Mention any prior trials or appeals. Where possible, link the name of a prior case to a Wikipedia article about the case, and the citation to an external link containing the full judgment of the case, as shown:
- Wikitext: ''[[Mabo v Queensland (1988)|Mabo v. Queensland (No. 1)]]'' [http://www.austlii.edu.au/au/cases/cth/high_ct/166clr186.html (1989) 166 CLR 186]
- Result: Mabo v. Queensland (No. 1) (1989) 166 CLR 186
- subsequent actions
- Mention any later appeals or retrials, if any. Where possible, link the name of a prior case to a Wikipedia article about the case, and the citation to an external link containing the full judgment of the case.
- 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 prior case to a Wikipedia article about the case, and the citation to an external link containing the full judgment of the case.
- 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 commas, and link them to appropriate Wikipedia articles wherever possible; for example, "[[Bailment]], [[common carrier]], [[negligence]], [[strict liability]]".
Technical information
This 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|}}}{{{court|}}}|[[File:{{#if:{{{image|}}}|{{{image}}}|{{Infobox Court Case/images|courtimage={{{court}}} }} }} | {{#if:{{{imagesize|}}} | {{{imagesize}}} | {{#if:{{{image|}}}|180|1}} }}px]]}}".
The function does the following tasks:
- If neither the parameters "image" or "court" are used in the template, no image is displayed.
- If the name of an image file is specified for the "image" parameter, that file is displayed.
- If no file is specified or the "image" parameter is omitted, but one of the courts listed in {{Infobox Court Case/images}} is specified for the "court" parameter, then the image designated in {{Infobox Court Case/images}} is displayed.
- If the court specified for the "court" parameter is not listed in {{Infobox Court Case/images}}, the default image "No image.svg" (which is blank and has a size of 1 x 1 pixel) is displayed.
- If an image size has been specified for the "imagesize" parameter, that size is used.
- If no image size has been specified, and the name of an image file has been specified for the "image" parameter, then a default size of 180 pixels is used.
- If no image file has been specified for the "image" parameter, a size of 1 pixel is specified for the default image "No image.svg".
See also
- Cases of the Supreme Court of CanadaTemplate:– {{SCCInfoBox}}
- Cases of the courts of England and WalesTemplate:– {{English case infobox}}
- Cases of the Supreme Court of IndiaTemplate:– {{SCICase}}
- Cases of the Supreme Court of IrelandTemplate:– {{SCOTIECase}}
- Cases of the Supreme Court of the United StatesTemplate:– {{Infobox SCOTUS case}}, {{SCOTUS-case}}, {{SCOTUS-recentcase}}
- Cases of United States courts of appealsTemplate:– {{Infobox COA case}}
- Cases of the Supreme Court of CaliforniaTemplate:– {{Infobox California Supreme Court case}}
- Cases of the Massachusetts Supreme Judicial CourtTemplate:– {{Infobox Massachusetts SJC case}}
- Cases of the New York Court of AppealsTemplate:– {{Infobox New York COA case}}
- Cases of the Supreme Court of VirginiaTemplate:– {{Infobox Virginia Supreme Court case}}
- Cases of the courts of the United StatesTemplate:– {{USCourtCase}}