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: | + | <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:@ | + | -->{{#vardefine:@participantrole|{{#show:{{#var:@participantrole}}|?Role}} }}<div class="info-box "> |
− | <h2>{{#switch:{{#var:@participantrole}}|Juror={{Fa|balance-scale}}|Judge={{Fa|gavel | + | <h2>{{#switch:{{#var:@participantrole}}|Juror={{Fa|balance-scale}}|Judge={{Fa|gavel}} }}</h2> |
− | <div ><b>[[{{#var:@participantpage}}| | + | <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 | + | <div ><b>Settlement date</b><br>{{#time:d M Y|{{{Suit date}}} }}</div> |
− | <div ><b>Jurors needed</b><br | + | <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= }}