Sjabloon:Www.denhout.eu/Form member: verschil tussen versies

Uit Dorpsbelang Den Hout
Ga naar:navigatie, zoeken
Regel 1: Regel 1:
 
<noinclude>
 
<noinclude>
  
This is the "www.denhout.eu/Form member" template. It should be called in the following format:
+
This is the "Form member" template. It should be called in the following format:
  
 
<pre>
 
<pre>
{{www.denhout.eu/Form member
+
{{Form member
 
|Action=
 
|Action=
 
|Domein=
 
|Domein=
|Return page=(url)
 
 
|Email address=
 
|Email address=
 
|First name=
 
|First name=
Regel 22: Regel 21:
 
   * Aanmelden (new member page will be created, member not approved)
 
   * Aanmelden (new member page will be created, member not approved)
 
   * Wijzigen (existing member page changed by member or admin)
 
   * Wijzigen (existing member page changed by member or admin)
</noinclude><includeonly>{{{Mwreturn|}}}{{#vardefine:@cols|6-6}}<wsform action="addToWiki" restrictions=lifted messageonsuccess="{{{Messageonsuccess|}}}" >
+
</noinclude><includeonly>{{#vardefine:@cols|6-6}}<wsform action="addToWiki" restrictions=lifted mwreturn="{{fullurl: {{{Return page|}}} }}" messageonsuccess="{{{Success message|}}}" >
<wscreate mwwrite="{{{Mwwrite|}}}" mwoption="{{{Mwoption|}}}" mwtemplate="Member" mwreturn="{{{Mwreturn|}}}" />
+
<wscreate {{#switch: {{{Action|}}}  
 
+
|Aanmelden=mwwrite="{{SERVERNAME}}/Member/" mwoption="add_random"
 +
|Wijzigen=mwwrite="{{FULLPAGENAME}}"
 +
|#default=
 +
}} mwtemplate="Member" />
 
<wsfield type="hidden" name="Domein" value="{{{Domein|}}}" />
 
<wsfield type="hidden" name="Domein" value="{{{Domein|}}}" />
 
<wsfield type="hidden" name="Has been approved" value="{{{Has been approved|}}}" />
 
<wsfield type="hidden" name="Has been approved" value="{{{Has been approved|}}}" />

Versie van 25 feb 2021 20:13


This is the "Form member" template. It should be called in the following format:

{{Form member
|Action=
|Domein=
|Email address=
|First name=
|Last name=
|Address=
|Postcode=
|Woonplaats=
|Mobile phone=
|Wants to contribute=
|Has been approved=
}}

The form should be used for the following actions regarding members:

 * Aanmelden (new member page will be created, member not approved)
 * Wijzigen (existing member page changed by member or admin)