Difference between revisions of "Template:User"

From cm2.liecourt.com
(Fill database)
(Fill database)
Line 87: Line 87:
 
{{#tag:html|<details>
 
{{#tag:html|<details>
 
<summary>A case you filed is settled</summary>}}
 
<summary>A case you filed is settled</summary>}}
 +
<div class="info-row"><b>Case ID:</b>{{#show:{{#explode:@@@|<PROP>|0}}|?Case ID|link=none}}</div>
 
<div class="info-row"><b>Suit:</b>{{#ask:[[Class::Suit]][[Workflow::{{#explode:@@@|<PROP>|0}}]]}}
 
<div class="info-row"><b>Suit:</b>{{#ask:[[Class::Suit]][[Workflow::{{#explode:@@@|<PROP>|0}}]]}}
 
</div>{{#tag:wsform|{{#tag:wsedit||target={{PAGEID:{{#explode:@@@|<PROP>|0}}}}|template=Workflow|formfield=Settled seen by|value={{#if:{{#explode:@@@|<PROP>|1}}|{{#arraymap:{{#explode:@@@|<PROP>|1}}|<MANY>|###|###|,}}, {{FULLPAGENAME}}|{{FULLPAGENAME}} }} }}
 
</div>{{#tag:wsform|{{#tag:wsedit||target={{PAGEID:{{#explode:@@@|<PROP>|0}}}}|template=Workflow|formfield=Settled seen by|value={{#if:{{#explode:@@@|<PROP>|1}}|{{#arraymap:{{#explode:@@@|<PROP>|1}}|<MANY>|###|###|,}}, {{FULLPAGENAME}}|{{FULLPAGENAME}} }} }}
Line 99: Line 100:
 
{{#if:{{#arraysearch:@change|{{FULLPAGENAME}} }}| |<div class="info-item">{{#tag:html|<details>
 
{{#if:{{#arraysearch:@change|{{FULLPAGENAME}} }}| |<div class="info-item">{{#tag:html|<details>
 
<summary>A case you are jurying is changed</summary>}}
 
<summary>A case you are jurying is changed</summary>}}
 +
<div class="info-row"><b>Case ID:</b>{{#show:{{#explode:@@@|<PROP>|0}}|?Case ID|link=none}}</div>
 
<div class="info-row"><b>Suit:</b>{{#ask:[[Class::Suit]][[Workflow::{{#explode:@@@|<PROP>|0}}]]}}</div>
 
<div class="info-row"><b>Suit:</b>{{#ask:[[Class::Suit]][[Workflow::{{#explode:@@@|<PROP>|0}}]]}}</div>
 
<div class="info-row"><b>Suit date:</b>{{#explode:@@@|<PROP>|2}}</div>
 
<div class="info-row"><b>Suit date:</b>{{#explode:@@@|<PROP>|2}}</div>
Line 112: Line 114:
 
<summary>A case you are judging requested to join a class</summary>}}
 
<summary>A case you are judging requested to join a class</summary>}}
 
<h2>Case information</h2>
 
<h2>Case information</h2>
 +
<div class="info-row"><b>Case ID</b>{{#explode:@@@|<PROP>|3}}</div>
 
<div class="info-row"><b>Lie</b>{{#explode:@@@|<PROP>|4}}</div>
 
<div class="info-row"><b>Lie</b>{{#explode:@@@|<PROP>|4}}</div>
 
<div class="info-row"><b>Topic</b>{{#explode:@@@|<PROP>|5}}</div>
 
<div class="info-row"><b>Topic</b>{{#explode:@@@|<PROP>|5}}</div>

Revision as of 13:29, 7 December 2020


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

{{User
|User=
|Roles=
|Name=
|Filed by=
|be candidate=
}}