Knowledge (XXG)

Template:TOC hidden

Source 📝

34: 65: 83:
This template is for page __TOC__ (Table Of Contents) code to go into a collapsible box that has / functionality with the default being that the box is collapsed (and the TOC hidden) thereby allowing for a single click on the area for display. This provides editors an option to better view pages
84:
with long TOCs so that the lead isn't by default occupied with a large amount of dead blank space. Place the template in the location where the TOC is to be displayed. Note that Show Preview will show the TOC; the page must first be saved before the TOC will be hidden.
229: 180: 49: 213: 176: 45: 139:
skin forces the table of contents into a sidebar or a pop-up menu, this template does not control the placement of the TOC in that skin.
162: 53: 136: 111:
The necessity of this template is often disputed, so apply it with consideration. A suggested alternative is:
71: 209: 170: 41: 151: 116: 124: 166: 223: 80:
This template can't be used in articles, it will not function when placed in one.
28: 123:. Another alternative, for no table of contents at all, is the 59: 201: 193: 189: 186:Editors can experiment in this template's sandbox 74:skin. Read the documentation for an explanation. 8: 70:This template does not work properly in the 230:Knowledge (XXG) table of contents templates 15: 7: 14: 92:Place the following on the page: 63: 32: 1: 246: 160: 214:Subpages of this template 171:Template:TOC hidden/doc 208:Add categories to the 37:Template documentation 78: 77: 27: 26: 237: 205: 197: 184: 156: 150: 122: 121: 115: 103: 102: 96: 67: 66: 60: 57: 38: 36: 35: 16: 245: 244: 240: 239: 238: 236: 235: 234: 220: 219: 218: 217: 207: 199: 187: 185: 174: 159: 154: 148: 145: 133: 119: 113: 112: 109: 100: 94: 93: 90: 64: 58: 39: 33: 31: 12: 11: 5: 243: 241: 233: 232: 222: 221: 198:and testcases 158: 157: 144: 141: 132: 129: 108: 105: 89: 86: 76: 75: 68: 30: 29: 25: 24: 21: 20: 13: 10: 9: 6: 4: 3: 2: 242: 231: 228: 227: 225: 215: 211: 203: 195: 191: 182: 178: 172: 168: 164: 163:documentation 153: 147: 146: 142: 140: 138: 130: 128: 126: 118: 106: 104: 99: 87: 85: 81: 73: 69: 62: 61: 55: 51: 47: 43: 23: 22: 18: 17: 155:}} 149:{{ 134: 120:}} 114:{{ 110: 107:Alternatives 101:}} 97: 95:{{ 91: 82: 79: 167:transcluded 137:Vector 2022 131:Limitations 127:__NOTOC__. 72:Vector 2022 52:] [ 48:] [ 44:] [ 161:The above 135:Since the 125:magic word 98:TOC hidden 212:subpage. 152:TOC limit 117:TOC limit 19:Contents 224:Category 143:See also 192:| 181:history 179:| 50:history 206:pages. 202:create 194:mirror 190:create 169:from 88:Usage 56:] 54:purge 40:[ 210:/doc 177:edit 46:edit 42:view 165:is 226:: 173:. 216:. 204:) 200:( 196:) 188:( 183:) 175:(

Index

view
edit
history
purge
Vector 2022
TOC hidden
TOC limit
magic word
Vector 2022
TOC limit
documentation
transcluded
Template:TOC hidden/doc
edit
history
create
mirror
create
/doc
Subpages of this template
Category
Knowledge (XXG) table of contents templates

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