Difference between revisions of "Template:Participant"

From cm2.liecourt.com
(Fill database)
Line 252: Line 252:
 
  -->{{#ifexpr:{{#arraysize:@chat}} > 9 |<span class="btn btn-green pt-1 pb-1 pr-4 pl-4">{{fa|history}} Load older</span><hr>}}<!--  
 
  -->{{#ifexpr:{{#arraysize:@chat}} > 9 |<span class="btn btn-green pt-1 pb-1 pr-4 pl-4">{{fa|history}} Load older</span><hr>}}<!--  
 
  -->{{#arraymap:{{#arrayprint:@chat}}|,|@@@|  
 
  -->{{#arraymap:{{#arrayprint:@chat}}|,|@@@|  
<div class="chat {{#ifeq:{{#explode:@@@|<PROP>|3}}|{{{User|}}}|me}} "><div class="d-flex"><h3>{{#if:{{#explode:@@@|<PROP>|5}}|{{#explode:@@@|<PROP>|5}}|{{#explode:@@@|<PROP>|2}} }}</h3><h4 class="pl-2">{{#explode:@@@|<PROP>|4}}</h4></div>{{#explode:@@@|<PROP>|1}}</div>
+
<div class="chat {{#ifeq:{{#explode:@@@|<PROP>|3}}|{{{User|}}}|me}} "><div class="d-flex"><h3 {{#ifeq:{{#explode:@@@|<PROP>|3}}|{{{User|}}}||class="chat-{{#if:{{#explode:@@@|<PROP>|5}}|{{#explode:{{#explode:@@@|<PROP>|5}}| |1}}|{{#explode:@@@|<PROP>|2}} }}"}}>{{#if:{{#explode:@@@|<PROP>|5}}|{{#explode:@@@|<PROP>|5}}|{{#explode:@@@|<PROP>|2}} }}</h3><h4 class="pl-2">{{#explode:@@@|<PROP>|4}}</h4></div>{{#explode:@@@|<PROP>|1}}</div>
 
|}}
 
|}}
  

Revision as of 09:03, 22 May 2020


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

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