Difference between revisions of "Template:Participant"

From cm2.liecourt.com
m (Text replacement - "{{subst:#if:1||}}" to "")
Line 276: Line 276:
 
<!--
 
<!--
 
--><div class="info-box">
 
--><div class="info-box">
<h2>Chat</h2>Talk with other participants on this case<hr><!--  
+
{{#tag:html|<details>
 +
<summary><h2>Chat</h2>Talk with other participants on this case<hr></summary>}}<!--  
 
  -->{{#arraydefine:@chat|{{#ask:[[Class::Chat]][[Workflow::{{{Workflow|}}}]]|?Message|?Role|?User|?Modification date|?Name|format=array|limit={{#if:{{#urlget:chat}}|999|10}}|sort=Modification date|order=desc}} }}{{#arraysort:@chat|reverse}}<!--  
 
  -->{{#arraydefine:@chat|{{#ask:[[Class::Chat]][[Workflow::{{{Workflow|}}}]]|?Message|?Role|?User|?Modification date|?Name|format=array|limit={{#if:{{#urlget:chat}}|999|10}}|sort=Modification date|order=desc}} }}{{#arraysort:@chat|reverse}}<!--  
 
  -->{{#if:{{#urlget:chat}}||{{#ifexpr:{{#arraysize:@chat}} > 9 |{{#Widget:link|type=a|class=btn btn-green pt-1 pb-1 pr-4 pl-4|text={{fa|history}} Load older|href={{fullurl:{{#var:@fullpagename}}|chat=all}} }}<hr>}} }}<!--  
 
  -->{{#if:{{#urlget:chat}}||{{#ifexpr:{{#arraysize:@chat}} > 9 |{{#Widget:link|type=a|class=btn btn-green pt-1 pb-1 pr-4 pl-4|text={{fa|history}} Load older|href={{fullurl:{{#var:@fullpagename}}|chat=all}} }}<hr>}} }}<!--  

Revision as of 09:27, 5 January 2022


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

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