Sjabloon:Article form template: verschil tussen versies

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

Versie van 4 dec 2020 15:58

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.