Sjabloon:Article: verschil tussen versies

Uit Auditpedia
Ga naar:navigatie, zoeken
Regel 39: Regel 39:
 
{{Section title |Title= |Formlink new={{#widget:Button link |href=#description-form-tab |datatoggle=tab |class=btn btn-default |buttontext=Edit }} }}<!-- end Section title -->
 
{{Section title |Title= |Formlink new={{#widget:Button link |href=#description-form-tab |datatoggle=tab |class=btn btn-default |buttontext=Edit }} }}<!-- end Section title -->
 
{{{Short description|}}}
 
{{{Short description|}}}
{{{Main image|}}}
+
[[File:picture-{{PAGEID}}.png|100px]]
 
{{{Description|}}}<br>
 
{{{Description|}}}<br>
 
{{#if: {{{External links|}}}
 
{{#if: {{{External links|}}}
Regel 52: Regel 52:
  
 
<wsedit target="{{PAGEID}}" template="Article" formfield="Picture" />
 
<wsedit target="{{PAGEID}}" template="Article" formfield="Picture" />
<wslabel>Upload a picture as the main image for this article:</wslabel>
 
 
<wsfield verbose_id="preview123" type="file" id="picture-upload-{{PAGEID}}" name="picture" target="picture-{{PAGEID}}.png" class="form-control" pagecontent="Article main picture" use_label="true" multiple="multiple" />
 
<wsfield verbose_id="preview123" type="file" id="picture-upload-{{PAGEID}}" name="picture" target="picture-{{PAGEID}}.png" class="form-control" pagecontent="Article main picture" use_label="true" multiple="multiple" />
 
<wsfield type="submit" value="Upload" class="btn btn-success" /><br>
 
<wsfield type="submit" value="Upload" class="btn btn-success" /><br>

Versie van 6 nov 2020 10:50


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

{{Article
|Title=
|Short description=
|Picture=
|Description=
|External links=
|Belongs to portal=
}}