User:Alex 21/script-seriesoverview
User:Alex 21/script-seriesoverview.js is a script that transforms a tabular series overview for television series to the templated version {{Series overview}}.
Installation
To install the script, add:
importScript('User:Alex 21/script-functions.js');
importScript('User:Alex 21/script-seriesoverview.js');
>>> User:Alex 21/script-functions.js is required to include multiple shared functions, and the custom "TV Scripts" header, many of which are used identically in a few of my other scripts - you only need to include it in Special:MyPage/common.js once. Follow the instructions at User:Alex 21/script-functions for installing scripts by Alex 21. <<<
There will be a "Series overview" link in the toolbox on the left on every article. This script assumes that the first table on an television series' episodes page is the series overview (excluding warning messages and infoboxes) - if it is not, and another table appears before the overview, then manually add the attribute id="seriesoverview" to the series overview table via the Inspect Element feature of your browser. This will override the first-table assumption.
Click the "Series overview" link to convert the tabular overview to the template, which will be saved in your clipboard - you will be directed to the edit page. Once in edit mode, pasted the copied series overview where it belongs, manually replacing references as you do so. Save the page.
September 2016 update
This mass update in September 2016 provided support for the newer features of the {{Series overview}} template, including custom link text for all seasons, split seasons, special rows (the previous two now implemented in the maint template itself, rather than sub-templates), excluding to-be-announced info cells, proper support and html-to-wikitext linking for the network column, auxiliary columns, released series (for seasons both released in their entirety and not), twenty-six info cells rather than five, and end dates identical to their start dates. The mass update also included a lot of code cleanup, optimization though functions, adding in the proper page link, and insertion of reminders to re-insert references not included in the table-to-template conversion
Bugs
Please report any bugs on the talk page of the script's creator.
See also
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.