Difference between revisions of "Template:Verdict"

From cm2.liecourt.com
(Fill database)
(Fill database)
Line 46: Line 46:
 
|Role={{{Role|}}}
 
|Role={{{Role|}}}
 
|User={{{User|}}}
 
|User={{{User|}}}
|Truth={{{Truth|}}}
+
|Truth={{#replace:{{{Truth|}}}|,|.}}
 
|Truth percentage={{{Truth percentage|}}}
 
|Truth percentage={{{Truth percentage|}}}
 
|Truth text={{#if:{{{Truth text|}}}|{{{Truth text|}}}|-}}
 
|Truth text={{#if:{{{Truth text|}}}|{{{Truth text|}}}|-}}
|Whole truth={{{Whole truth|}}}
+
|Whole truth={{#replace:{{{Whole truth|}}}|,|.}}
 
|Whole truth percentage={{{Whole truth percentage|}}}
 
|Whole truth percentage={{{Whole truth percentage|}}}
|Whole truth text={{#if:{{{Whole truth text|}}}|{{{Whole truth text|}}}|-}}
+
|Whole truth text={{#replace:{{#if:{{{Whole truth text|}}}|{{{Whole truth text|}}}|-}}|,|.}}
 
|Nothing But the truth={{{Nothing But the truth|}}}
 
|Nothing But the truth={{{Nothing But the truth|}}}
 
|Nothing But the truth percentage={{{Nothing But the truth percentage|}}}
 
|Nothing But the truth percentage={{{Nothing But the truth percentage|}}}
 
|Nothing But the truth text={{#if:{{{Nothing But the truth text|}}}|{{{Nothing But the truth text|}}}|-}}
 
|Nothing But the truth text={{#if:{{{Nothing But the truth text|}}}|{{{Nothing But the truth text|}}}|-}}
|Deceit={{{Deceit|}}}
+
|Deceit={{#replace:{{{Deceit|}}}|,|.}}
 
|Deceit percentage={{{Deceit percentage|}}}
 
|Deceit percentage={{{Deceit percentage|}}}
|Deceit text={{#if:{{{Deceit text|}}}|{{{Deceit text|}}}|-}}
+
|Deceit text={{#replace:{{#if:{{{Deceit text|}}}|{{{Deceit text|}}}|-}}|,|.}}
|Deceit intended={{{Deceit intended|}}}
+
|Deceit intended={{#replace:{{{Deceit intended|}}}|,|.}}
 
|Deceit intended percentage={{{Deceit intended percentage|}}}
 
|Deceit intended percentage={{{Deceit intended percentage|}}}
|Deceit intended text={{#if:{{{Deceit intended text|}}}|{{{Deceit intended text|}}}|}}
+
|Deceit intended text={{{#replace:{#if:{{{Deceit intended text|}}}|{{{Deceit intended text|}}}|}}|,|.}}
|Motivation={{{Motivation|}}}
+
|Motivation={{#replace:{{{Motivation|}}}|,|.}}
 
|Motivation percentage={{{Motivation percentage|}}}
 
|Motivation percentage={{{Motivation percentage|}}}
|Motivation text={{#if:{{{Motivation text|}}}|{{{Motivation text|}}}|-}}
+
|Motivation text={{#replace:{{#if:{{{Motivation text|}}}|{{{Motivation text|}}}|-}}|,|.}}
|Social acceptability={{{Social acceptability|}}}
+
|Social acceptability={{#replace:{{{Social acceptability|}}}|,|.}}
 
|Social acceptability percentage={{{Social acceptability percentage|}}}
 
|Social acceptability percentage={{{Social acceptability percentage|}}}
|Social acceptability text={{#if:{{{Social acceptability text|}}}|{{{Social acceptability text|}}}|-}}
+
|Social acceptability text={{#replace:{{#if:{{{Social acceptability text|}}}|{{{Social acceptability text|}}}|-}}|,|.}}
|Label={{{Label|}}}
+
|Label={{#replace:{{{Label|}}}|,|.}}
 
|Label percentage={{{Label percentage|}}}
 
|Label percentage={{{Label percentage|}}}
|Label text={{#if:{{{Label text|}}}|{{{Label text|}}}|}}
+
|Label text={{#replace:{{#if:{{{Label text|}}}|{{{Label text|}}}|}}|,|.}}
 
|Context={{{Context|None}}}
 
|Context={{{Context|None}}}
 
|Name={{{Name|}}}
 
|Name={{{Name|}}}
Line 435: Line 435:
 
--></div><!--  
 
--></div><!--  
  
--></div></div></div>|}}{{#tag:html|</details>}} }}<div class="d-flex"><wsfield type="textarea" class="form-control" name="Label" value="{{{Label|}}}" placeholder="Label" />
+
--></div></div></div>|}}{{#tag:html|</details>}} }}<div class="d-flex"><wsfield type="textarea" class="form-control" name="Label" placeholder="Label" >{{{Label|}}}</wsfield>
 
<span class="percentage"><wsfield type="number" class="form-control form-number" min="0" max="100" name="Label percentage" placeholder="0" value="{{{Label percentage|}}}" />%</span></div>
 
<span class="percentage"><wsfield type="number" class="form-control form-number" min="0" max="100" name="Label percentage" placeholder="0" value="{{{Label percentage|}}}" />%</span></div>
 
<wsfield type="textarea" class="form-control mt-2" name="Label text" placeholder="{{#var:@support}}">{{{Label text|}}}</wsfield>
 
<wsfield type="textarea" class="form-control mt-2" name="Label text" placeholder="{{#var:@support}}">{{{Label text|}}}</wsfield>

Revision as of 12:09, 8 December 2021


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