Difference between revisions of "Template:User form"

From cm2.liecourt.com
(Fill database)
(Fill database)
 
Line 23: Line 23:
 
{{#tag:wsedit||target={{PAGEID:{{{Target|User:{{CURRENTLOGGEDUSER}} }}} }}|template=User|formfield=Roles}}
 
{{#tag:wsedit||target={{PAGEID:{{{Target|User:{{CURRENTLOGGEDUSER}} }}} }}|template=User|formfield=Roles}}
 
{{#tag:wsedit||target={{PAGEID:{{{Target|User:{{CURRENTLOGGEDUSER}} }}} }}|template=User|formfield=Be candidate}}
 
{{#tag:wsedit||target={{PAGEID:{{{Target|User:{{CURRENTLOGGEDUSER}} }}} }}|template=User|formfield=Be candidate}}
{{#tag:wsedit||target={{PAGEID:{{{Target|User:{{CURRENTLOGGEDUSER}} }}} }}|template=User|formfield=Email}}
 
 
{{#tag:wsedit||target={{PAGEID:{{{Target|User:{{CURRENTLOGGEDUSER}} }}} }}|template=User|formfield=Volunteer}}
 
{{#tag:wsedit||target={{PAGEID:{{{Target|User:{{CURRENTLOGGEDUSER}} }}} }}|template=User|formfield=Volunteer}}
 
|{{#tag:wscreate||mwwrite={{{Target|User:{{CURRENTLOGGEDUSER}} }}}|mwtemplate=User|mwfollow=true}}
 
|{{#tag:wscreate||mwwrite={{{Target|User:{{CURRENTLOGGEDUSER}} }}}|mwtemplate=User|mwfollow=true}}
Line 35: Line 34:
 
{{Item responsive |Cols={{#var:@cols|4-8}}
 
{{Item responsive |Cols={{#var:@cols|4-8}}
 
|1=<b>Email</b>
 
|1=<b>Email</b>
|2={{#tag:wsfield||name=Email|type=text|value={{{Email|}}}|class=form-control|required=required}}
+
|2={{{Email|}}} {{#widget:link|type=a|text=change email|href={{fullurl:Special:ChangeEmail|returnto={{FULLPAGENAME}} }} }}
 
}}
 
}}
  

Latest revision as of 09:42, 14 August 2020


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

{{User form
|Name=
|Email=
|Volunteer=
|Roles=
|Be candidate=overrules role
}}