Sjabloon:Article form template: verschil tussen versies

Uit Auditpedia
Ga naar:navigatie, zoeken
Regel 8: Regel 8:
 
</pre>
 
</pre>
 
Edit the page to see the template text.
 
Edit the page to see the template text.
</noinclude><includeonly><wsform action="get" mwreturn="{{fullurl:Create article}}">
+
</noinclude><includeonly>
 +
<wsform action="get" mwreturn="{{fullurl:Create article}}">
 
<wsfield name="Title" type="text" value="{{{Title|}}}" class="form-control row-formitemresponsive" required="required" />
 
<wsfield name="Title" type="text" value="{{{Title|}}}" class="form-control row-formitemresponsive" required="required" />
 +
 +
<div class="text-right">
 +
{{#if:{{{Page|}}} ||{{#widget:Button link
 +
|class=btn btn-default
 +
|href=#article-form-template
 +
|datatoggle=collapse
 +
|buttontext={{int: ws-back}}
 +
}}
 +
}}
 
<wsfield type="submit" class="btn btn-primary" value="{{int: ws-save}}" />
 
<wsfield type="submit" class="btn btn-primary" value="{{int: ws-save}}" />
 +
</div>
 
</wsform>
 
</wsform>
 +
 +
<!--
 +
<wsform action="get" mwreturn="{{fullurl:Create article}}">
 +
<wsfield name="Title" type="text" value="{{{Title|}}}" class="form-control row-formitemresponsive" required="required" />
 +
 +
</wsform>-->
 
</includeonly>
 
</includeonly>

Versie van 4 dec 2020 16:04

This is the "Article form template" template. It should be called in the following format:

{{Article form template
|Page=
}}

Edit the page to see the template text.