Sjabloon:Infocard: verschil tussen versies
Uit Auditpedia
Regel 1: | Regel 1: | ||
<noinclude>{{Managed | <noinclude>{{Managed | ||
− | |Version=1. | + | |Version=1.1 |
− | |Version notes=1.0 - First managed version | + | |Version notes=1.1 - Replaced "in" class with system message (T3954) |
+ | 1.0 - First managed version | ||
|Short description=Template for standardizing cards with info tab and edit tab | |Short description=Template for standardizing cards with info tab and edit tab | ||
|Feature=Wiki:Feature/1530870851 | |Feature=Wiki:Feature/1530870851 | ||
Regel 50: | Regel 51: | ||
--><div class="tab-content infocard"> | --><div class="tab-content infocard"> | ||
− | <div id="{{#var:@infocard viewtab id}}" class=""> | + | <div id="{{#var:@infocard viewtab id}}" class="tab-pane fade {{int:bs-in}} active"> |
<div class="row"> | <div class="row"> | ||
<div class="infocard__heading col-md-8">{{{Title|}}}</div> | <div class="infocard__heading col-md-8">{{{Title|}}}</div> | ||
Regel 57: | Regel 58: | ||
|href=#{{#var:@infocard formtab id}} | |href=#{{#var:@infocard formtab id}} | ||
|datatoggle=tab | |datatoggle=tab | ||
− | |buttontext=edit | + | |buttontext={{int:ws-edit}} |
}}</div> | }}</div> | ||
</div><!-- end of .row for heading --><hr/> | </div><!-- end of .row for heading --><hr/> |
Versie van 4 nov 2020 15:49
This is the Infocard template. It should be called in the following format:
{{Infocard |Title= |Viewtab content= |Formtab content= |Viewtab id= optional, default id "view-tab-nr", where nr is from {{Autoincrement|@infocard-view-nr}} |Formtab id= optional, default id "form-tab-nr", where nr is from {{Autoincrement|@infocard-form-nr}} }}
Example
Example title
Please log in first.