Difference between revisions of "Template:User"
From cm2.liecourt.com
(Fill database) |
(Fill database) |
||
Line 18: | Line 18: | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
− | <div class="d-none">__NOTITLE__ __NOTOC__{{#if:{{{Name|}}}|{{#set:Class=Member|Role={{#if:{{{Roles|}}}|{{{Roles|}}}|Juror, Judge}}|+sep=,|User={{{User|}}}|Name={{{Name|}}}|Email={{{Email|}}}|Volunteer={{{Volunteer|}}}|Tokens spent={{{Tokens spent|}}}| | + | <div class="d-none">__NOTITLE__ __NOTOC__{{#if:{{{Name|}}}|{{#set:Class=Member|Role={{#if:{{{Roles|}}}|{{{Roles|}}}|Juror, Judge}}|+sep=,|User={{{User|}}}|Name={{{Name|}}}|Email={{{Email|}}}|Volunteer={{{Volunteer|}}}|Tokens spent={{{Tokens spent|}}}|Pagename={{FULLPAGENAME}} }} }} |
</div> | </div> | ||
{{#vardefine:@allowed|{{#ifeq:User:{{CURRENTLOGGEDUSER}}|{{FULLPAGENAME}}|Yes|{{#ifsysop:Yes|No}}}}}} | {{#vardefine:@allowed|{{#ifeq:User:{{CURRENTLOGGEDUSER}}|{{FULLPAGENAME}}|Yes|{{#ifsysop:Yes|No}}}}}} | ||
Line 263: | Line 263: | ||
{{#ifeq:{{#explode:@@@|<PROP>|10}}|Class|<h2>Class cases information</h2>{{#arraymap:{{#explode:@@@|<PROP>|11}}|<MANY>|###|<div class="info-row">Case: ###</div>|}}|<h2>Case information</h2><div class="info-row"><b>Lie</b>{{#explode:@@@|<PROP>|4}}</div> | {{#ifeq:{{#explode:@@@|<PROP>|10}}|Class|<h2>Class cases information</h2>{{#arraymap:{{#explode:@@@|<PROP>|11}}|<MANY>|###|<div class="info-row">Case: ###</div>|}}|<h2>Case information</h2><div class="info-row"><b>Lie</b>{{#explode:@@@|<PROP>|4}}</div> | ||
− | <div class="info-row"><b>Topic</b>{{#explode:@@@|<PROP>|5}}</div> | + | <div class="d-none"><div class="info-row"><b>Topic</b>{{#explode:@@@|<PROP>|5}}</div> |
<div class="info-row"><b>Description</b>{{#explode:@@@|<PROP>|6}}</div> | <div class="info-row"><b>Description</b>{{#explode:@@@|<PROP>|6}}</div> | ||
<div class="info-row"><b>Marked truth and lies </b><div class="lie-input">{{#explode:@@@|<PROP>|7}}</div></div> | <div class="info-row"><b>Marked truth and lies </b><div class="lie-input">{{#explode:@@@|<PROP>|7}}</div></div> | ||
Line 322: | Line 322: | ||
<div class="info-row"><b>What is the Motivation behind the Lie?</b>{{#vardefine:@mv|0}}{{#arraymap:{{#explode:{{#var:@plver}}|<PROP>|19}}|,|%%%|%%% <span class="percnt">{{#explode:{{#explode:{{#var:@plver}}|<PROP>|20}}|,|{{#var:@mv}}}}%</span><br>{{#explode:{{#explode:{{#var:@plver}}|<PROP>|21}}|,|{{#var:@mv}}}}{{#vardefine:@mv|{{#expr:{{#var:@mv}} + 1}} }} |<br>}}</div> | <div class="info-row"><b>What is the Motivation behind the Lie?</b>{{#vardefine:@mv|0}}{{#arraymap:{{#explode:{{#var:@plver}}|<PROP>|19}}|,|%%%|%%% <span class="percnt">{{#explode:{{#explode:{{#var:@plver}}|<PROP>|20}}|,|{{#var:@mv}}}}%</span><br>{{#explode:{{#explode:{{#var:@plver}}|<PROP>|21}}|,|{{#var:@mv}}}}{{#vardefine:@mv|{{#expr:{{#var:@mv}} + 1}} }} |<br>}}</div> | ||
<div class="info-row"><b>What is the Social Acceptability for the lie?</b>{{#explode:{{#var:@plver}}|<PROP>|22}} <span class="percnt">{{#explode:{{#var:@plver}}|<PROP>|23}}%</span><br>{{#explode:{{#var:@plver}}|<PROP>|24}}</div> | <div class="info-row"><b>What is the Social Acceptability for the lie?</b>{{#explode:{{#var:@plver}}|<PROP>|22}} <span class="percnt">{{#explode:{{#var:@plver}}|<PROP>|23}}%</span><br>{{#explode:{{#var:@plver}}|<PROP>|24}}</div> | ||
− | <div class="info-row"><b>What is the label for the lie needed to Improve the Social Acceptability?</b>{{#explode:{{#var:@plver}}|<PROP>|25}} <span class="percnt">{{#explode:{{#var:@plver}}|<PROP>|26}}%</span><br>{{#explode:{{#var:@plver}}|<PROP>|27}}</div>}} | + | <div class="info-row"><b>What is the label for the lie needed to Improve the Social Acceptability?</b>{{#explode:{{#var:@plver}}|<PROP>|25}} <span class="percnt">{{#explode:{{#var:@plver}}|<PROP>|26}}%</span><br>{{#explode:{{#var:@plver}}|<PROP>|27}}</div>}}</div> |
{{#if:{{#explode:@@@|<PROP>|12}}|<h2>Former selected judge declined</h2> | {{#if:{{#explode:@@@|<PROP>|12}}|<h2>Former selected judge declined</h2> | ||
<div class="info-row"><b>Reason</b>{{#explode:@@@|<PROP>|12}}</div>}} | <div class="info-row"><b>Reason</b>{{#explode:@@@|<PROP>|12}}</div>}} |
Revision as of 11:29, 20 May 2020
This is the User template. It should be called in the following format:
{{User |User= |Roles= |Name= |Filed by= }}