Sjabloon:Article: verschil tussen versies

Uit Auditpedia
Ga naar:navigatie, zoeken
Regel 10: Regel 10:
 
{{Article
 
{{Article
 
|Title=
 
|Title=
|Subtitle=
+
|Short description=
 
|Description=
 
|Description=
 
|External links=
 
|External links=
Regel 21: Regel 21:
 
-->{{#set:Class=Article
 
-->{{#set:Class=Article
 
|Title={{{Title|}}}
 
|Title={{{Title|}}}
|Subtitle={{{Subtitle|}}}
+
|Short description={{{Short description|}}}
 
|Description={{{Description|}}}
 
|Description={{{Description|}}}
 
|External links={{{External links|}}}
 
|External links={{{External links|}}}
Regel 36: Regel 36:
 
<div class="tab-pane active" id="description-view-tab">
 
<div class="tab-pane active" id="description-view-tab">
 
{{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 -->
<h3>{{{Subtitle|}}}</h3>
+
{{{Short description|}}}<br>
 
{{{Description|}}}<br>
 
{{{Description|}}}<br>
 
{{#if: {{{External links|}}}
 
{{#if: {{{External links|}}}
Regel 48: Regel 48:
 
<wsform action="addToWiki">
 
<wsform action="addToWiki">
  
<wsedit target="{{PAGEID}}" template="Article" formfield="Subtitle" />
+
<wsedit target="{{PAGEID}}" template="Article" formfield="Short description" />
<wslabel>Subtitle:</wslabel>
+
<wslabel>Short description:</wslabel>
<wsfield type="textarea"  rows="1" class="form-control" name="Subtitle" >{{{Subtitle|}}}</wsfield><br>
+
<wsfield type="textarea"  rows="4" class="form-control" name="Short description" >{{{Short description|}}}</wsfield><br>
  
 
<wsedit target="{{PAGEID}}" template="Article" formfield="Description" />
 
<wsedit target="{{PAGEID}}" template="Article" formfield="Description" />

Versie van 5 nov 2020 16:08


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

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