Difference between revisions of "Template:Verdict"

From cm2.liecourt.com
m (Reverted edits by Maintenance script (talk) to last revision by Merel)
(Tag: Rollback)
Line 72: Line 72:
 
|Context={{{Context|None}}}
 
|Context={{{Context|None}}}
 
|Name={{{Name|}}}
 
|Name={{{Name|}}}
 +
|Locked={{{Lock|}}}
 
}}
 
}}
 
|{{#set:Class=None}}
 
|{{#set:Class=None}}
Line 515: Line 516:
  
 
{{Item responsive |Cols={{#var:@cols|4-8}}
 
{{Item responsive |Cols={{#var:@cols|4-8}}
|1=
+
|1=<div class="d-flex">{{#widget:Check input |type=radio |name=Lock  |text=Open |id=lockyes |value= |checked={{#ifeq:{{{Lock|}}}|true||checked}} }}
|2=<wsfield type="submit" class="btn btn-submit"  value="Save"  onclick="this.classList.add('pending');" />
+
{{#widget:Check input |type=radio |name=Lock |text=Locked |id=lockyno |value=true  |checked={{#ifeq:{{{Lock|}}}|true|checked|}} }}</div>
 +
|2={{#ifeq:{{{Lock|}}}|true| |Lock your verdict when done <wsfield type="submit" class="btn btn-submit"  value="Save"  onclick="this.classList.add('pending');" />}}
 
}}</wsform><!--
 
}}</wsform><!--
  

Revision as of 11:10, 21 March 2022


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