Template:Infobox court case: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Jacklee
Temporary fix: if {{{imagelink}}} is omitted or no value given to it, the image is linked to the image description page. However, this doesn't work for images automatically transcluded from {{Infobox Court Case/images}} yet.
meta>Jacklee
Fixed template so that image links and alt text can be specified, and if none is specified the image is automatically linked to an image description page
Line 2: Line 2:
| above      = {{{name<includeonly>|{{PAGENAME}}</includeonly>}}}
| above      = {{{name<includeonly>|{{PAGENAME}}</includeonly>}}}
| abovestyle  = font-style: italic
| abovestyle  = font-style: italic
| image      = {{#if:{{{image|}}}|[[File:{{{image}}}|{{#if:{{{imagesize|}}}|{{{imagesize}}}|180}}px|link={{{imagelink|}}}|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:{{{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|}}}]] }}
                }}
| caption    = {{{caption<includeonly>|</includeonly>}}}
| caption    = {{{caption<includeonly>|</includeonly>}}}



Revision as of 15:18, 30 March 2010

{{{name}}}
[[File:Template:Infobox Court Case/images | 180px | link={{{imagelink}}} | alt=]]
{{{caption}}}
{{{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}}}