Difference between revisions of "Template:Verdict"
From cm2.liecourt.com
Line 206: | Line 206: | ||
{{#ifeq:{{#var:@allowed}}|Yes|{{#vardefine:@stage|{{#show:{{{Workflow|}}}|?Stage|link=none}} }} | {{#ifeq:{{#var:@allowed}}|Yes|{{#vardefine:@stage|{{#show:{{{Workflow|}}}|?Stage|link=none}} }} | ||
{{#vardefine:@myparticipantpage|{{#ask:[[Class::Participant]] [[User::User:{{CURRENTLOGGEDUSER}}]] [[Case ID::{{{Case ID|}}}]]|link=none }} }}<!-- | {{#vardefine:@myparticipantpage|{{#ask:[[Class::Participant]] [[User::User:{{CURRENTLOGGEDUSER}}]] [[Case ID::{{{Case ID|}}}]]|link=none }} }}<!-- | ||
− | --><wsform action="mail" id="verdict-form" enctype="multipart/form-data" mwreturn="{{#if:{{#var:@myparticipantpage}}|{{fullurl:{{#var:@myparticipantpage}}|{{#if:{{{Participant|}}}|{{fullurl:{{{Participant|}}} }}|{{#if:{{#urlget:Participant}}|{{fullurl:{{#urldecode:{{#urlget:Participant}} }} }}|{{fullurl:{{FULLPAGENAME}} }} }} }} }}" > | + | --><wsform action="mail" id="verdict-form" enctype="multipart/form-data" mwreturn="{{#if:{{#var:@myparticipantpage}}|{{fullurl:{{#var:@myparticipantpage}} }}|{{#if:{{{Participant|}}}|{{fullurl:{{{Participant|}}} }}|{{#if:{{#urlget:Participant}}|{{fullurl:{{#urldecode:{{#urlget:Participant}} }} }}|{{fullurl:{{FULLPAGENAME}} }} }} }} }}" > |
<wscreate mwwrite="{{FULLPAGENAME}}" mwtemplate="Verdict" /> | <wscreate mwwrite="{{FULLPAGENAME}}" mwtemplate="Verdict" /> | ||
Revision as of 09:00, 30 May 2020
This is the Verdict template. It should be called in the following format:
{{Verdict |Workflow= |Case ID= |Role= |User= |Truth= |Truth percentage= |Truth text= |Whole truth= |Whole truth percentage= |Whole truth text= |Nothing But the truth= |Nothing But the truth percentage= |Nothing But the truth text= |Deceit= |Deceit percentage= |Deceit text= |Deceit intended= |Deceit intended percentage= |Deceit intended text= |Motivation= |Motivation percentage= |Motivation text= |Social acceptability= |Social acceptability percentage= |Social acceptability text= |Label= |Label percentage= |Label text= |Context= }}