Knowledge (XXG)

Template:Sidebar with collapsible lists

Source 📝

23: 92: 54: 116: 1048: 1033: 1021: 38: 1060: 1017: 34: 300: 42: 1043: 70: 1028: 66: 654:
are idiomatic) to make the sidebar list titles centered. This works around some not-great behavior in how centered text interacts with the collapsible toggle.
293: 78: 1056: 1011: 30: 975: 1003: 964: 632: 1081: 1076: 1086: 953: 879: 853: 74: 133: 486:<!-- Template:Sidebar's "headingN" and/or "contentN" parameters (where --> 994: 584:
A class can be added to target a specific list either with TemplateStyles or microformats. See
1007: 986: 828: 819: 717: 705: 699: 585: 533: 524: 158: 122: 165: 129: 1070: 591:
In the context of TemplateStyles, specific list contents can be targeted like so:
498:<!-- N is a number) may be used to include uncollapsible lists/content --> 824:
These parameters are deprecated for the same reason as the style parameters in
61: 17: 65:
and changes may be widely noticed. Test changes in the template's
110: 86: 48: 628:
is shown expanded when the template is first displayed; see
716:
The classes available for styling, besides those listed in
1037: 944: 101:
display in the mobile view of Knowledge (XXG); it is
789:. Every list title will have this class. Use the 997:, for help in using unbulleted lists in fields. 620:is used to indicate which (if any) list named 593:.templateclass .listnclass .sidebar-list-title 222:{{{list2title}}} 210:{{{list1title}}} 820:Template:Sidebar § Deprecated parameters 294: 8: 203:{{{heading1}}} 183:{{{pretitle}}} 105:. Read the documentation for an explanation. 1012:Template:Sidebar with collapsible lists/doc 849:These are the equivalent of, respectively, 700:Template:Sidebar § Handling long links 552:The displayed title of the collapsible list 1027:Editors can experiment in this template's 809:. Every list content will have this class. 793:to center text instead of adding CSS here. 657: 301: 287: 179: 15: 278:{{{below}}} 225:{{{list2}}} 213:{{{list1}}} 198:{{{above}}} 193:{{{image}}} 188:{{{title}}} 597:.templateclass .listnclass .sidebar-list 313:Parameters with infrequent use omitted. 231: 202: 187: 802: 790: 782: 756: 748: 683: 675: 651: 647: 641: 621: 617: 608: 602: 575: 559: 543: 747:The class is a container when either 690:displays the default title ("List"). 77:. Consider discussing changes on the 7: 706:Template:Sidebar#Handling long links 666:{{{list1}}} without {{{list1title}}} 568:The contents of the collapsible list 652:|centered list titles=yes 525:Template:Sidebar § Parameters 14: 648:|centered list titles=y 114: 90: 52: 21: 791:|centered list titles= 718:Template:Sidebar#TemplateStyles 642:|centered list titles= 168:lists in addition to Sidebar's 62:approximately 97,000 pages 976:Navbox with collapsible groups 768:sidebar with collapsible lists 734:sidebar with collapsible lists 595:for a specific list title and 321:Sidebar with collapsible lists 149:Sidebar with collapsible lists 1: 801:The class associated with a 781:The class associated with a 1103: 1001: 817: 697: 522: 1061:Subpages of this template 875:Sets the framestyle (see 539:parameters. In addition: 81:before implementing them. 73:subpages, or in your own 60:This template is used on 965:Collapsible lists option 909:Sets the titlestyle for 893:Sets the framestyle for 646:Set to anything (though 633:Collapsible lists option 586:Template:Sidebar#Classes 529:This template takes all 315: 925:Sets the liststyle for 1055:Add categories to the 995:Knowledge (XXG):UBLIST 26:Template documentation 1082:Sidebar metatemplates 818:Further information: 814:Deprecated parameters 797:.sidebar-list-content 698:Further information: 523:Further information: 501:<!-- ...... --> 474:<!-- ...... --> 945:Last pre-Lua version 599:for a specific list. 121:This template uses 1077:Lua-based templates 777:.sidebar-list-title 694:Handling long links 618:|expanded= 603:|expanded= 97:This template does 1087:Collapse templates 104: 725:.sidebar-collapse 672: 671: 311: 310: 143: 142: 109: 108: 102: 85: 84: 16: 1094: 1052: 1041: 1025: 991: 985: 980: 974: 969: 963: 958: 954:Collapsible list 952: 947: 885:) for the lists. 884: 880:Collapsible list 878: 858: 854:Collapsible list 852: 843: 833: 827: 808: 798: 792: 788: 778: 772: 766: 762: 754: 744: 738: 732: 726: 689: 681: 658: 653: 649: 643: 637: 631: 627: 619: 614: 607: 604: 598: 594: 581: 565: 549: 538: 532: 514: 511: 508: 505: 502: 499: 496: 493: 490: 487: 484: 481: 478: 475: 472: 469: 466: 463: 460: 457: 454: 451: 448: 445: 442: 439: 436: 433: 430: 427: 424: 421: 418: 415: 412: 409: 406: 403: 400: 397: 394: 391: 388: 385: 382: 379: 376: 373: 370: 367: 364: 361: 358: 355: 352: 349: 346: 343: 340: 337: 334: 331: 328: 325: 322: 319: 303: 296: 289: 272: 259: 250: 237: 180: 163: 157: 154:is a version of 153: 147: 118: 117: 111: 94: 93: 87: 56: 55: 49: 46: 27: 25: 24: 1102: 1101: 1097: 1096: 1095: 1093: 1092: 1091: 1067: 1066: 1065: 1064: 1054: 1046: 1031: 1026: 1015: 1000: 989: 983: 978: 972: 967: 961: 956: 950: 943: 940: 905:listNtitlestyle 889:listNframestyle 882: 876: 856: 850: 841: 831: 825: 822: 816: 806: 796: 786: 776: 770: 764: 763:is provided in 760: 752: 742: 736: 730: 724: 714: 702: 696: 687: 679: 668: 667: 664: 635: 629: 625: 612: 605: 596: 592: 579: 571: 563: 555: 547: 536: 530: 527: 521: 516: 515: 512: 509: 506: 503: 500: 497: 494: 491: 488: 485: 482: 479: 476: 473: 470: 467: 464: 461: 458: 455: 452: 449: 446: 443: 440: 437: 434: 431: 428: 425: 422: 419: 416: 413: 410: 407: 404: 401: 398: 395: 392: 389: 386: 383: 380: 378:templatestyles 377: 374: 371: 368: 365: 362: 359: 356: 353: 350: 347: 344: 341: 338: 335: 332: 329: 326: 323: 320: 317: 307: 268: 262: 261: 255: 252: 246: 233: 227: 226: 223: 215: 214: 211: 178: 161: 155: 151: 145: 139: 115: 91: 53: 47: 28: 22: 20: 12: 11: 5: 1100: 1098: 1090: 1089: 1084: 1079: 1069: 1068: 999: 998: 992: 981: 970: 959: 948: 939: 936: 935: 934: 923: 918: 915:listtitlestyle 907: 902: 899:listframestyle 891: 886: 873: 871:listframestyle 868: 847: 839:listtitlestyle 815: 812: 811: 810: 804: 799: 794: 784: 779: 774: 758: 750: 745: 740: 729:The top-level 727: 713: 712:TemplateStyles 710: 695: 692: 685: 677: 670: 669: 665: 662: 661: 656: 655: 644: 639: 623: 615: 610: 600: 589: 582: 577: 573: 569: 566: 561: 557: 553: 550: 545: 520: 517: 316: 309: 308: 306: 305: 298: 291: 283: 280: 279: 275: 274: 264: 263: 253: 244: 243: 240: 239: 229: 228: 224: 221: 220: 217: 216: 212: 209: 208: 205: 204: 200: 199: 195: 194: 190: 189: 185: 184: 177: 174: 141: 140: 138: 137: 130:Module:Sidebar 126: 119: 107: 106: 95: 83: 82: 57: 19: 18: 13: 10: 9: 6: 4: 3: 2: 1099: 1088: 1085: 1083: 1080: 1078: 1075: 1074: 1072: 1062: 1058: 1050: 1045: 1039: 1035: 1030: 1023: 1019: 1013: 1009: 1005: 1004:documentation 996: 993: 988: 982: 977: 971: 966: 960: 955: 949: 946: 942: 941: 937: 932: 929:, overriding 928: 924: 922: 919: 916: 913:, overriding 912: 908: 906: 903: 900: 897:, overriding 896: 892: 890: 887: 881: 874: 872: 869: 866: 862: 855: 848: 846: 840: 837: 836: 835: 830: 821: 813: 800: 795: 780: 775: 769: 746: 743:.sidebar-list 741: 735: 728: 723: 722: 721: 719: 711: 709: 707: 701: 693: 691: 660: 659: 645: 640: 634: 616: 601: 590: 587: 583: 574: 567: 558: 551: 542: 541: 540: 535: 526: 518: 314: 304: 299: 297: 292: 290: 285: 284: 282: 281: 277: 276: 271: 266: 265: 258: 249: 242: 241: 236: 230: 219: 218: 207: 206: 201: 197: 196: 192: 191: 186: 182: 181: 175: 173: 171: 167: 164:which offers 160: 150: 135: 131: 128: 127: 124: 120: 113: 112: 100: 96: 89: 88: 80: 76: 72: 68: 64: 63: 58: 51: 50: 44: 40: 36: 32: 990:}} 984:{{ 979:}} 973:{{ 968:}} 962:{{ 957:}} 951:{{ 930: 926: 920: 914: 910: 904: 898: 894: 888: 883:}} 877:{{ 870: 864: 860: 857:}} 851:{{ 844: 838: 832:}} 826:{{ 823: 771:}} 767: 765:{{ 737:}} 733: 731:{{ 715: 703: 673: 636:}} 630:{{ 537:}} 531:{{ 528: 312: 286: 269: 256: 247: 234: 172:parameters. 169: 162:}} 156:{{ 152:}} 148: 146:{{ 144: 103:desktop only 98: 75:user subpage 59: 1008:transcluded 867:parameters. 468:list2 459:list2title 450:list2name 441:heading2 432:list1 423:list1title 414:list1name 405:heading1 166:collapsible 41:] [ 37:] [ 33:] [ 1071:Categories 1002:The above 921:listNstyle 861:titlestyle 834:template. 803:|list 787:title= 783:|list 757:|list 753:title= 749:|list 688:title= 684:|list 682:without a 676:|list 622:|list 609:|list 580:class= 576:|list 560:|list 548:title= 544:|list 519:Parameters 267:{{{content 232:{{{heading 71:/testcases 1059:subpage. 1044:testcases 931:liststyle 865:liststyle 845:liststyle 626:name= 613:name= 492:contentN 480:headingN 387:expanded 369:image 360:title 351:pretitle 327:name 79:talk page 938:See also 396:expanded 342:PAGENAME 251:title}}} 67:/sandbox 1036:| 1029:sandbox 1022:history 1020:| 987:Sidebar 829:Sidebar 720:, are: 534:sidebar 254:{{{list 245:{{{list 170:content 159:Sidebar 134:sandbox 39:history 1053:pages. 933:above. 917:above. 739:class. 507:below 1010:from 927:listN 911:listN 895:listN 807:= 761:= 680:= 564:= 336:subst 176:Usage 45:] 43:purge 29:[ 1057:/doc 1049:edit 1042:and 1038:diff 1034:edit 1018:edit 863:and 704:See 663:List 399:|}}} 35:edit 31:view 1006:is 859:'s 842:and 755:or 650:or 606:and 393:{{{ 273:}}} 260:}}} 238:}}} 123:Lua 99:not 69:or 1073:: 1014:. 708:. 674:A 513:}} 345:}} 333:{{ 318:{{ 125:: 1063:. 1051:) 1047:( 1040:) 1032:( 1024:) 1016:( 901:. 805:n 785:n 773:. 759:n 751:n 686:n 678:n 638:. 624:n 611:n 588:. 578:n 572:. 570:n 562:n 556:. 554:n 546:n 510:= 504:| 495:= 489:| 483:= 477:| 471:= 465:| 462:= 456:| 453:= 447:| 444:= 438:| 435:= 429:| 426:= 420:| 417:= 411:| 408:= 402:| 390:= 384:| 381:= 375:| 372:= 366:| 363:= 357:| 354:= 348:| 339:: 330:= 324:| 302:e 295:t 288:v 270:N 257:N 248:N 235:N 136:) 132:(

Index

view
edit
history
purge
approximately 97,000 pages
/sandbox
/testcases
user subpage
talk page
Lua
Module:Sidebar
sandbox
Sidebar with collapsible lists
Sidebar
collapsible
v
t
e
Template:Sidebar § Parameters
sidebar
Template:Sidebar#Classes
Collapsible lists option
Template:Sidebar § Handling long links
Template:Sidebar#Handling long links
Template:Sidebar#TemplateStyles
sidebar with collapsible lists
sidebar with collapsible lists
Template:Sidebar § Deprecated parameters
Sidebar
Collapsible list

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