Difference between revisions of "Template:Verdict results"

From cm2.liecourt.com
Line 12: Line 12:
  
 
</noinclude><includeonly>
 
</noinclude><includeonly>
{{#vardefineecho:verdictsarray|{{#ask:{{#if:{{{Verdict|}}}|[[{{{Verdict|}}}]]|[[Class::Verdict]][[Case ID::{{{id|}}}]]{{#if:{{{Context|}}}|[[Context::{{{Context|}}}]]|[[Context::None]] }} }}
+
{{#vardefine:verdictsarray|{{#ask:{{#if:{{{Verdict|}}}|[[{{{Verdict|}}}]]|[[Class::Verdict]][[Case ID::{{{id|}}}]]{{#if:{{{Context|}}}|[[Context::{{{Context|}}}]]|[[Context::None]] }} }}
 
|?Case ID
 
|?Case ID
 
|?Role
 
|?Role
Line 46: Line 46:
 
|Sort=Role
 
|Sort=Role
 
|Order=desc
 
|Order=desc
|Format=table
+
|Format=array
 
|Sep=$
 
|Sep=$
 
}}}}
 
}}}}
Line 53: Line 53:
 
|2={{#arraymap:{{#var:verdictsarray}}|$|@@@|
 
|2={{#arraymap:{{#var:verdictsarray}}|$|@@@|
  
<br>
+
 
 +
 
 +
 
 
# {{#explode:@@@|<PROP>|1}}
 
# {{#explode:@@@|<PROP>|1}}
 
# {{#explode:@@@|<PROP>|2}}
 
# {{#explode:@@@|<PROP>|2}}
Line 68: Line 70:
 
# {{#explode:@@@|<PROP>|13}}
 
# {{#explode:@@@|<PROP>|13}}
 
# {{#explode:@@@|<PROP>|14}}
 
# {{#explode:@@@|<PROP>|14}}
# {{#explode:@@@|<PROP>|15}}
+
# {{#explode:@@@|<PROP>|14}}
# {{#explode:@@@|<PROP>|16}}
+
# {{#explode:@@@|<PROP>|14}}
# {{#explode:@@@|<PROP>|17}}
 
# {{#explode:@@@|<PROP>|18}}
 
# {{#explode:@@@|<PROP>|19}}
 
# {{#explode:@@@|<PROP>|20}}
 
  
  

Revision as of 12:20, 6 July 2021


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

{{Verdict results }}