This is the "Generate sidebar template code" template. It should be called in the following format:

{{Generate sidebar template code
|Class= (text) class for which a "Class definition" page exists
|Has version history= (optional: true) if true, then {{Show version history}} will be added to generated sidebar template code
}}

Test

Ergens in uw zoekopdracht was "" niet afgesloten door een bijbehorende "".Ergens in uw zoekopdracht was "" niet afgesloten door een bijbehorende "".

<noinclude>

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

<pre>
{{}}
</pre>

</noinclude><includeonly><!--

-->{{#vardefine:@allow sidebar edit |{{#ifingroup:user |{{#if:{{#urlget:veaction}}{{#urlget:action}}||yes}} }} }}<!--

--><div class="tab-content"><!--
-->{{#tag:_input||type=radio|id=sidebar-view|name=toggle-sidebar|checked=checked|class=d-none sidebar-view}}<!--
--><div class="card sidebar-view-tab">
<div class="card-header">{{#ifeq:{{#var:@allow sidebar edit}} |yes |<span style="float:right">{{#tag:label|Edit|for=sidebar-edit|class=btn btn-secondary}}</span>}}
<b class="d-block">{{#caprint:$base[Base properties][Class]}}</b>
{{#caprint:$base[Base properties][Title]}}
</div><!-- end of .card-header -->
<div class="card-body">

</div><!-- end of .card-body -->
</div><!-- end of .card 

-->{{#ifeq:{{#var:@allow sidebar edit}} |yes |<!--
-->{{#tag:_input||type=radio|id=sidebar-edit|name=toggle-sidebar|class=d-none sidebar-edit}}<!--
--><div class="card sidebar-edit-tab"><!--
--><form action="addToWiki"><!--

// _edits for base properties
--><!--

// _create or _edits for page properties
// use casize to check if the slot already exists. Then _edit, else _create.
-->{{#if:{{#casize:$class}}
|
|<_create mwwrite="{{FULLPAGENAME}}" mwtemplate="" mwslot="ws-class-props" mwfields="" />
}}<!-- end of #if  -->

<div class="card-header"><span style="float:right">{{#tag:label|Close|for=sidebar-view|class=btn btn-secondary}}</span>
<b class="d-block">{{#caprint:$base[Base properties][Class]}}</b>
{{#caprint:$base[Base properties][Title]}}
</div><!-- end of .card-header -->
<div class="card-body">


<div class="text-right">
{{#tag:label|Close|for=sidebar-view|class=btn btn-secondary}}
<input type="submit" value="Save" class="btn btn-primary" />
</div>
</div><!-- end of .card-body -->
</form>
</div><!-- end of .card -->
|}}<!-- end of #ifeq @allow sidebar edit == yes -->
</div><!-- end of .tab-content 

--></includeonly>