|
|
| (14 intermediate revisions by the same user not shown) |
| Line 1: |
Line 1: |
| {{#dpl: | | {{Seitenkopf|Bibliography Backbone}} |
| |category = Media Pages
| | <html> |
| |include = {MediaInfo}:[[%TITLE%]]:publication:year:illustrator:chapter:illustration:title:tags | | <p> |
| |table = class="wikitable datatable hover" id="DPL"
| | <button id="generateCatalogHTML">Create Raw HTML</button> |
| data-layout='{"top1Start":"searchBuilder"}'
| | </p> |
| 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
| |
| }}
| |
|
| |
|
| <html> | | <textarea id="outputHTML" style="width:100%; height:600px; font-family:monospace;"></textarea> |
| <script>
| | |
| mw.loader.using(['jquery', 'ext.datatables', 'mediawiki.util'], function () {
| | <div id="status" style="margin-top:10px;"></div> |
| $(document).ready(function() {
| |
| // Prüfen, ob die Tabelle existiert
| |
| var table = $('#DPL');
| |
| if (table.length) {
| |
| table.DataTable({
| |
| pageLength: 50,
| |
| dom: 'Bfrtip', // Buttons, Filter, etc.
| |
| buttons: ['copy', 'csv', 'excel', 'pdf', 'print'],
| |
| scrollX: true // optional, falls viele Spalten
| |
| });
| |
| }
| |
| });
| |
| });
| |
| </script> | |
| </html> | | </html> |