Difference between revisions of "Template:Verdict results"
From cm2.liecourt.com
Line 12: | Line 12: | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
− | {{# | + | {{#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= | + | |Format=array |
|Sep=$ | |Sep=$ | ||
}}}} | }}}} | ||
Line 53: | Line 53: | ||
|2={{#arraymap:{{#var:verdictsarray}}|$|@@@| | |2={{#arraymap:{{#var:verdictsarray}}|$|@@@| | ||
− | + | ||
+ | |||
+ | |||
# {{#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>| | + | # {{#explode:@@@|<PROP>|14}} |
− | # {{#explode:@@@|<PROP>| | + | # {{#explode:@@@|<PROP>|14}} |
− | |||
− | |||
− | |||
− | |||
Revision as of 12:20, 6 July 2021
This is the Verdict results template. It should be called in the following format:
{{Verdict results }}