Difference between revisions of "Template:Verdict"

From cm2.liecourt.com
Line 275: Line 275:
 
-->{{#vardefine:@counter|{{#expr:{{#var:@counter}} + 1}} }} |}}</div><!--  
 
-->{{#vardefine:@counter|{{#expr:{{#var:@counter}} + 1}} }} |}}</div><!--  
  
--></div></div></div>|}} }}{{#tag:html|</details>}} }}
+
--></div></div></div>|}} }}{{#tag:html|</details>}}  
 
<div class="d-flex">{{#widget:Check input |type=radio |name=Truth  |text=yes |id=truthyes |value=yes |checked={{#ifeq:{{{Truth|}}}|no||checked}} }}
 
<div class="d-flex">{{#widget:Check input |type=radio |name=Truth  |text=yes |id=truthyes |value=yes |checked={{#ifeq:{{{Truth|}}}|no||checked}} }}
 
{{#widget:Check input |type=radio |name=Truth |text=no |id=truthno |value=no  |checked={{#ifeq:{{{Truth|}}}|no|checked|}} }}<span class="percentage"><wsfield type="number" class="form-control form-number" min="0" max="100" name="Truth percentage" placeholder="0" value="{{{Truth percentage|}}}" />%</span></div>
 
{{#widget:Check input |type=radio |name=Truth |text=no |id=truthno |value=no  |checked={{#ifeq:{{{Truth|}}}|no|checked|}} }}<span class="percentage"><wsfield type="number" class="form-control form-number" min="0" max="100" name="Truth percentage" placeholder="0" value="{{{Truth percentage|}}}" />%</span></div>

Revision as of 10:02, 22 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= 
}}