Difference between revisions of "Template:Suit"

From cm2.liecourt.com
(Fill database)
Line 230: Line 230:
 
}}
 
}}
  
<br></div></div><div class="col-12 col-lg-4"><!-- #ask: Class::Participant Workflow::{{{Workflow|}}} User::{{CURRENTLOGGEDUSER}} link=none-->{{#if:{{#vardefineecho:@participantpage|{{#ask:[[Class::Participant]][[Workflow::{{{Workflow|}}}]][[User::User:{{CURRENTLOGGEDUSER}}]]|link=none}} }}|<!--
+
<br></div></div><div class="col-12 col-lg-4"><!-- #ask: Class::Participant Workflow::{{{Workflow|}}} User::{{CURRENTLOGGEDUSER}} link=none-->{{#if:{{#vardefineecho:@participantpage|{{#ask:[[Class::Participant]] [[Workflow::{{{Workflow|}}}]] [[User::{{CURRENTLOGGEDUSER}}]]|link=none}} }}|<!--
-->{{#vardefine:@participantrole|{{#show:{{#var:@participantpage}}|?Role|link=none}} }}<div class="info-box ">
+
-->{{#vardefine:@participantrole|{{#show:{{#var:@participantrole}}|?Role}} }}<div class="info-box ">
<h2>{{#switch:{{#var:@participantrole}}|Juror={{Fa|balance-scale}}|Judge={{Fa|gavel}}|Plaintiff={{fa|book}} }}</h2>
+
<h2>{{#switch:{{#var:@participantrole}}|Juror={{Fa|balance-scale}}|Judge={{Fa|gavel}} }}</h2>
<div ><b>[[{{#var:@participantpage}}|Your participant page]]</div>
+
<div ><b>[[{{#var:@participantpage}}|View]]</div>
 
</div>}}<!--
 
</div>}}<!--
  
 
--><div class="info-box ">
 
--><div class="info-box ">
 
<h2>Docket</h2>
 
<h2>Docket</h2>
<div ><b>Settlement date</b><br><small>{{#time:d M Y|{{{Suit date}}} }}</small></div>
+
<div ><b>Settlement date</b><br>{{#time:d M Y|{{{Suit date}}} }}</div>
<div ><b>Jurors needed</b><br><small>{{#explode:{{#var:@workflow}}|<PROP>|6}}</small></div>
+
<div ><b>Jurors needed</b><br>{{#explode:{{#var:@workflow}}|<PROP>|6}}</div>
 
</div></div></div>
 
</div></div></div>
 
{{#ifeq:{{#var:@type}}|Class|
 
{{#ifeq:{{#var:@type}}|Class|

Revision as of 16:37, 19 May 2020


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

{{Suit
|Case ID=
|Title=
|Workflow=
}}