Template:Infobox court case: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Arctic.gnome
Making action fields optional.
meta>Arctic.gnome
Moving if statement to data to match the other parameters.
Line 7: Line 7:
                 }}
                 }}
| caption    = {{{caption<includeonly>|</includeonly>}}}
| caption    = {{{caption<includeonly>|</includeonly>}}}
| label1 = Court
| label1     = Court
| data1      = {{#if:{{{court<includeonly>|</includeonly>}}}|{{{court}}} }}
| data1      = {{#if:{{{court<includeonly>|</includeonly>}}}|{{{court}}} }}
| label2      = Full case name
| label2      = Full case name
Line 19: Line 19:
| label6      = {{#if:{{{number of judges|}}} | {{#switch: {{{number of judges|}}} | 1 = Judge sitting | Judges sitting }} | Judge(s) sitting}}
| label6      = {{#if:{{{number of judges|}}} | {{#switch: {{{number of judges|}}} | 1 = Judge sitting | Judges sitting }} | Judge(s) sitting}}
| data6      = {{{judges<includeonly>|</includeonly>}}}
| data6      = {{{judges<includeonly>|</includeonly>}}}
| label7      = {{#if:{{{decision by<includeonly>|</includeonly>}}}|Decision by}}
| label7      = Decision by
| data7      = {{{decision by<includeonly>|</includeonly>}}}
| data7      = {{#if:{{{decision by<includeonly>|</includeonly>}}}|{{{decision by<includeonly>|</includeonly>}}}}}


| header8    = {{#if:{{{prior actions<includeonly>|</includeonly>}}}{{{subsequent actions|}}}{{{related actions|}}}|Case history}}
| header8    = {{#if:{{{prior actions<includeonly>|</includeonly>}}}{{{subsequent actions|}}}{{{related actions|}}}|Case history}}
| label9      = {{#if:{{{prior actions<includeonly>|</includeonly>}}}|Prior action(s)}}
| label9      = Prior action(s)
| data9      = {{{prior actions<includeonly>|</includeonly>}}}
| data9      = {{#if:{{{prior actions<includeonly>|</includeonly>}}}|{{{prior actions<includeonly>|</includeonly>}}}}}
| label10    = {{#if:{{{subsequent actions<includeonly>|</includeonly>}}}|Subsequent action(s)}}
| label10    = Subsequent action(s)
| data10      = {{{subsequent actions<includeonly>|</includeonly>}}}
| data10      = {{#if:{{{subsequent actions<includeonly>|</includeonly>}}}|{{{subsequent actions<includeonly>|</includeonly>}}}}}
| label11    = {{#if:{{{related actions<includeonly>|</includeonly>}}}|Related action(s)}}
| label11    = Related action(s)
| data11      = {{{related actions<includeonly>|</includeonly>}}}
| data11      = {{#if:{{{related actions<includeonly>|</includeonly>}}}|{{{related actions<includeonly>|</includeonly>}}}}}


| header12    = {{#if:{{{opinions<includeonly>|</includeonly>}}}|Case opinions}}
| header12    = {{#if:{{{opinions<includeonly>|</includeonly>}}}|Case opinions}}

Revision as of 23:11, 21 November 2011

{{{name}}}
[[File:Template:Infobox Court Case/images | 180px | link={{{imagelink}}} | alt=]]
{{{caption}}}
Court{{{court}}}
Full case name{{{full name}}}
Date decided{{{date decided}}}
Citation(s){{{citations}}}
Transcript(s){{{transcripts}}}
Judge(s) sitting{{{judges}}}
Decision by{{{decision by}}}
Case history
Prior action(s){{{prior actions}}}
Subsequent action(s){{{subsequent actions}}}
Related action(s){{{related actions}}}
Case opinions
{{{opinions}}}
Keywords
{{{keywords}}}