Difference between revisions of "Template:User"
From cm2.liecourt.com
(Fill database) |
m (Reverted edits by Maintenance script (talk) to last revision by Admin) (Tag: Rollback) |
||
Line 19: | Line 19: | ||
</noinclude><includeonly>{{#vardefine:@roles|{{#ifeq:{{{Be candidate|Yes}}}|Yes|{{#if:{{{Roles|}}}|{{{Roles|}}}|Juror, Judge}} }} }} | </noinclude><includeonly>{{#vardefine:@roles|{{#ifeq:{{{Be candidate|Yes}}}|Yes|{{#if:{{{Roles|}}}|{{{Roles|}}}|Juror, Judge}} }} }} | ||
− | <div class="d-none">__NOTITLE__ __NOTOC__{{#if:{{{Name|}}}|{{#set:Class=Member|Role={{#if:{{#ask:[[{{FULLPAGENAME}}]][[User group::sysop]]|?User group}}| |{{#var:@roles}} }}|+sep=,|User={{{User|}}}|Name={{{Name|}}}|Email={{{Email|}}}|Volunteer={{{Volunteer|}}}|Tokens spent={{{Tokens spent|}}}|Pagename={{FULLPAGENAME}} }} }} | + | <div class="d-none">__NOTITLE__ __NOTOC__{{#if:{{{Name|}}}|{{#set:Class=Member|Role={{#if:{{#ask:[[{{FULLPAGENAME}}]][[User group::sysop]]|?User group}}| |{{#var:@roles}} }}|+sep=,|User={{{User|}}}|Name={{{Name|}}}|Email={{{Email|}}}|Volunteer={{{Volunteer|}}}|Tokens spent={{{Tokens spent|}}}|Pagename={{FULLPAGENAME}}|Online since={{{Online since|}}} }} }} |
</div> | </div> | ||
{{#vardefine:@allowed|{{#ifeq:User:{{CURRENTLOGGEDUSER}}|{{FULLPAGENAME}}|Yes|{{#ifsysop:Yes|No}}}}}} | {{#vardefine:@allowed|{{#ifeq:User:{{CURRENTLOGGEDUSER}}|{{FULLPAGENAME}}|Yes|{{#ifsysop:Yes|No}}}}}} | ||
Line 78: | Line 78: | ||
-->{{#vardefine:@balance|{{#ttcount:}} }} | -->{{#vardefine:@balance|{{#ttcount:}} }} | ||
<span class="truth-token">{{fa|gavel}}</span>× <span class="nr">{{#var:@balance}}</span> | <span class="truth-token">{{fa|gavel}}</span>× <span class="nr">{{#var:@balance}}</span> | ||
+ | </div> | ||
+ | </div> | ||
+ | <div class="info-box"> | ||
+ | <h2>Online status</h2><div id="online-status"> | ||
+ | <center>{{Mark online}}</center> | ||
</div> | </div> | ||
</div> | </div> |
Revision as of 11:22, 14 June 2021
This is the User template. It should be called in the following format:
{{User |User= |Roles= |Name= |Filed by= |be candidate= }}