Difference between revisions of "Template:Participant"

From cm2.liecourt.com
Line 35: Line 35:
  
 
<!--  
 
<!--  
 +
-->{{#vardefine:@dontshowthis|<!--
 
  --><!--  
 
  --><!--  
 +
-
 +
--><!--
 +
-->}}<!--
 +
 +
system messages:
 +
 +
stage-waiting-for-plaintiff
 +
stage-needs-judge-for-plaintiff
 +
stage-needs-judge-for-judge
 +
stage-judge-accepted-for-judge
 +
stage-judge-accepted-for-juror
 +
stage-needs-jurors-for-plaintiff
 +
stage-needs-jurors-for-judge
 +
stage-needs-jurors-for-juror
 +
stage-in-progress-for-juror
 +
stage-in-progress-for-judge
 +
stage-in-progress-for-plaintiff
 +
stage-settled-for-plaintiff
  
--><!--
+
  -->{{#if:{{#show:User:{{CURRENTLOGGEDUSER}}|?Nomessages}}| |<!--
--><!--
+
    --><div class="jumbotron mt-4"><!--
  -->{{#if:{{#show:User:{{CURRENTLOGGEDUSER}}|?Nomessages}}| |
+
    --><!--
|{{#switch:{{#show:{{{Workflow|}}}|?Stage}}
+
    -->{{#switch:{{#show:{{{Workflow|}}}|?Stage}}
|Waiting for Plaintiff verdict=<!--  
+
        |Waiting for Plaintiff verdict=<!--  
-->{{#switch:{{{Role|}}}<!--  
+
        -->{{#switch:{{{Role|}}}<!--  
-->|Plaintiff=<div class="jumbotron mt-4"><h2 class="display-4">Create your verdict</h2>
+
        -->|Plaintiff={{int:stage-waiting-for-plaintiff}}
* Fill out <b>Accusation</b>
+
            |Judge={{int:stage-waiting-for-judge}}
* Mark <b>Lie in Context</b>
+
            |juror={{int:stage-waiting-for-juror}}
{{#var:@dontshowthis}}</div>
+
            }}
}}
+
        |Needs judge=<!--  
|Needs judge=<!--  
+
        -->{{#switch:{{{Role|}}}<!--  
-->{{#switch:{{{Role|}}}<!--  
+
        -->|Plaintiff={{int:stage-needs-judge-for-plaintiff}}
-->|Judge=<div class="jumbotron mt-4"><h2 class="display-4">Start the Trail</h2>
+
            |Judge={{int:stage-needs-judge-for-judge}}
* Accept Trail Obligation
+
            |Juror={{int:stage-needs-judge-for-juror}}
* Accept Plaintiff Pleading
+
            }}
{{#var:@dontshowthis}}</div>
+
        |Judge accepted=<!--  
}}
+
        -->{{#switch:{{{Role|}}}<!--  
|Judge accepted=<!--  
+
        -->|Judge={{int:stage-judge-accepted-for-judge}}
-->{{#switch:{{{Role|}}}<!--  
+
            |Juror={{int:stage-judge-accepted-for-juror}}
-->|Juror=<div class="jumbotron mt-4"><h2 class="display-4">Accept Trail Obligation</h2>
+
            |Plaintiff={{int:stage-judge-accepted-for-plaintiff}}
* Create your verdict
+
            }}
{{#var:@dontshowthis}}</div><!--  
+
        |Needs jurors=<!--
-->}}
+
        -->{{#switch:{{{Role|}}}<!--  
|Needs jurors=<!--  
+
        -->|Judge={{int:stage-needs-jurors-for-judge}}
-->{{#switch:{{{Role|}}}<!--  
+
            |Juror={{int:stage-needs-jurors-for-juror}}
-->|Juror=<div class="jumbotron mt-4"><h2 class="display-4">Accept Trail Obligation</h2>
+
            |Plaintiff={{int:stage-needs-jurors-for-plaintiff}}
* Create your verdict
+
            }}
{{#var:@dontshowthis}}</div><!--  
+
        |In progress=<!--  
-->}}
+
        -->{{#switch:{{{Role|}}}<!--  
|In progress=<!--  
+
        -->|Juror={{int:stage-in-progress-for-juror}}
--><div class="jumbotron mt-4"><h2 class="display-4">Trail is starting</h2>
+
          |Plaintiff={{int:stage-in-progress-for-judge}}
Trail Starts on {{#show:{{{Workflow}}}|?Slot|link=none }} with Audio and Chat{{#var:@dontshowthis}}</div>
+
          |Judge={{int:stage-in-progress-for-plaintiff}}
}}<!--  
+
          }}
--><!--  
+
        |Settled=<!--
 +
        -->{{#switch:{{{Role|}}}<!--  
 +
        -->|Juror={{int:stage-settled-for-juror}}
 +
          |Plaintiff={{int:stage-settled-for-judge}}
 +
          |Judge={{int:stage-settled-for-plaintiff}}
 +
          }}<!--  
 +
    -->}}<!--
 +
--><wsform action="addToWiki"><!--
 +
-->{{#tag:wsedit||target={{PAGEID:User:{{CURRENTLOGGEDUSER}} }}|template=User|formfield=Nomessages|value=True}}<!--
 +
--><wsfield type="submit" class="btn text-muted float-right" value="☐ Don't show messages again"/><!--
 +
--></wsform><!--  
 +
    --></div><!--  
 
  -->}}<!--  
 
  -->}}<!--  
 +
 
  -->
 
  -->
 
<div class="row ">
 
<div class="row ">

Revision as of 09:20, 16 February 2022


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

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