Testpage3: verschil tussen versies
Uit Auditpedia
Regel 1: | Regel 1: | ||
− | {{Person | + | <noinclude>{{Managed |
− | | | + | |Version=1.2 |
+ | |Version notes=1.2 - Added an extra query with offset 500, because it wasn't showing all persons (increasing limit to above 500 doesn't work) | ||
+ | 1.1 - Changed card to standard version (T3138) | ||
+ | 1.0.1 - Removed working days for additional information | ||
+ | 1.0 - First managed version | ||
+ | |Short description=Overzicht van persons, met formulier voor nieuwe toevoegen | ||
+ | |Feature= | ||
+ | |Status=Live | ||
+ | |Uses managed items=}} | ||
+ | |||
+ | This is the '''Person overzicht''' template. It should be called in the following format: | ||
+ | |||
+ | <pre> | ||
+ | {{Person overzicht}} | ||
+ | </pre> | ||
+ | |||
+ | </noinclude><includeonly>{{Page title | ||
+ | |Title=Persons | ||
+ | |Formlink={{#widget:Button link | ||
+ | |class=btn btn-default | ||
+ | |href=#Person-form | ||
+ | |style=text-decoration: none | ||
+ | |datatoggle=collapse | ||
+ | |buttontext={{Fa|plus}} Nieuwe person | ||
+ | }} | ||
}} | }} | ||
+ | <div class="row"> | ||
+ | <div class="col-md-4 col-md-push-8"> | ||
+ | |||
+ | |||
+ | |||
+ | <div id="Person-form" class="collapse infocard"> | ||
+ | <div class="infocard__heading">Nieuwe person toevoegen</div> | ||
+ | {{Hr}} | ||
+ | {{Person form | ||
+ | |Type=New | ||
+ | }} | ||
+ | </div> | ||
+ | |||
+ | </div> | ||
+ | <!-- end of .collapse, .col-md-4, .row | ||
+ | |||
+ | -->{{#Widget:Processes searchbar}} | ||
+ | {| class="table table-sm" id="table-person" | ||
+ | {{#ask: [[Class::Person]] | ||
+ | |Page | ||
+ | |format=template | ||
+ | |template=Person list | ||
+ | |searchlabel={{Fa|angle-double-right}} {{int:ws-next}} | ||
+ | |limit=500 | ||
+ | |named args=No | ||
+ | |searchlabel= | ||
+ | }} | ||
+ | {{#ask: [[Class::Person]] | ||
+ | |Page | ||
+ | |format=template | ||
+ | |template=Person list | ||
+ | |searchlabel={{Fa|angle-double-right}} {{int:ws-next}} | ||
+ | |limit=500 | ||
+ | |offset=500 | ||
+ | |named args=No | ||
+ | |searchlabel= | ||
+ | }} | ||
+ | |} | ||
+ | |||
+ | {{#widget:Filter table | ||
+ | |inputid=input-processes | ||
+ | |tableid=table-person | ||
+ | }} | ||
+ | </div> | ||
+ | </div> | ||
+ | </includeonly> |
Versie van 5 jan 2021 15:30
This is the Person overzicht template. It should be called in the following format:
{{Person overzicht}}