Template

Difference between revisions of "Case"

 
(4 intermediate revisions by the same user not shown)
Line 93: Line 93:
 
<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|}}}  
+
<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

Latest revision as of 13:15, 2 April 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=
|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.