Difference between revisions of "Template:Workflow"

From cm2.liecourt.com
(Fill database)
(Fill database)
Line 48: Line 48:
 
|Jurors={{{Jurors|}}}|+sep=,
 
|Jurors={{{Jurors|}}}|+sep=,
 
|Suit date={{{Suit date|}}}
 
|Suit date={{{Suit date|}}}
 +
|Meeting date={{{Meeting date|}}}
 
|Settlement date={{{Settlement date|}}}
 
|Settlement date={{{Settlement date|}}}
 
|Plaintiff verdict={{{Plaintiff verdict|No}}}
 
|Plaintiff verdict={{{Plaintiff verdict|No}}}
Line 120: Line 121:
 
  <!--{{#tag:wsedit||target={{PAGEID}}|template=Workflow|formfield=Stage|value={{#ifeq:{{{Stage|}}}|In progress|In progress|Needs jurors}} }}-->
 
  <!--{{#tag:wsedit||target={{PAGEID}}|template=Workflow|formfield=Stage|value={{#ifeq:{{{Stage|}}}|In progress|In progress|Needs jurors}} }}-->
 
  <!--{{#tag:wsedit||target={{PAGEID}}|template=Workflow|formfield=Judge }}-->
 
  <!--{{#tag:wsedit||target={{PAGEID}}|template=Workflow|formfield=Judge }}-->
 +
<wsemail to="viktor@wikibase.nl" from="icol@icol.wikibase.nl" bcc="{{#var:@mails}}" subject="New chat message" template="Template:Chat mail" >
 +
</wsemail>
 
<wstoken id="tokener3" name="Random judge" json="/extensions/WSForm/WSForm.api.php?action=handleExternalRequest&script=semantic_ask&query=[[Class::Member]][[Role::Judge]]&limit=99999&returntext=Pagename" placeholder="Type a minimal of 3 characters" class="form-control" >
 
<wstoken id="tokener3" name="Random judge" json="/extensions/WSForm/WSForm.api.php?action=handleExternalRequest&script=semantic_ask&query=[[Class::Member]][[Role::Judge]]&limit=99999&returntext=Pagename" placeholder="Type a minimal of 3 characters" class="form-control" >
 
</wstoken><wsfield type="submit" class="btn btn-green" value="Invite" /></wsform></div></div>
 
</wstoken><wsfield type="submit" class="btn btn-green" value="Invite" /></wsform></div></div>
Line 128: Line 131:
 
<!-- {{#tag:wsedit||target={{PAGEID}}|template=Workflow|formfield=Stage|value={{#ifeq:{{{Stage|}}}|In progress|In progress|Judge accepted}} }} -->
 
<!-- {{#tag:wsedit||target={{PAGEID}}|template=Workflow|formfield=Stage|value={{#ifeq:{{{Stage|}}}|In progress|In progress|Judge accepted}} }} -->
 
<!-- {{#tag:wsedit||target={{PAGEID}}|template=Workflow|formfield=Judge }} -->
 
<!-- {{#tag:wsedit||target={{PAGEID}}|template=Workflow|formfield=Judge }} -->
 +
<wsemail to="viktor@wikibase.nl" from="icol@icol.wikibase.nl" bcc="{{#var:@mails}}" subject="New chat message" template="Template:Chat mail" >
 +
</wsemail>
 
<wstoken id="tokener3" name="Random judge" json="/extensions/WSForm/WSForm.api.php?action=handleExternalRequest&script=semantic_ask&query=[[Class::Member]][[Role::Judge]]&limit=99999&returntext=Pagename" placeholder="Type a minimal of 3 characters" class="form-control" >
 
<wstoken id="tokener3" name="Random judge" json="/extensions/WSForm/WSForm.api.php?action=handleExternalRequest&script=semantic_ask&query=[[Class::Member]][[Role::Judge]]&limit=99999&returntext=Pagename" placeholder="Type a minimal of 3 characters" class="form-control" >
 
</wstoken><wsfield type="submit" class="btn btn-green" value="Invite" /></wsform>}}
 
</wstoken><wsfield type="submit" class="btn btn-green" value="Invite" /></wsform>}}

Revision as of 10:23, 26 May 2020


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= 
}}