Difference between revisions of "Template:Verdict results"

From cm2.liecourt.com
(Fill database)
 
(Fill database)
Line 51: Line 51:
 
-->{{Item responsive |Cols={{#var:@cols|4-8}}
 
-->{{Item responsive |Cols={{#var:@cols|4-8}}
 
|1=<h3>Is it the Truth?</h3>
 
|1=<h3>Is it the Truth?</h3>
|2={{#arraymap:{{#var:verdictsarray}}|$|@@@|<div class="verdict-item"><div class="d-flex"><div class="verdict-type">{{#explode:@@@|<PROP>|2}}</div><div class="w-100 verdict-wrapper"><div class="d-flex"> </div><div class="d-flex"><div class="vi {{#ifeq:{{#explode:@@@|<PROP>|4}}|Yes|truth-yes|truth-no}}">{{#explode:@@@|<PROP>|4}}</div><div class="vi ml-2" style="background: linear-gradient(to right, #329966 0%,#329966 {{#explode:@@@|<PROP>|5}}%,#f2f2f2 {{#explode:@@@|<PROP>|5}}%,#f2f2f2 100%); background: conic-gradient(from 180deg, #329966 43%, #f2f2f2 0 0);"><div class="inner-percentage">{{#explode:@@@|<PROP>|5}}%</div></div></div><div class="d-flex "> <div class="vi mt-2 w-100 bg-white">{{#explode:@@@|<PROP>|6}} </div><!--  
+
|2={{#arraymap:{{#var:verdictsarray}}|$|@@@|<div class="verdict-item"><div class="d-flex"><div class="verdict-type">{{#explode:@@@|<PROP>|2}}</div><div class="w-100 verdict-wrapper"><div class="d-flex"> </div><div class="d-flex"><div class="vi {{#ifeq:{{#explode:@@@|<PROP>|4}}|yes|truth-yes|truth-no}}">{{#explode:@@@|<PROP>|4}}</div><div class="vi ml-2" style="background: linear-gradient(to right, #329966 0%,#329966 {{#explode:@@@|<PROP>|5}}%,#f2f2f2 {{#explode:@@@|<PROP>|5}}%,#f2f2f2 100%); background: conic-gradient(from 180deg, #329966 43%, #f2f2f2 0 0);"><div class="inner-percentage">{{#explode:@@@|<PROP>|5}}%</div></div></div><div class="d-flex "> <div class="vi mt-2 w-100 bg-white">{{#explode:@@@|<PROP>|6}} </div><!--  
  
-->{{#vardefine:@counter|0}}{{#vardefine:@date|{{#explode:@@@|<PROP>|29}}}}{{#arraymap:{{#explode:@@@|<PROP>|28}}|<MANY>|@@@|{{#widget:link |type=a|href=#image-modal-{{#var:@counter}} |datatoggle=modal |class=vi attachment mt-2 |text={{fa|image}} }}<!--
+
-->{{#vardefine:@counter|0}}{{#arraymap:{{#ask:[[Class::Verdict file]][[Verdict::{{#explode:@@@|<PROP>|0}}]]|?=|?Modification date|Format=array|link=none}}|,|###|{{#widget:link |type=a|href=#image-modal-{{#var:@counter}} |datatoggle=modal |class=vi attachment mt-2 |text={{fa|image}} }}<!--
  
 
-->{{Modal
 
-->{{Modal
Line 59: Line 59:
 
|Dialog class=image-modal
 
|Dialog class=image-modal
 
|ModalHeading=Image
 
|ModalHeading=Image
|BodyText=[[@@@]]Uploaded on: {{#explode:{{#var:@date}}|<MANY>|{{#var:@counter}}}}
+
|BodyText=[[{{#explode:###|<PROP>|0}}]] Uploaded on: {{#explode:###|<PROP>|1}}
 
|FooterText={{#widget:link |type=a|href=#image-modal-{{#var:@counter}} |datatoggle=modal |class=btn btn-submit  |text=close}}
 
|FooterText={{#widget:link |type=a|href=#image-modal-{{#var:@counter}} |datatoggle=modal |class=btn btn-submit  |text=close}}
 
|Hide link=Yes
 
|Hide link=Yes
Line 69: Line 69:
 
{{Item responsive |Cols={{#var:@cols|4-8}}
 
{{Item responsive |Cols={{#var:@cols|4-8}}
 
|1=<h3>Is it the Whole Truth?</h3>
 
|1=<h3>Is it the Whole Truth?</h3>
|2={{#arraymap:{{#var:verdictsarray}}|$|@@@|<div class="verdict-item"><div class="d-flex"><div class="verdict-type">{{#explode:@@@|<PROP>|2}}</div><div class="w-100 verdict-wrapper"><div class="d-flex">  </div><div class="d-flex"><div class="vi {{#ifeq:{{#explode:@@@|<PROP>|7}}|Yes|truth-yes|truth-no}}">{{#explode:@@@|<PROP>|7}}</div><div class="vi ml-2" style="background: linear-gradient(to right, #329966 0%,#329966 {{#explode:@@@|<PROP>|8}}%,#f2f2f2 {{#explode:@@@|<PROP>|8}}%,#f2f2f2 100%); background: conic-gradient(from 180deg, #329966 {{#explode:@@@|<PROP>|8}}%, #f2f2f2 0 0);"><div class="inner-percentage">{{#explode:@@@|<PROP>|8}}%</div></div></div><div class="d-flex "> <div class="vi mt-2 w-100 bg-white">{{#explode:@@@|<PROP>|9}} </div><!--  
+
|2={{#arraymap:{{#var:verdictsarray}}|$|@@@|<div class="verdict-item"><div class="d-flex"><div class="verdict-type">{{#explode:@@@|<PROP>|2}}</div><div class="w-100 verdict-wrapper"><div class="d-flex">  </div><div class="d-flex"><div class="vi {{#ifeq:{{#explode:@@@|<PROP>|7}}|yes|truth-yes|truth-no}}">{{#explode:@@@|<PROP>|7}}</div><div class="vi ml-2" style="background: linear-gradient(to right, #329966 0%,#329966 {{#explode:@@@|<PROP>|8}}%,#f2f2f2 {{#explode:@@@|<PROP>|8}}%,#f2f2f2 100%); background: conic-gradient(from 180deg, #329966 {{#explode:@@@|<PROP>|8}}%, #f2f2f2 0 0);"><div class="inner-percentage">{{#explode:@@@|<PROP>|8}}%</div></div></div><div class="d-flex "> <div class="vi mt-2 w-100 bg-white">{{#explode:@@@|<PROP>|9}} </div><!--  
  
 
--></div><!--  
 
--></div><!--  
Line 76: Line 76:
 
{{Item responsive |Cols={{#var:@cols|4-8}}
 
{{Item responsive |Cols={{#var:@cols|4-8}}
 
|1=<h3>Is it Nothing But the Truth?</h3>
 
|1=<h3>Is it Nothing But the Truth?</h3>
|2={{#arraymap:{{#var:verdictsarray}}|$|@@@|<div class="verdict-item"><div class="d-flex"><div class="verdict-type">{{#explode:@@@|<PROP>|2}}</div><div class="w-100 verdict-wrapper"><div class="d-flex">  </div><div class="d-flex"><div class="vi {{#ifeq:{{#explode:@@@|<PROP>|10}}|Yes|truth-yes|truth-no}}">{{#explode:@@@|<PROP>|10}}</div><div class="vi ml-2" style="background: linear-gradient(to right, #329966 0%,#329966 {{#explode:@@@|<PROP>|11}}%,#f2f2f2 {{#explode:@@@|<PROP>|11}}%,#f2f2f2 100%); background: conic-gradient(from 180deg, #329966 {{#explode:@@@|<PROP>|11}}%, #f2f2f2 0 0);"><div class="inner-percentage">{{#explode:@@@|<PROP>|11}}%</div></div></div><div class="d-flex "> <div class="vi mt-2 w-100 bg-white">{{#explode:@@@|<PROP>|12}} </div><!--  
+
|2={{#arraymap:{{#var:verdictsarray}}|$|@@@|<div class="verdict-item"><div class="d-flex"><div class="verdict-type">{{#explode:@@@|<PROP>|2}}</div><div class="w-100 verdict-wrapper"><div class="d-flex">  </div><div class="d-flex"><div class="vi {{#ifeq:{{#explode:@@@|<PROP>|10}}|yes|truth-yes|truth-no}}">{{#explode:@@@|<PROP>|10}}</div><div class="vi ml-2" style="background: linear-gradient(to right, #329966 0%,#329966 {{#explode:@@@|<PROP>|11}}%,#f2f2f2 {{#explode:@@@|<PROP>|11}}%,#f2f2f2 100%); background: conic-gradient(from 180deg, #329966 {{#explode:@@@|<PROP>|11}}%, #f2f2f2 0 0);"><div class="inner-percentage">{{#explode:@@@|<PROP>|11}}%</div></div></div><div class="d-flex "> <div class="vi mt-2 w-100 bg-white">{{#explode:@@@|<PROP>|12}} </div><!--  
  
 
--></div><!--  
 
--></div><!--  
Line 94: Line 94:
 
{{Item responsive |Cols={{#var:@cols|4-8}}
 
{{Item responsive |Cols={{#var:@cols|4-8}}
 
|1=<h3>Is the Deceit Intended?</h3>
 
|1=<h3>Is the Deceit Intended?</h3>
|2={{#arraymap:{{#var:verdictsarray}}|$|@@@|<div class="verdict-item"><div class="d-flex"><div class="verdict-type">{{#explode:@@@|<PROP>|2}}</div><div class="w-100 verdict-wrapper"><div class="d-flex">  </div><div class="d-flex"><div class="vi {{#ifeq:{{#explode:@@@|<PROP>|16}}|Yes|truth-yes|truth-no}}">{{#explode:@@@|<PROP>|16}}</div><div class="vi ml-2" style="background: linear-gradient(to right, #329966 0%,#329966 {{#explode:@@@|<PROP>|17}}%,#f2f2f2 {{#explode:@@@|<PROP>|17}}%,#f2f2f2 100%); background: conic-gradient(from 180deg, #329966 {{#explode:@@@|<PROP>|17}}%, #f2f2f2 0 0);"><div class="inner-percentage">{{#explode:@@@|<PROP>|17}}%</div></div></div><div class="d-flex "> <div class="vi mt-2 w-100 bg-white">{{#explode:@@@|<PROP>|18}} </div><!--  
+
|2={{#arraymap:{{#var:verdictsarray}}|$|@@@|<div class="verdict-item"><div class="d-flex"><div class="verdict-type">{{#explode:@@@|<PROP>|2}}</div><div class="w-100 verdict-wrapper"><div class="d-flex">  </div><div class="d-flex"><div class="vi {{#ifeq:{{#explode:@@@|<PROP>|16}}|yes|truth-yes|truth-no}}">{{#explode:@@@|<PROP>|16}}</div><div class="vi ml-2" style="background: linear-gradient(to right, #329966 0%,#329966 {{#explode:@@@|<PROP>|17}}%,#f2f2f2 {{#explode:@@@|<PROP>|17}}%,#f2f2f2 100%); background: conic-gradient(from 180deg, #329966 {{#explode:@@@|<PROP>|17}}%, #f2f2f2 0 0);"><div class="inner-percentage">{{#explode:@@@|<PROP>|17}}%</div></div></div><div class="d-flex "> <div class="vi mt-2 w-100 bg-white">{{#explode:@@@|<PROP>|18}} </div><!--  
  
 
--></div><!--  
 
--></div><!--  

Revision as of 14:45, 15 May 2020


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

{{Verdict results }}