Difference between revisions of "Template:User"

From cm2.liecourt.com
Line 49: Line 49:
 
{{Item responsive |Cols={{#var:@cols|4-8}}
 
{{Item responsive |Cols={{#var:@cols|4-8}}
 
|1=<b>Roles</b>
 
|1=<b>Roles</b>
|2={{#ifeq:{{{Be candidate|}}}|No|Not a candidate|{{#arraymap:{{{Roles|}}}|,|@@|@@}} {{#ifeq:{{{Volunteer|Yes}}}|(volunteer)}} }}
+
|2={{#ifeq:{{{Be candidate|}}}|No|Not a candidate|{{#arraymap:{{#var:@roles}}|,|@@|@@}} {{#ifeq:{{{Volunteer|Yes}}}|(volunteer)}} }}
 
}}
 
}}
 
{{#widget:link|text=Edit|type=a|class=btn btn-blue|id=profile-tab|datatoggle=tab|href=#info-tab-form|role=tab|aria-controls=info-tab-form|ariaselected=false}}
 
{{#widget:link|text=Edit|type=a|class=btn btn-blue|id=profile-tab|datatoggle=tab|href=#info-tab-form|role=tab|aria-controls=info-tab-form|ariaselected=false}}

Revision as of 12:51, 22 May 2020


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

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