|
|
| (15 intermediate revisions by the same user not shown) |
| Line 1: |
Line 1: |
| | {{Seitenkopf|Bibliography Backbone}} |
| <html> | | <html> |
| <script> | | <p> |
| $(document).ready(function() {
| | <button id="generateCatalogHTML">Create Raw HTML</button> |
| $('#DPL').DataTable({
| | </p> |
| // Anzahl der Einträge pro Seite, z.B. 10
| | |
| pageLength: 10,
| | <textarea id="outputHTML" style="width:100%; height:600px; font-family:monospace;"></textarea> |
| // Info-Zeile anpassen
| | |
| infoCallback: function(settings, start, end, max, total, pre) {
| | <div id="status" style="margin-top:10px;"></div> |
| var pageNum = Math.floor(start / settings._iDisplayLength) + 1;
| |
| var pageTotal = Math.ceil(total / settings._iDisplayLength);
| |
| // 'total' ist die Anzahl der nach Filterung sichtbaren Einträge
| |
| return 'Page ' + pageNum + ' of ' + pageTotal + ' (out of ' + total + ' total entries)';
| |
| }
| |
| });
| |
| });
| |
| </script> | |
| </html> | | </html> |
| {{#dpl:
| |
| |category = Media Pages
| |
| |include = {MediaInfo}:[[%TITLE%]]:publication:year:illustrator:chapter:illustration:title:tags
| |
| |table = class="wikitable datatable hover" id="DPL"
| |
| data-layout='{"top1Start":"searchBuilder"}'
| |
| data-language='<nowiki>{"searchPlaceholder":" Quick Search", "search":"", "searchBuilder":{"add":"Add Search Condition"}}</nowiki>'
| |
| data-page-length="50",-, , Publication, Year, Illustrator, Chapter, Illustration, Title, Tags
| |
| |tablerow=style="width:5%;"¦%%, %%, style="width:5%;"¦%%, %%, style="width:5%;"¦%%, style="width:5%;"¦%%, class="type" style="width:5%;"¦%%,
| |
| style="width:5%;"¦%%, style="width:5%;"¦%%
| |
| |ordermethod = title
| |
| |order=ascending
| |
| }}
| |