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

Uit Dorpsbelang Den Hout
Ga naar:navigatie, zoeken
Regel 23: Regel 23:
 
   * Wijzigen (existing member page changed by member or admin)
 
   * Wijzigen (existing member page changed by member or admin)
 
</noinclude><includeonly>{{#vardefine:@cols|6-6}}<wsform action="addToWiki" restrictions=lifted messageonsuccess="Wijzigingen zijn opgeslagen" >
 
</noinclude><includeonly>{{#vardefine:@cols|6-6}}<wsform action="addToWiki" restrictions=lifted messageonsuccess="Wijzigingen zijn opgeslagen" >
{{#switch: {{{Action|}}}
+
<wscreate mwwrite="{{{Mwwrite|}}}" mwoption="{{{Mwoption|}}}" mwtemplate="Member" mwreturn="{{{Mwreturn|}}}" />
|Aanmelden=<wscreate mwwrite="{{{Domein|}}}/Member/" mwoption="add_random" mwtemplate="Member" mwreturn="https://www.denhout.eu/index.php/Www.denhout.eu/Dank_voor_aanmelden" />
+
 
|Wijzigen=<wscreate mwwrite="{{FULLPAGENAME}}" mwtemplate="Member" mwreturn="{{FULLPAGENAME}}"/>
 
|#default=
 
}}
 
 
<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 19:58


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

{{www.denhout.eu/Form member
|Action=
|Domein=
|Return page=(url)
|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)