Sjabloon:Edit author: 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 articles }} This is the '''Edit author''' templ...') |
|||
Regel 16: | Regel 16: | ||
</noinclude><includeonly><wsform action="addToWiki"><!-- | </noinclude><includeonly><wsform action="addToWiki"><!-- | ||
+ | -->{{#vardefine:ID|{{PAGEID:{{{Page|}}} }}<!-- | ||
// If Page parameter has a value, create that page, else create a new one | // If Page parameter has a value, create that page, else create a new one | ||
--> | --> | ||
<wscreate mwwrite="{{{Page|}}}" mwtemplate="Author" mwfollow /> | <wscreate mwwrite="{{{Page|}}}" mwtemplate="Author" mwfollow /> | ||
− | + | <wsedit target="{{#var:ID}}" template="Author" formfield="Title" /> | |
+ | <div id="errors"></div><div id="verbose"></div> | ||
<wslabel>{{int: ws-title}}:</wslabel>{{{Title|}}}<br><!-- | <wslabel>{{int: ws-title}}:</wslabel>{{{Title|}}}<br><!-- | ||
--><wsfield name="Title" type="hidden" value="{{{Title|}}}" required="required" /> | --><wsfield name="Title" type="hidden" value="{{{Title|}}}" required="required" /> |
Versie van 23 apr 2022 17:27
This is the Edit author template. It should be called in the following format:
{{Edit author |Page= <page: author page to be edited /> |Title= <text: name /> |Archived= <Optional: Yes /> }}