Difference between revisions of "Template:Suit"

From cm2.liecourt.com
(Fill database)
m (Text replacement - "{{subst:#if:1||}}" to "")
 
(3 intermediate revisions by 2 users not shown)
Line 223: Line 223:
 
{{Item responsive |Cols={{#var:@cols|4-8}}
 
{{Item responsive |Cols={{#var:@cols|4-8}}
 
|1=<b>Status</b>
 
|1=<b>Status</b>
|2={{#vardefine:@workflow|{{#ask:[[{{{Workflow|}}}]]|?Stage|?Locations|?Topic|?Filed by|?Jurors|?Juror amount|?Description|?Markup|?Suit date|?Settlement date|?Accusation|format=array|link=none}} }}{{#explode:{{#var:@workflow}}|<PROP>|1}}
+
|2={{#vardefine:@workflow|{{#ask:[[{{{Workflow|}}}]]|?Stage|?Locations|?Topic|?Filed by|?Jurors|?Juror amount|?Description|?Markup|?Slot|?Settlement date|?Accusation|format=array|link=none}} }}{{#explode:{{#var:@workflow}}|<PROP>|1}}
 
}}
 
}}
 
{{Item responsive |Cols={{#var:@cols|4-8}}
 
{{Item responsive |Cols={{#var:@cols|4-8}}
Line 238: Line 238:
 
--><div class="info-box ">
 
--><div class="info-box ">
 
<h2>Docket</h2>
 
<h2>Docket</h2>
<div ><b>Suit date</b><br>{{#if:{{#explode:{{#var:@workflow}}|<PROP>|9}}|{{#time:d M Y|{{#explode:{{#var:@workflow}}|<PROP>|9}} }}|undecided }}</div>
+
<div ><b>Suit date</b><br>{{#if:{{#explode:{{#var:@workflow}}|<PROP>|9}}|{{#explode:{{#var:@workflow}}|<PROP>|9}}|undecided }}</div>
 
<div ><b>Settlement date</b><br>{{#if:{{#explode:{{#var:@workflow}}|<PROP>|10}}|{{#time:d M Y|{{#explode:{{#var:@workflow}}|<PROP>|10}} }}|undecided }}</div>
 
<div ><b>Settlement date</b><br>{{#if:{{#explode:{{#var:@workflow}}|<PROP>|10}}|{{#time:d M Y|{{#explode:{{#var:@workflow}}|<PROP>|10}} }}|undecided }}</div>
 
<div ><b>Jurors needed</b><br>{{#explode:{{#var:@workflow}}|<PROP>|6}}</div>
 
<div ><b>Jurors needed</b><br>{{#explode:{{#var:@workflow}}|<PROP>|6}}</div>
Line 288: Line 288:
 
|1=<b>Lie category</b>
 
|1=<b>Lie category</b>
 
|2={{#explode:{{#var:@workflow}}|<PROP>|3}}
 
|2={{#explode:{{#var:@workflow}}|<PROP>|3}}
}}
 
{{Item responsive |Cols=4-8
 
|1=<b>The Lie and Context</b>
 
|2={{#explode:{{#var:@workflow}}|<PROP>|7}}
 
 
}}
 
}}
 
{{Item responsive |Cols=4-8
 
{{Item responsive |Cols=4-8
Line 355: Line 351:
 
|1=<b>Lie Category</b>
 
|1=<b>Lie Category</b>
 
|2={{#explode:{{#var:@workflow}}|<PROP>|3}}
 
|2={{#explode:{{#var:@workflow}}|<PROP>|3}}
}}
 
{{Item responsive |Cols=4-8
 
|1=<b>The Lie and Context</b>
 
|2={{#explode:{{#var:@workflow}}|<PROP>|7}}
 
 
}}
 
}}
 
{{Item responsive |Cols=4-8
 
{{Item responsive |Cols=4-8

Latest revision as of 10:12, 10 December 2021


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

{{Suit
|Case ID=
|Title=
|Workflow=
}}