Template

Difference between revisions of "Case"

 
(12 intermediate revisions by the same user not shown)
Line 18: Line 18:
 
|ICLR=
 
|ICLR=
 
|Essex=
 
|Essex=
 +
|Essex issue=
 +
|Essex page=
 
|Other citations=
 
|Other citations=
 
|Cites=
 
|Cites=
Line 43: Line 45:
 
|ICLR=String (hidden)
 
|ICLR=String (hidden)
 
|Essex=String (hidden)
 
|Essex=String (hidden)
 +
|Essex_issue=String (hidden)
 +
|Essex_page=String (hidden)
 
|Other_citations=List (,) of String (hidden)
 
|Other_citations=List (,) of String (hidden)
 
|Cites=List (#) of String (hidden)
 
|Cites=List (#) of String (hidden)
Line 67: Line 71:
 
|ICLR={{{ICLR|}}}
 
|ICLR={{{ICLR|}}}
 
|Essex={{{Essex|}}}
 
|Essex={{{Essex|}}}
 +
|Essex_issue={{{Essex issue|}}}
 +
|Essex_page={{{Essex page|}}}
 
|Other_citations={{{Other citations|}}}
 
|Other_citations={{{Other citations|}}}
 
|Cites={{{Cites|}}}
 
|Cites={{{Cites|}}}
Line 75: Line 81:
 
{{#if:{{{Sentence|}}}|'''{{{Sentence|}}}''' }}{{{Summary|}}} {{#if:{{{Detail|}}} |  
 
{{#if:{{{Sentence|}}}|'''{{{Sentence|}}}''' }}{{{Summary|}}} {{#if:{{{Detail|}}} |  
 
<br/>
 
<br/>
{{{Detail|}}} }}{{#if: {{{Essex|}}} |
+
{{{Detail|}}} }}<!---->{{#if: {{{Essex|}}} |
 
<br/>
 
<br/>
 
==Essex==
 
==Essex==
{{essex-summary|{{{Essex|}}} }} |}} {{#if: {{{MHLR|}}} |
+
{{essex-summary|{{{Essex|}}} }} |}}<!---->{{#if: {{{Essex issue|}}} |
 +
<br/>
 +
==Essex==
 +
{{Essex issue page|issue={{{Essex issue|}}}|page={{{Essex page|}}} }}
 +
|}}<!---->{{#if: {{{MHLR|}}} |
 
<br/>
 
<br/>
 
==MHLR==
 
==MHLR==
Line 93: Line 103:
 
<p>'''Full judgment:''' {{#if: {{{NCN|}}} | {{#bailii: {{{NCN|}}} }} | {{#bailii: no ncn}} }} {{#if: {{{Judgment|}}} | [[Media:{{{Judgment|}}}|Download here]] }}</p>
 
<p>'''Full judgment:''' {{#if: {{{NCN|}}} | {{#bailii: {{{NCN|}}} }} | {{#bailii: no ncn}} }} {{#if: {{{Judgment|}}} | [[Media:{{{Judgment|}}}|Download here]] }}</p>
 
<p>'''Subject(s):'''</p> {{add drilldown links ul|table=Cases|field=Subject|values={{{Subject|}}} }}<!---->{{#if: {{{Date|}}} | <p>'''Date:''' {{add drilldown link date|table=Cases|field=Date|value={{{Date|}}} }}</p> }}<!---->{{#if: {{{Court|}}} | <p>'''Court:''' {{add drilldown links|table=Cases|field=Court|values={{{Court|}}} }}</p> }}<!---->{{#if: {{{Judges|}}} | <p>'''Judge(s):'''</p> {{add drilldown links ul|table=Cases|field=Judges|values={{{Judges|}}} }} }}<!---->{{#if: {{{Parties|}}} | <p>'''Parties:'''</p> {{add drilldown links ul|table=Cases|field=Parties|values={{{Parties|}}} }} }}<!---->{{#if: {{{Judicial history first case|}}} |<p>'''Judicial history:'''</p>{{judicial history|{{{Judicial history first case|}}} }} }} <!----> {{#if: {{{Judicial history|}}} |<p>'''Judicial history:'''</p>
 
<p>'''Subject(s):'''</p> {{add drilldown links ul|table=Cases|field=Subject|values={{{Subject|}}} }}<!---->{{#if: {{{Date|}}} | <p>'''Date:''' {{add drilldown link date|table=Cases|field=Date|value={{{Date|}}} }}</p> }}<!---->{{#if: {{{Court|}}} | <p>'''Court:''' {{add drilldown links|table=Cases|field=Court|values={{{Court|}}} }}</p> }}<!---->{{#if: {{{Judges|}}} | <p>'''Judge(s):'''</p> {{add drilldown links ul|table=Cases|field=Judges|values={{{Judges|}}} }} }}<!---->{{#if: {{{Parties|}}} | <p>'''Parties:'''</p> {{add drilldown links ul|table=Cases|field=Parties|values={{{Parties|}}} }} }}<!---->{{#if: {{{Judicial history first case|}}} |<p>'''Judicial history:'''</p>{{judicial history|{{{Judicial history first case|}}} }} }} <!----> {{#if: {{{Judicial history|}}} |<p>'''Judicial history:'''</p>
{{{Judicial history|}}} }} <!---->{{#if: {{{Cites|}}} | <p>'''Cites:'''</p> <ul><li>{{#arraymap:{{{Cites|}}}|#|@@|[[@@]]|</li><li>}}</li></ul> }} <!---->{{#cargo_query:
+
<div>
 +
{{{Judicial history|}}}</div>
 +
}} <!---->{{#if: {{{Cites|}}} | <p>'''Cites:'''</p> <ul><li>{{#arraymap:{{{Cites|}}}|#|@@|[[@@]]|</li><li>}}</li></ul> }} <!---->{{#cargo_query:
 
tables=Cases
 
tables=Cases
 
|fields= CONCAT('[[',_pageTitle,']]')
 
|fields= CONCAT('[[',_pageTitle,']]')

Latest revision as of 11:17, 1 July 2020

This is the "Case" template. It should be called in the following format:

{{Case
|Sentence
|Summary=
|Detail=
|Subject=
|Judicial history=
|Judicial history first case=
|Date=
|Judges=
|Parties=
|Court=
|NCN=
|MHLR=
|ICLR=
|Essex=
|Essex issue=
|Essex page=
|Other citations=
|Cites=
|External links=
|Judgment=
|News=
|RSS_pubdate=
}}

Edit the page to see the template text. This template defines the table "Cases". View table.This template adds rows to the table "News", which is declared by the template News. View table.