Difference between revisions of "Template:Verdict"

From cm2.liecourt.com
(Fill database)
Line 265: Line 265:
 
|2=<div class="d-flex">{{#widget:Check input |type=radio |name=Nothing But the truth  |text=yes |id=nothingyes |value=yes |checked={{#ifeq:{{{Nothing But the truth|}}}|no||checked}} }}
 
|2=<div class="d-flex">{{#widget:Check input |type=radio |name=Nothing But the truth  |text=yes |id=nothingyes |value=yes |checked={{#ifeq:{{{Nothing But the truth|}}}|no||checked}} }}
 
{{#widget:Check input |type=radio |name=Nothing But the truth |text=no |id=nothingno |value=no  |checked={{#ifeq:{{{Nothing But the truth|}}}|no|checked|}} }}<span class="percentage"><wsfield type="number" class="form-control form-number" min="0" max="100" name="Nothing But the truth percentage" placeholder="0" value="{{{Nothing But the truth percentage|}}}" />%</span></div>
 
{{#widget:Check input |type=radio |name=Nothing But the truth |text=no |id=nothingno |value=no  |checked={{#ifeq:{{{Nothing But the truth|}}}|no|checked|}} }}<span class="percentage"><wsfield type="number" class="form-control form-number" min="0" max="100" name="Nothing But the truth percentage" placeholder="0" value="{{{Nothing But the truth percentage|}}}" />%</span></div>
<wsfield type="textarea" class="form-control mt-2" name="Nothing But the truth text" placeholder="Evidence" value="{{{Nothing But the truth text|}}}" />
+
<wsfield type="textarea" class="form-control mt-2" name="Nothing But the truth text" placeholder="Evidence" >{{{Nothing But the truth text|}}}</wsfield>
 
}}
 
}}
  

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