Difference between revisions of "Template:Verdict"

From cm2.liecourt.com
(Fill database)
Line 46: Line 46:
 
|Role={{{Role|}}}
 
|Role={{{Role|}}}
 
|User={{{User|}}}
 
|User={{{User|}}}
|Truth={{#replace:{{{Truth|}}}|,|.}}
+
|Truth={{{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={{#replace:{{{Whole truth|}}}|,|.}}
+
|Whole truth={{{Whole truth|}}}
 
|Whole truth percentage={{{Whole truth percentage|}}}
 
|Whole truth percentage={{{Whole truth percentage|}}}
|Whole truth text={{#replace:{{#if:{{{Whole truth text|}}}|{{{Whole truth text|}}}|-}}|,|.}}
+
|Whole truth text={{#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={{#replace:{{{Deceit|}}}|,|.}}
+
|Deceit={{{Deceit|}}}
 
|Deceit percentage={{{Deceit percentage|}}}
 
|Deceit percentage={{{Deceit percentage|}}}
|Deceit text={{#replace:{{#if:{{{Deceit text|}}}|{{{Deceit text|}}}|-}}|,|.}}
+
|Deceit text={{#if:{{{Deceit text|}}}|{{{Deceit text|}}}|-}}
|Deceit intended={{#replace:{{{Deceit intended|}}}|,|.}}
+
|Deceit intended={{{Deceit intended|}}}
 
|Deceit intended percentage={{{Deceit intended percentage|}}}
 
|Deceit intended percentage={{{Deceit intended percentage|}}}
|Deceit intended text={{{#replace:{#if:{{{Deceit intended text|}}}|{{{Deceit intended text|}}}|}}|,|.}}
+
|Deceit intended text={{#if:{{{Deceit intended text|}}}|{{{Deceit intended text|}}}|}}
|Motivation={{#replace:{{{Motivation|}}}|,|.}}
+
|Motivation={{{Motivation|}}}
 
|Motivation percentage={{{Motivation percentage|}}}
 
|Motivation percentage={{{Motivation percentage|}}}
|Motivation text={{#replace:{{#if:{{{Motivation text|}}}|{{{Motivation text|}}}|-}}|,|.}}
+
|Motivation text={{#if:{{{Motivation text|}}}|{{{Motivation text|}}}|-}}
|Social acceptability={{#replace:{{{Social acceptability|}}}|,|.}}
+
|Social acceptability={{{Social acceptability|}}}
 
|Social acceptability percentage={{{Social acceptability percentage|}}}
 
|Social acceptability percentage={{{Social acceptability percentage|}}}
|Social acceptability text={{#replace:{{#if:{{{Social acceptability text|}}}|{{{Social acceptability text|}}}|-}}|,|.}}
+
|Social acceptability text={{#if:{{{Social acceptability text|}}}|{{{Social acceptability text|}}}|-}}
|Label={{#replace:{{{Label|}}}|,|.}}
+
|Label={{{Label|}}}
 
|Label percentage={{{Label percentage|}}}
 
|Label percentage={{{Label percentage|}}}
|Label text={{#replace:{{#if:{{{Label text|}}}|{{{Label text|}}}|}}|,|.}}
+
|Label text={{#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" placeholder="Label" >{{{Label|}}}</wsfield>
+
--></div></div></div>|}}{{#tag:html|</details>}} }}<div class="d-flex"><wsfield type="textarea" class="form-control" name="Label" value="{{{Label|}}}" placeholder="Label" />
 
<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 08:26, 10 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= 
}}