Sjabloon:Subportal form: verschil tussen versies
Uit Auditpedia
(Nieuwe pagina aangemaakt met '<noinclude>{{Managed |Version=1.0 |Version notes=1.0 - First managed version |Short description=Form to create/edit portals }} This is the '''Subportal form''' tem...') |
|||
Regel 15: | Regel 15: | ||
</pre> | </pre> | ||
− | </noinclude><includeonly><wsform action="addToWiki"> | + | </noinclude><includeonly><!-- |
+ | |||
+ | -->{{#vardefine: @Portal name |{{#explode:{{{Portal|}}}|/|-1}} }}<!-- | ||
+ | --><wsform action="addToWiki"> | ||
− | <wscreate mwwrite="Portal/{{ | + | <wscreate mwwrite="Portal/{{#var:@Portal name}}/[Title]" mwtemplate="Subportal" mwfollow /> |
<wslabel>{{int: ws-title}}:</wslabel> | <wslabel>{{int: ws-title}}:</wslabel> |
Versie van 13 apr 2022 19:35
This is the Subportal form template. It should be called in the following format:
{{Subportal form |Page= < Optional, person page to edit > if empty, a new page is created |Portal= |Title= }}