Sjabloon:Infocard: verschil tussen versies
Uit Auditpedia
Regel 57: | Regel 57: | ||
|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/> | ||
Regel 67: | Regel 67: | ||
<div class="row"> | <div class="row"> | ||
<div class="infocard__heading col-md-9">{{{Title|}}}</div> | <div class="infocard__heading col-md-9">{{{Title|}}}</div> | ||
− | <div class="col-md-3 text-right noprint">{{#widget:Button link |class=btn btn-warning |href=#{{#var:@infocard viewtab id}} |datatoggle=tab |buttontext=cancel }}</div> | + | <div class="col-md-3 text-right noprint">{{#widget:Button link |class=btn btn-warning |href=#{{#var:@infocard viewtab id}} |datatoggle=tab |buttontext={{int: ws-cancel}} }}</div> |
</div> | </div> | ||
<hr/> | <hr/> | ||
{{{Formtab content|}}}<!-- | {{{Formtab content|}}}<!-- | ||
--></div></div></includeonly> | --></div></div></includeonly> |
Versie van 6 jan 2021 14:04
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.