Template:Infobox court case: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Thumperward
allow case name to be inherited from page name
meta>Thumperward
code cleanup. other court infoboxen are hidden on their template pages, so go with that consensus as it simplified this code
Line 1: Line 1:
{{Infobox
{{ infobox
| bodystyle  = width:300px;
| bodystyle  = width:300px;
| abovestyle  = background: #f0f0f0;
| abovestyle  = background: #f0f0f0;
| headerstyle = background: #f0f0f0;
| headerstyle = background: #f0f0f0;
| labelstyle  = white-space: nowrap; font-size: smaller; background: #f0f0f0;
| labelstyle  = white-space: nowrap; font-size: smaller; background: #f0f0f0
| above   = {{{name<noinclude>|{{PAGENAME}}</noinclude>}}}
 
| image   = {{#if:{{{image|}}}|[[Image:{{{image<includeonly>|</includeonly>}}}|{{#if:{{{imagesize|}}}|{{{imagesize}}}px|220px}}]]}}
| above       = {{{name|<noinclude>{{PAGENAME}}</noinclude>}}}
| caption = {{#if:{{{caption|}}}|<small>{{{caption}}}</small>}}
| image       = {{#if:{{{image|}}}|[[Image:{{{image}}}|{{{imagesize|220}}}px]]}}
| data1   = {{{court<includeonly>|</includeonly>}}}
| caption     = {{{caption|}}}
| label2   = Full case name
 
| data2   = {{{full_name<includeonly>|</includeonly>}}}
| data1       = {{{court|}}}
| label3   = Date decided  
| label2     = Full case name
| data3   = {{{date_decided<includeonly>|</includeonly>}}}
| data2       = {{{full_name|}}}
| label4   = Citations
| label3     = Date decided  
| data4   = {{{citations<includeonly>|</includeonly>}}}
| data3       = {{{date_decided|}}}
| label5   = Transcripts
| label4     = Citations
| data5   = {{{transcripts<includeonly>|</includeonly>}}}
| data4       = {{{citations|}}}
| label6   = Judges sitting
| label5     = Transcripts
| data6   = {{{judges<includeonly>|</includeonly>}}}
| data5       = {{{transcripts|}}}
| header7 = {{#if:{{{prior_actions<includeonly>|</includeonly>}}}{{{subsequent_actions|}}}|Case history}}
| label6     = Judges sitting
| label8   = Prior actions:
| data6       = {{{judges|}}}
| data8   = {{{prior_actions<includeonly>|</includeonly>}}}
 
| label9   = Subsequent actions:
| header7     = {{#if:{{{prior_actions|}}}{{{subsequent_actions|}}}|Case history}}
| data9   = {{{subsequent_actions<includeonly>|</includeonly>}}}
 
| header10 = {{#if:{{{opinions<includeonly>|</includeonly>}}}|Case opinions}}
| label8     = Prior actions
| data11   = {{{opinions<includeonly>|</includeonly>}}}
| data8       = {{{prior_actions|}}}
| label9     = Subsequent actions
| data9       = {{{subsequent_actions|}}}
 
| header10   = {{#if:{{{opinions|}}}|Case opinions}}
 
| data11     = {{{opinions|}}}
}}<noinclude>{{Documentation}}</noinclude>
}}<noinclude>{{Documentation}}</noinclude>

Revision as of 10:37, 22 September 2008

Infobox court case