Difference between revisions of "Template:Participant"
From cm2.liecourt.com
(Fill database) |
(Fill database) |
||
Line 128: | Line 128: | ||
-->{{#arraymap:{{#explode:{{#ask:[[{{{Workflow|}}}]]|?Random juror|format=array|link=none}}|<PROP>|1}}|<MANY>|@@@|{{#ifeq:@@@|done||<div class="btn btn-gray btn-square"> Juror {{#vardefine:@countjur|{{#expr:{{#var:@countjur}} + 1}} }}{{#var:@countjur}}<br><small>Invited<!-- 1 day ago --></small><br><!-- | -->{{#arraymap:{{#explode:{{#ask:[[{{{Workflow|}}}]]|?Random juror|format=array|link=none}}|<PROP>|1}}|<MANY>|@@@|{{#ifeq:@@@|done||<div class="btn btn-gray btn-square"> Juror {{#vardefine:@countjur|{{#expr:{{#var:@countjur}} + 1}} }}{{#var:@countjur}}<br><small>Invited<!-- 1 day ago --></small><br><!-- | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
-->{{#tag:wsform|{{#arraydefine:@random juror|{{#explode:{{#ask:[[{{{Workflow|}}}]]|?Random juror|format=array|link=none}}|<PROP>|1}}|<MANY>}}{{#arraydefine:@user|@@@ }}{{#arraydiff:new_key|@random juror|@user}} | -->{{#tag:wsform|{{#arraydefine:@random juror|{{#explode:{{#ask:[[{{{Workflow|}}}]]|?Random juror|format=array|link=none}}|<PROP>|1}}|<MANY>}}{{#arraydefine:@user|@@@ }}{{#arraydiff:new_key|@random juror|@user}} | ||
Line 145: | Line 138: | ||
{{#ifeq:{{#show:{{{Workflow}}}|?Stage|link=none}}|Judge accepted| | {{#ifeq:{{#show:{{{Workflow}}}|?Stage|link=none}}|Judge accepted| | ||
<wsform action="addToWiki" > | <wsform action="addToWiki" > | ||
− | <wscreate mwwrite=" | + | <wscreate mwwrite="Case/{{{Case ID|}}}" mwtemplate="Suit" /> |
<wsfield type="hidden" name="Title" value="{{#show:{{{Workflow|}}}|?Lie|link=none}}" /> | <wsfield type="hidden" name="Title" value="{{#show:{{{Workflow|}}}|?Lie|link=none}}" /> | ||
<wsfield type="hidden" name="Case ID" value="{{{Case ID|}}}" /> | <wsfield type="hidden" name="Case ID" value="{{{Case ID|}}}" /> |
Revision as of 13:29, 7 December 2020
This is the Participant template. It should be called in the following format:
{{Participant |User= |Workflow= |Case ID= |Role= }}