Difference between revisions of "Template:Verdict"

From cm2.liecourt.com
Line 336: Line 336:
 
|1=<h3>What is the Deceit?</h3>
 
|1=<h3>What is the Deceit?</h3>
 
|2={{#ifeq:{{{Role|}}}|Plaintiff||{{#tag:html|<details><summary>{{#ifeq:{{{Role|}}}|Judge|Verdicts|Plaintiff answer}}</summary>}}{{#arraymap:{{#var:verdictsarray}}|$|@@@|
 
|2={{#ifeq:{{{Role|}}}|Plaintiff||{{#tag:html|<details><summary>{{#ifeq:{{{Role|}}}|Judge|Verdicts|Plaintiff answer}}</summary>}}{{#arraymap:{{#var:verdictsarray}}|$|@@@|
<div class="verdict-item"><div class="d-flex"><div class="verdict-type">{{#if:{{#explode:@@@|<PROP>|30}}|{{#explode:@@@|<PROP>|30}}|{{#explode:@@@|<PROP>|2}} }}</div>{{#vardefine:@decietscount|0}}{{#arraymap:{{#explode:@@@|<PROP>|15}}|,|###|<div class="w-100 verdict-wrapper"><div class="d-flex">  </div><div class="d-flex"><div class="vi bg-white">{{#explode:{{#explode:@@@|<PROP>|15}}|,|{{#var:@decietscount}}}}</div><div class="vi ml-2" style="background: linear-gradient(to right, #329966 0%,#329966 {{#explode:{{#explode:@@@|<PROP>|14}}|,|{{#var:@decietscount}}}}%,#f2f2f2 {{#explode:{{#explode:@@@|<PROP>|14}}|,|{{#var:@decietscount}}}}%,#f2f2f2 100%); background: conic-gradient(from 180deg, #329966 {{#explode:{{#explode:@@@|<PROP>|14}}|,|{{#var:@decietscount}}}}%, #f2f2f2 0 0);"><div class="inner-percentage">{{#explode:{{#explode:@@@|<PROP>|14}}|,|{{#var:@decietscount}}}}%</div></div></div><div class="d-flex "> <div class="vi mt-2 w-100 bg-white">{{#explode:{{#explode:@@@|<PROP>|16}}|,|{{#var:@decietscount}}}} </div><!--  
+
<div class="verdict-item"><div class="d-flex"><div class="verdict-type">{{#if:{{#explode:@@@|<PROP>|30}}|{{#explode:@@@|<PROP>|30}}|{{#explode:@@@|<PROP>|2}} }}</div>{{#vardefine:@decietscount|0}}{{#arraymap:{{#explode:@@@|<PROP>|15}}|,|###|<div class="w-100 verdict-wrapper"><div class="d-flex">  </div><div class="d-flex"><div class="vi bg-white">{{#explode:{{#explode:@@@|<PROP>|13}}|,|{{#var:@decietscount}}}}</div><div class="vi ml-2" style="background: linear-gradient(to right, #329966 0%,#329966 {{#explode:{{#explode:@@@|<PROP>|14}}|,|{{#var:@decietscount}}}}%,#f2f2f2 {{#explode:{{#explode:@@@|<PROP>|14}}|,|{{#var:@decietscount}}}}%,#f2f2f2 100%); background: conic-gradient(from 180deg, #329966 {{#explode:{{#explode:@@@|<PROP>|14}}|,|{{#var:@decietscount}}}}%, #f2f2f2 0 0);"><div class="inner-percentage">{{#explode:{{#explode:@@@|<PROP>|14}}|,|{{#var:@decietscount}}}}%</div></div></div><div class="d-flex "> <div class="vi mt-2 w-100 bg-white">{{#explode:{{#explode:@@@|<PROP>|15}}|,|{{#var:@decietscount}}}} </div><!--  
  
 
--></div><!--  
 
--></div><!--  
Line 353: Line 353:
 
|1=<h3>What is the Deceit?</h3>
 
|1=<h3>What is the Deceit?</h3>
 
|2={{#ifeq:{{{Role|}}}|Plaintiff||{{#tag:html|<details><summary>{{#ifeq:{{{Role|}}}|Judge|Verdicts|Plaintiff answer}}</summary>}}{{#arraymap:{{#var:verdictsarray}}|$|@@@|
 
|2={{#ifeq:{{{Role|}}}|Plaintiff||{{#tag:html|<details><summary>{{#ifeq:{{{Role|}}}|Judge|Verdicts|Plaintiff answer}}</summary>}}{{#arraymap:{{#var:verdictsarray}}|$|@@@|
<div class="verdict-item"><div class="d-flex"><div class="verdict-type">{{#if:{{#explode:@@@|<PROP>|30}}|{{#explode:@@@|<PROP>|30}}|{{#explode:@@@|<PROP>|2}} }}</div>{{#vardefine:@decietscount|0}}{{#arraymap:{{#explode:@@@|<PROP>|15}}|,|###|<div class="w-100 verdict-wrapper"><div class="d-flex">  </div><div class="d-flex"><div class="vi bg-white">{{#explode:{{#explode:@@@|<PROP>|15}}|,|{{#var:@decietscount}}}}</div><div class="vi ml-2" style="background: linear-gradient(to right, #329966 0%,#329966 {{#explode:{{#explode:@@@|<PROP>|14}}|,|{{#var:@decietscount}}}}%,#f2f2f2 {{#explode:{{#explode:@@@|<PROP>|14}}|,|{{#var:@decietscount}}}}%,#f2f2f2 100%); background: conic-gradient(from 180deg, #329966 {{#explode:{{#explode:@@@|<PROP>|14}}|,|{{#var:@decietscount}}}}%, #f2f2f2 0 0);"><div class="inner-percentage">{{#explode:{{#explode:@@@|<PROP>|14}}|,|{{#var:@decietscount}}}}%</div></div></div><div class="d-flex "> <div class="vi mt-2 w-100 bg-white">{{#explode:{{#explode:@@@|<PROP>|16}}|,|{{#var:@decietscount}}}} </div><!--  
+
<div class="verdict-item"><div class="d-flex"><div class="verdict-type">{{#if:{{#explode:@@@|<PROP>|30}}|{{#explode:@@@|<PROP>|30}}|{{#explode:@@@|<PROP>|2}} }}</div>{{#vardefine:@decietscount|0}}{{#arraymap:{{#explode:@@@|<PROP>|15}}|,|###|<div class="w-100 verdict-wrapper"><div class="d-flex">  </div><div class="d-flex"><div class="vi bg-white">{{#explode:{{#explode:@@@|<PROP>|13}}|,|{{#var:@decietscount}}}}</div><div class="vi ml-2" style="background: linear-gradient(to right, #329966 0%,#329966 {{#explode:{{#explode:@@@|<PROP>|14}}|,|{{#var:@decietscount}}}}%,#f2f2f2 {{#explode:{{#explode:@@@|<PROP>|14}}|,|{{#var:@decietscount}}}}%,#f2f2f2 100%); background: conic-gradient(from 180deg, #329966 {{#explode:{{#explode:@@@|<PROP>|14}}|,|{{#var:@decietscount}}}}%, #f2f2f2 0 0);"><div class="inner-percentage">{{#explode:{{#explode:@@@|<PROP>|14}}|,|{{#var:@decietscount}}}}%</div></div></div><div class="d-flex "> <div class="vi mt-2 w-100 bg-white">{{#explode:{{#explode:@@@|<PROP>|15}}|,|{{#var:@decietscount}}}} </div><!--  
  
 
--></div><!--  
 
--></div><!--  

Revision as of 10:29, 6 July 2021


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

{{Verdict
|Workflow=
|Case ID=
|Role=
|User=
|Truth=
|Truth percentage=
|Truth text=
|Whole truth=
|Whole truth percentage=
|Whole truth text=
|Nothing But the truth=
|Nothing But the truth percentage=
|Nothing But the truth text=
|Deceit=
|Deceit percentage=
|Deceit text=
|Deceit intended=
|Deceit intended percentage=
|Deceit intended text=
|Motivation=
|Motivation percentage=
|Motivation text=
|Social acceptability=
|Social acceptability percentage=
|Social acceptability text=
|Label=
|Label percentage=
|Label text=
|Context= 
}}