Difference between revisions of "Template:Register user"

From Dashboard samenwerking Wijchen
 
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
  
{{Register user
+
</noinclude><includeonly>{{#vardefine:username|{{#if:{{{Username|}}}|{{{Username|}}}|{{{First name}}} {{{Last name|}}}}}}}<!--
|Last name=Lutinen
+
-->{{#vardefine:@gemeente|{{#show:Wiki:Instellingen website|?Set gemeenten}}}}<!---
|First name=Beertje
 
|Username=Beertje Lutinen (indien niet ingevuld, dan samengesteld uit voor- en achternaam)
 
|Temporary password=Testmaar324
 
|Email=blutinen@fictief.nl
 
}}
 
{{Register user
 
|Last name=Smart
 
|First name=Mart
 
|Username=Mart Smart
 
|Temporary password=8798dsfk
 
|Email=martsmart@fictief.nl
 
}}
 
 
 
</noinclude><includeonly>{{#vardefine:username|{{#if:{{{Username|}}}|{{{Username|}}}|{{{First name}}} {{{Last name|}}}}}}}<!---
 
 
--->{{#switch:{{#urlget:view}}
 
--->{{#switch:{{#urlget:view}}
 
|importuser=<div>{{#var:username}},{{{Temporary password|}}},{{{Email|}}},{{{First name|}}} {{{Last name|}}}</div>
 
|importuser=<div>{{#var:username}},{{{Temporary password|}}},{{{Email|}}},{{{First name|}}} {{{Last name|}}}</div>
 
|#default=<div class="row">
 
|#default=<div class="row">
<div class="col-md-3">{{{Last name|}}}, {{{First name}}}</div>
+
<div class="col-md-3"><strong>{{{Last name|}}}, {{{First name}}}</strong></div>
 
<div class="col-md-3">{{{Email|}}}</div>
 
<div class="col-md-3">{{{Email|}}}</div>
<div class="col-md-3">{{#switch: {{#ask: [[User:{{#var:username}}]] [[Modification date::+]] |default=nosuchpage}}
+
<div class="col-md-3">{{#switch: {{#ask: [[User:{{#var:username}}]] [[Modification date::+]] |format=count}}
   |nosuchpage=User:{{#var:username}} {{#autoedit: form=User |target=User:{{#var:username}} |link text={{Fa|plus}} pagina |User[First name]={{{First name}}} |User[Last name]={{{Last name}}} |User[Email address]={{{Email|}}} |User[Organization]=Gemeente Venlo }}
+
   |0=''User:{{#var:username}}'' {{#ifingroup:wsadmin|{{#autoedit: form=User |target=User:{{#var:username}} |link text={{Fa|plus}} pagina ({{Fa|lock}}) |User[First name]={{{First name}}} |User[Last name]={{{Last name}}} |User[Email address]={{{Email|}}} |User[Organization]={{#var:@gemeente}} }} }}
   |#default=[[User:{{#var:username}}]]
+
   |#default=[[User:{{#var:username}}|{{Fa|check fa-fw}} Persoonlijke pagina is aangemaakt]]
 
}}<!--
 
}}<!--
   -->{{#if:{{{Temporary password|}}}|<br>ww: ja|ww: nee}}</div>
+
   -->{{#ifingroup:wsadmin|<div class="text-muted">{{#if:{{{Temporary password|}}}|ww: ja|ww: nee}}</div>}}</div>
<div class="col-md-3">{{Invite new user
+
<div class="col-md-3">{{#switch: {{#ask: [[User:{{#var:username}}]] [[Modification date::+]] |format=count}}
 +
  |0=
 +
  |#default={{Invite new user
 
|To={{{Email|}}}
 
|To={{{Email|}}}
 
|BCC=
 
|BCC=
Line 33: Line 21:
 
|Username={{#var:username}}
 
|Username={{#var:username}}
 
|Temporary password={{{Temporary password|}}}
 
|Temporary password={{{Temporary password|}}}
}}</div>
+
}}}}</div>
</div>}}</includeonly>
+
</div><div style="border-bottom:1px solid;"></div>}}</includeonly>

Latest revision as of 09:49, 28 July 2017