Knowledge

User:Alex 21/script-episodetable

Source 📝

117:
To calculate the optimum widths for tables that already have preset widths (as opposed to tables that do not include set widths), hold down your computer's "control" key when pressing the "Episode table" link in the left hand side toolbox. This resets the widths of the table columns to be unset, and
105:
Click the "Episode table" 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 episode table header over the raw code, making sure that you replace the original table's ending
98:. It also adds suggested widths into the templated code, based on averages of widths automatically calculated by HTML; these widths are also dynamically edited into the existing tables so that you can view how the widths will set before you implement the edits. ( 87:
There will be a "Episode table" link in the toolbox on the left on every article. This script gathers all of the episode tables on the page by specifically searching for episode lists and retrieving the table from that, and converting to
102:: There may be inaccurate estimations of the widths if tables for specials are also included that do not conform to the season tables. To fix this, edit the Episodes section, click Preview, and use the script then.) 40: 70:
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
39:, including suggested widths in the template code, based on averages of widths automatically calculated by HTML. This allows for proper tracking of accessibility issues through 114:
to close the template, manually replacing references as you do so (the template automatically gives the parameters for the references). Save the page.
26: 67: 80: 29:
is a script that transforms a raw-code episode table header for television series to the templated version
150: 54:
importScript('User:Alex 21/script-functions.js'); importScript('User:Alex 21/script-episodetable.js');
71: 58: 92: 33: 135: 8: 41:
Category:Articles using Template:Episode table with invalid colour combination
144: 17: 126:
Please report any bugs on the talk page of the script's creator.
118:
calculates the optimum widths from the unset-width columns.
142: 83:for installing scripts by Alex 21. <<< 14: 143: 27:User:Alex 21/script-episodetable.js 23: 24: 162: 68:User:Alex 21/script-functions.js 46: 13: 1: 81:User:Alex 21/script-functions 51:To install the script, add: 7: 129: 79:Follow the instructions at 10: 167: 72:Special:MyPage/common.js 59:Special:MyPage/common.js 121: 136:User:Alex 21/Scripts 151:Knowledge scripts 158: 113: 109: 97: 91: 38: 32: 166: 165: 161: 160: 159: 157: 156: 155: 141: 140: 132: 124: 111: 107: 95: 89: 55: 49: 36: 30: 22: 21: 20: 12: 11: 5: 164: 154: 153: 139: 138: 131: 128: 123: 120: 53: 48: 45: 15: 9: 6: 4: 3: 2: 163: 152: 149: 148: 146: 137: 134: 133: 127: 119: 115: 103: 101: 94: 93:Episode table 85: 84: 82: 76: 73: 69: 66: 62: 60: 52: 44: 42: 35: 34:Episode table 28: 19: 125: 116: 104: 99: 96:}} 90:{{ 86: 78: 74: 65:>>> 64: 63: 56: 50: 47:Installation 37:}} 31:{{ 25: 18:User:Alex 21 145:Category 130:See also 110:with 16:< 122:Bugs 100:Note 75:once 57:to 147:: 112:}} 108:|} 77:. 61:. 43:.

Index

User:Alex 21
User:Alex 21/script-episodetable.js
Episode table
Category:Articles using Template:Episode table with invalid colour combination
Special:MyPage/common.js
User:Alex 21/script-functions.js
Special:MyPage/common.js
User:Alex 21/script-functions
Episode table
User:Alex 21/Scripts
Category
Knowledge scripts

Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.