Template:Infobox court case: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Thumperward
tidy comment
meta>Jacklee
Updated template to enable the value of a parameter {{{date}}} to be passed on to {{Infobox Court Case/image}}, enabling that template to display different images depending on the date when the case was decided
Line 3: Line 3:
| abovestyle  = font-style: italic
| abovestyle  = font-style: italic
| image      = {{#if:{{{image|}}} | [[File:{{{image}}} | {{#if:{{{imagesize|}}} | {{{imagesize}}}|180}}px | link={{#if:{{{imagelink<includeonly>|</includeonly>}}} | {{{imagelink}}} | File:{{{image}}} }} | alt={{{imagealt|}}}]]
| image      = {{#if:{{{image|}}} | [[File:{{{image}}} | {{#if:{{{imagesize|}}} | {{{imagesize}}}|180}}px | link={{#if:{{{imagelink<includeonly>|</includeonly>}}} | {{{imagelink}}} | File:{{{image}}} }} | alt={{{imagealt|}}}]]
                 | {{#ifeq:{{Infobox Court Case/images|courtimage={{{court|}}} }} | None | | [[File:{{Infobox Court Case/images|courtimage={{{court}}} }} | {{#if:{{{imagesize|}}} | {{{imagesize}}}|180}}px | link={{#if:{{{imagelink<includeonly>|</includeonly>}}} | {{{imagelink}}} | File:{{Infobox Court Case/images|courtimage={{{court}}} }} }} | 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<includeonly>|</includeonly>}}} | {{{imagelink}}} | File:{{Infobox Court Case/images|courtimage={{{court}}}|date={{{date decided|}}} }} }} | alt={{{imagealt|}}}]] }}
                 }}
                 }}
| caption    = {{{caption<includeonly>|</includeonly>}}}
| caption    = {{{caption<includeonly>|</includeonly>}}}

Revision as of 14:28, 11 September 2010

{{{name}}}
[[File:Template:Infobox Court Case/images | 180px | link={{{imagelink}}} | alt=]]
{{{caption}}}
Court{{{court}}}
Full case name{{{full name}}}
Date decided{{{date decided}}}
Citations{{{citations}}}
Transcripts{{{transcripts}}}
Judges sitting{{{judges}}}
Case history
Prior actions{{{prior actions}}}
Subsequent actions{{{subsequent actions}}}
Related actions{{{related actions}}}
Case opinions
{{{opinions}}}
Keywords
{{{keywords}}}