Difference between revisions of "Template:Participant"

From cm2.liecourt.com
Line 207: Line 207:
 
|2=<!--
 
|2=<!--
 
-->{{#vardefine:zz|{{#ask:[[{{{Workflow|}}}]]|?Random juror|?Declined juror|?Judge|?Filed by|?Jurors|format=array|link=none}} }}<!--
 
-->{{#vardefine:zz|{{#ask:[[{{{Workflow|}}}]]|?Random juror|?Declined juror|?Judge|?Filed by|?Jurors|format=array|link=none}} }}<!--
-->{{#vardefine:@countjur|0}}<!--
+
-->{{#vardefine:@countjur|0}}{{#ask:[[Class::Participant]][[Workflow::{{{Workflow|}}}]][[Role::Juror]]|?Role|?Name|?User|format=array|link=none}}<!--
 
-->{{#arraymap:{{#ask:[[Class::Participant]][[Workflow::{{{Workflow|}}}]][[Role::Juror]]|?Role|?Name|?User|format=array|link=none}}|,|@@@|<!--
 
-->{{#arraymap:{{#ask:[[Class::Participant]][[Workflow::{{{Workflow|}}}]][[Role::Juror]]|?Role|?Name|?User|format=array|link=none}}|,|@@@|<!--
 
     -->{{#vardefine:@hasVerdict|{{#ask:[[Class::Verdict]][[Workflow::{{{Workflow|}}}]][[User::{{#explode:@@@|<PROP>|3}}]]|?Truth|format=plainlist|mainlabel=-|headers=hide|link=none}} }}<!--
 
     -->{{#vardefine:@hasVerdict|{{#ask:[[Class::Verdict]][[Workflow::{{{Workflow|}}}]][[User::{{#explode:@@@|<PROP>|3}}]]|?Truth|format=plainlist|mainlabel=-|headers=hide|link=none}} }}<!--

Revision as of 07:44, 8 April 2022


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

{{Participant
|User=
|Workflow=
|Case ID=
|Role=
}}