Sjabloon:Article: verschil tussen versies

Uit Auditpedia
Ga naar:navigatie, zoeken
Regel 11: Regel 11:
 
|Title=
 
|Title=
 
|Belongs to portal=
 
|Belongs to portal=
|Description=
 
 
|Archived= < Optional: Yes >  
 
|Archived= < Optional: Yes >  
 
}}
 
}}
Regel 20: Regel 19:
 
-->{{#set:Class=Article
 
-->{{#set:Class=Article
 
|Title={{{Title|}}}
 
|Title={{{Title|}}}
|Description={{{Description|}}}
 
 
|Belongs to portal={{{Belongs to portal|}}}
 
|Belongs to portal={{{Belongs to portal|}}}
 
|Archived= {{#ifeq:{{{Archived|}}} |Yes |true |false}}
 
|Archived= {{#ifeq:{{{Archived|}}} |Yes |true |false}}
Regel 26: Regel 24:
  
 
##################################
 
##################################
###      Left column          ###
+
###      Article body        ###
 
##################################
 
##################################
 
--><div class="row">
 
--><div class="row">
Regel 33: Regel 31:
 
|Title={{{Title|}}}
 
|Title={{{Title|}}}
 
}}
 
}}
<div class="tab-content">
 
<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 of <!-- end Section title -->
 
{{{Description|}}}
 
 
</div>
 
</div>
<div class="tab-pane" id="description-form-tab">
+
</div><!--
{{Section title |Title= |Formlink new={{#widget:Button link |href=#description-view-tab |datatoggle=tab |class=btn btn-default |buttontext=Back }} }}<!-- end Section title -->
 
<wsform action="addToWiki">
 
<wsedit target="{{PAGEID}}" template="Article" formfield="Description" />
 
<wsfield type="textarea" name="Description" class="" >{{{Description|}}}</wsfield>
 
<div class="text-right mt-3">{{#widget:Button link |href=#description-view-tab |datatoggle=tab |class=btn btn-default |buttontext=Back }}
 
<wsfield type="submit" class="btn btn-primary" value="Save" /></div>
 
</wsform>
 
</div>
 
</div><!-- end .tab-content
 
 
 
##################################
 
###      Right column        ###
 
##################################
 
--></div>
 
<!-- <div class="col-md-4 noprint">
 
{{Infocard
 
|Title=Article
 
|Viewtab content={{Item responsive |Cols=4-8
 
|1=Title
 
|2={{{Title|}}}
 
}}
 
 
 
|Formtab content={{Article form
 
|Page={{FULLPAGENAME}}
 
|Title={{{Title|}}}
 
|Belongs to portal={{{Belongs to portal|}}}
 
|Description={{{Description|}}}
 
|Archived={{{Archived|}}}
 
}}
 
|Viewtab id=view-tab
 
|Formtab id=form-tab
 
}}
 
</div> --></div><!-- end of .col-md-4 and .row
 
  
 
--></includeonly>
 
--></includeonly>

Versie van 29 okt 2020 19:35


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

{{Article
|Title=
|Belongs to portal=
|Archived= < Optional: Yes > 
}}