Sjabloon:Article form: verschil tussen versies
Uit Auditpedia
Regel 12: | Regel 12: | ||
"Template:Article" parameters: | "Template:Article" parameters: | ||
− | |Title= | + | |Title= |
− | | | + | |Belongs to portal= |
− | + | |Description= | |
− | |||
− | |||
− | | | ||
|Archived= < Optional: Yes > | |Archived= < Optional: Yes > | ||
}} | }} | ||
Regel 30: | Regel 27: | ||
}} | }} | ||
− | + | <wslabel>Title:</wslabel> | |
− | + | <wsfield name="Title" type="text" value="{{{Title|}}}" class="form-control row-formitemresponsive" required="required" /> | |
− | + | ||
− | + | <wslabel>Belongs to portal:</wslabel> | |
− | + | <wsfield name="Belongs to portal" type="text" value="{{{Belongs to portal|}}}" class="form-control row-formitemresponsive" required="required" /> | |
− | + | ||
− | + | <wslabel>Description</wslabel> | |
− | + | <wsfield type="textarea" name="Description" class="form-control row-formitemresponsive" rows="5" >{{{Description|}}}</wsfield> | |
− | + | ||
− | + | <wsfield type="hidden" name="Description" value="{{{Description|}}}" /> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<wsfield type="hidden" name="Archived" value="{{{Archived|}}}" /> | <wsfield type="hidden" name="Archived" value="{{{Archived|}}}" /> | ||
− | |||
<div class="text-right"> | <div class="text-right"> | ||
{{#if:{{{Page|}}} ||{{#widget:Button link | {{#if:{{{Page|}}} ||{{#widget:Button link |
Versie van 4 nov 2020 19:26
This is the Article form template. It should be called in the following format:
{{Article form |Page= < Optional, person page to edit > if empty, a new page is created "Template:Article" parameters: |Title= |Belongs to portal= |Description= |Archived= < Optional: Yes > }}