Sjabloon:Article: verschil tussen versies

Uit Auditpedia
Ga naar:navigatie, zoeken
Regel 11: Regel 11:
 
|Title=
 
|Title=
 
|Subtitle=
 
|Subtitle=
 +
|Content=
 
|External links=
 
|External links=
 
|References=
 
|References=
|Content=
 
 
|Belongs to portal=
 
|Belongs to portal=
 
|Archived= < Optional: Yes >  
 
|Archived= < Optional: Yes >  
Regel 39: Regel 39:
 
<div class="tab-pane active" id="content-view-tab">
 
<div class="tab-pane active" id="content-view-tab">
 
{{Section title |Title= |Formlink new={{#widget:Button link |href=#content-form-tab |datatoggle=tab |class=btn btn-default |buttontext=Edit }} }}<!-- end Section title -->
 
{{Section title |Title= |Formlink new={{#widget:Button link |href=#content-form-tab |datatoggle=tab |class=btn btn-default |buttontext=Edit }} }}<!-- end Section title -->
 +
{{{Subtitle|}}}
 
{{{Content|}}}
 
{{{Content|}}}
 +
{{{External links|}}}
 +
{{{References|}}}
 +
{{{Belongs to portal|}}}
 +
{{{Archived|}}}
 
</div>
 
</div>
 
<div class="tab-pane" id="content-form-tab">
 
<div class="tab-pane" id="content-form-tab">
Regel 45: Regel 50:
 
<wsform action="addToWiki">
 
<wsform action="addToWiki">
 
<wsedit target="{{PAGEID}}" template="Article" formfield="Content" />
 
<wsedit target="{{PAGEID}}" template="Article" formfield="Content" />
<wsfield type="textarea" name="Content" class="tinymce" >{{{Content|}}}</wsfield>
+
<wsfield type="text" name="Subtitle" class="tinymce" >{{{Subtitle|}}}</wsfield>
 +
<wsfield type="textarea" name="Content" >{{{Content|}}}</wsfield>
 +
<wsfield type="url" name="External links" >{{{External links|}}}</wsfield>
 +
 
 
<div class="text-right mt-3">{{#widget:Button link |href=#content-view-tab |datatoggle=tab |class=btn btn-default |buttontext=Back }}
 
<div class="text-right mt-3">{{#widget:Button link |href=#content-view-tab |datatoggle=tab |class=btn btn-default |buttontext=Back }}
 
<wsfield type="submit" class="btn btn-primary" value="Save" /></div>
 
<wsfield type="submit" class="btn btn-primary" value="Save" /></div>

Versie van 4 nov 2020 12:37


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

{{Article
|Title=
|Subtitle=
|Content=
|External links=
|References=
|Belongs to portal=
|Archived= < Optional: Yes > 
}}