Difference between revisions of "Template:Workflow"
From cm2.liecourt.com
(Fill database) |
|||
(5 intermediate revisions by 2 users not shown) | |||
Line 46: | Line 46: | ||
|Locations={{{Locations|}}} | |Locations={{{Locations|}}} | ||
|Judge={{{Judge|}}} | |Judge={{{Judge|}}} | ||
+ | |Meeting={{{Meeting|}}} | ||
|Juror amount={{{Juror amount|}}} | |Juror amount={{{Juror amount|}}} | ||
|Jurors={{{Jurors|}}}|+sep=, | |Jurors={{{Jurors|}}}|+sep=, | ||
Line 61: | Line 62: | ||
|Class title={{{Class title|}}} | |Class title={{{Class title|}}} | ||
|Change={{{Change|none}}} | |Change={{{Change|none}}} | ||
+ | |Slot={{{Slot|}}} | ||
+ | |Slot month={{#explode:{{{Slot|}}}|-|1}} | ||
+ | |Slot day={{#explode:{{#explode:{{{Slot|}}}|/|0}}|-|2}} | ||
+ | |Slot year={{#explode:{{{Slot|}}}|-|0}} | ||
|Change seen by={{{Change seen by|none}}}|+sep=, | |Change seen by={{{Change seen by|none}}}|+sep=, | ||
|Settled seen by={{{Settled seen by|none}}}|+sep=, | |Settled seen by={{{Settled seen by|none}}}|+sep=, | ||
Line 110: | Line 115: | ||
|1=<b>Invited judge</b> | |1=<b>Invited judge</b> | ||
|2=<wsform action="addToWiki"> | |2=<wsform action="addToWiki"> | ||
− | {{#tag:wsedit||target={{PAGEID}}|template=Workflow|formfield=Random | + | {{#tag:wsedit||target={{PAGEID}}|template=Workflow|formfield=Random judge}} |
{{#arraydefine:$judges|{{#ask: [[User group::icol-user]][[Class::Member]][[Role::Judge]] |limit=9999|link=none|format=plainlist}} }} | {{#arraydefine:$judges|{{#ask: [[User group::icol-user]][[Class::Member]][[Role::Judge]] |limit=9999|link=none|format=plainlist}} }} | ||
{{#arraydefine:$judges-selected|{{{Random judge|}}} }} | {{#arraydefine:$judges-selected|{{{Random judge|}}} }} | ||
− | <wstoken id="tokener52" name="Random judge | + | <wstoken id="tokener52" name="Random judge" multiple="multiple" placeholder="Type a minimal of 3 characters" class="form-control" > |
{{#arraymap:{{#arrayprint:$judges}}|,|__JUDGE__|{{#tag:wsfield|{{PAGENAME:__JUDGE__}}|type=option|value=__JUDGE__|selected={{#if:{{#arraysearch:$judges-selected|__JUDGE__}}|selected}} }}|}} | {{#arraymap:{{#arrayprint:$judges}}|,|__JUDGE__|{{#tag:wsfield|{{PAGENAME:__JUDGE__}}|type=option|value=__JUDGE__|selected={{#if:{{#arraysearch:$judges-selected|__JUDGE__}}|selected}} }}|}} | ||
</wstoken> | </wstoken> |
Latest revision as of 10:08, 25 August 2022
This is the Workflow template. It should be called in the following format:
{{Workflow |Case ID= |Type= |Stage= |Filed by= |Lie= |Topic= |Description= |Lies= |Facts= |Locations= |Judge= |Juror amount= |Jurors= |Suit date= |Plaintiff verdict= |Reason for judge decline= |Random judge= |Random juror= |Declined judge= |Declined juror= }}