Template

Difference between revisions of "Case"

 
(One intermediate revision by the same user not shown)
Line 102: Line 102:
 
{{database header|CASES}}
 
{{database header|CASES}}
 
<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>
 +
<div>{{judicial history|{{{Judicial history first case|}}} }}
 +
</div>}} <!----> {{#if: {{{Judicial history|}}} |<p>'''Judicial history:'''</p>
 
<div>
 
<div>
 
{{{Judicial history|}}}</div>  
 
{{{Judicial history|}}}</div>  
}} <!---->{{#if: {{{Cites|}}} | <p>'''Cites:'''</p> <ul><li>{{#arraymap:{{{Cites|}}}|#|@@|[[@@]]|</li><li>}}</li></ul> }} <!---->{{#cargo_query:
+
}} <!---->{{#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 14:46, 30 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.