Difference between revisions of "Template:User"

From cm2.liecourt.com
(Fill database)
(Fill database)
Line 216: Line 216:
 
{{#tag:wsfield||type=hidden|name=Case ID|value=1234-{{#time: U | now}}-{{#time: U | now}} }}
 
{{#tag:wsfield||type=hidden|name=Case ID|value=1234-{{#time: U | now}}-{{#time: U | now}} }}
 
{{#tag:wsfield||type=hidden|name=Class case IDs|value={{{Workflow|}}} }}
 
{{#tag:wsfield||type=hidden|name=Class case IDs|value={{{Workflow|}}} }}
{{#tag:wsedit||target={{PAGEID:{{#explode:@@@|<PROP>|0}}}}|template=Workflow|formfield=Class request|value=Approved}}
+
{{#tag:wsedit||target={{PAGEID:{{#explode:@@@|<PROP>|0}}}}|template=Workflow|formfield=Class request|value=Approved}}<!--
 +
-->{{#tag:wsedit||target={{PAGEID:{{#explode:@@@|<PROP>|0}}}}|template=Workflow|formfield=Stage|value=Settled}}
 
{{#tag:wsfield||type=submit|value=Approve request|class=btn btn-green btn-half }}
 
{{#tag:wsfield||type=submit|value=Approve request|class=btn btn-green btn-half }}
 
|action=addToWiki}}
 
|action=addToWiki}}
 
|{{#tag:wsform|
 
|{{#tag:wsform|
 
{{#tag:wsedit||target={{PAGEID:{{#explode:@@@|<PROP>|0}}}}|template=Workflow|formfield=Class request|value=Approved}}
 
{{#tag:wsedit||target={{PAGEID:{{#explode:@@@|<PROP>|0}}}}|template=Workflow|formfield=Class request|value=Approved}}
 +
{{#tag:wsedit||target={{PAGEID:{{#explode:@@@|<PROP>|0}}}}|template=Workflow|formfield=Stage|value=Settled}}
 
{{#tag:wsedit||target={{PAGEID:{{#explode:{{#var:@classinfo}}|<PROP>|0}}}}|template=Workflow|formfield=Class case IDs|value={{#if:{{#explode:{{#var:@classinfo}}|<PROP>|11}}| {{#arraymap:{{#explode:{{#var:@classinfo}}|<PROP>|11}}|<MANY>|###|###|,}} , {{#explode:@@@|<PROP>|0}}  |{{#explode:@@@|<PROP>|0}} }} }}
 
{{#tag:wsedit||target={{PAGEID:{{#explode:{{#var:@classinfo}}|<PROP>|0}}}}|template=Workflow|formfield=Class case IDs|value={{#if:{{#explode:{{#var:@classinfo}}|<PROP>|11}}| {{#arraymap:{{#explode:{{#var:@classinfo}}|<PROP>|11}}|<MANY>|###|###|,}} , {{#explode:@@@|<PROP>|0}}  |{{#explode:@@@|<PROP>|0}} }} }}
 
{{#tag:wsfield||type=submit|value=Approve request|class=btn btn-green btn-half }}
 
{{#tag:wsfield||type=submit|value=Approve request|class=btn btn-green btn-half }}
Line 369: Line 371:
 
{{#tag:wsfield||type=hidden|name=User|value={{FULLPAGENAME}} }}
 
{{#tag:wsfield||type=hidden|name=User|value={{FULLPAGENAME}} }}
 
{{#tag:wsfield||type=hidden|name=Role|value=Juror }}
 
{{#tag:wsfield||type=hidden|name=Role|value=Juror }}
 +
{{#arraydefine:@countjurors|{{#explode:@@@|<PROP>|11}}|<MANY>}}
 +
{{#tag:wsfield||type=hidden|name=Name|value=Juror {{#expr:{{#if:{{#arraysize:@countjurors}}|{{#arraysize:@countjurors}}|0}} + 1}} }}
 
{{#tag:wsfield||type=hidden|name=Workflow|value={{#explode:@@@|<PROP>|0}} }}
 
{{#tag:wsfield||type=hidden|name=Workflow|value={{#explode:@@@|<PROP>|0}} }}
 
{{#tag:wsfield||type=hidden|name=Case ID|value={{#explode:@@@|<PROP>|3}} }}
 
{{#tag:wsfield||type=hidden|name=Case ID|value={{#explode:@@@|<PROP>|3}} }}

Revision as of 09:19, 19 May 2020


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

{{Member
|User=
|Roles=
|Name=
|Filed by=
}}

Name
Email
User
Roles

Edit


Active in cases:

Case
Role

TruthTokens

× 3


Messages



Participant in 0 case