Difference between revisions of "Template:User"

From cm2.liecourt.com
m (Text replacement - "|Workflow=" to "{{subst:#if:1||}}|Workflow=")
m (Reverted edits by Maintenance script (talk) to last revision by Merel)
(Tag: Rollback)
 
(3 intermediate revisions by 3 users not shown)
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|limit=999}}| |{{#var:@roles}} }}|+sep=,|User={{{User|}}}|Name={{{Name|}}}|Email={{{Email|}}}|Volunteer={{{Volunteer|}}}|Tokens spent={{{Tokens spent|}}}|Pagename={{FULLPAGENAME}}|Online since={{{Online since|}}} }} }}
+
<div class="d-none">__NOTITLE__ __NOTOC__{{#if:{{{Name|}}}|{{#set:Class=Member|Nomessages={{{Nomessages|}}}|Role={{#if:{{#ask:[[{{FULLPAGENAME}}]][[User group::sysop]]|?User group|limit=999}}| |{{#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 89: Line 89:
 
  {{Messages
 
  {{Messages
 
  |Fullpagename={{FULLPAGENAME}}
 
  |Fullpagename={{FULLPAGENAME}}
  {{subst:#if:1||}}|Workflow={{{Workflow|}}}
+
  |Workflow={{{Workflow|}}}
 
  |Filed by={{{Filed by|}}}
 
  |Filed by={{{Filed by|}}}
 
  }}
 
  }}

Latest revision as of 12:36, 24 February 2022


This is the User template. It should be called in the following format:

{{User
|User=
|Roles=
|Name=
|Filed by=
|be candidate=
}}