Difference between revisions of "Template:Suit"

From cm2.liecourt.com
Line 251: Line 251:
 
{{#ifeq:{{#var:@type}}|Class|
 
{{#ifeq:{{#var:@type}}|Class|
 
{{#arraydefine:@cases|{{#show:{{{Workflow|}}}|?Class case IDs|link=none}} }}<!--  
 
{{#arraydefine:@cases|{{#show:{{{Workflow|}}}|?Class case IDs|link=none}} }}<!--  
  --><h1>Class information</h1>{{#tag:html|<details>
+
  --><h1>Class information</h1>hoi{{#if:{{#ask:[[Class::Verdict]][[Workflow::{{{Workflow|}}}]][[Role::Judge]]}}|{{#tag:html|<details>
 
<summary>Settlement Records</summary>
 
<summary>Settlement Records</summary>
 
}}<br><!--
 
}}<br><!--
Line 266: Line 266:
 
       -->{{verdict results|id={{{Case ID|}}}|Context={{#explode:@@@|<PROP>|1}}}}<!--
 
       -->{{verdict results|id={{{Case ID|}}}|Context={{#explode:@@@|<PROP>|1}}}}<!--
 
     --></div>|}}<!--
 
     --></div>|}}<!--
--></div>{{#tag:html|</details>}}
+
--></div>{{#tag:html|</details>}} }}
 
<h1>Cases</h1>
 
<h1>Cases</h1>
 
<h2>This Class suit contains {{#arraysize:@cases}} cases</h2>
 
<h2>This Class suit contains {{#arraysize:@cases}} cases</h2>

Revision as of 12:10, 22 May 2020


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

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