Knowledge

Template:Navigation bar

Source 📝

32: 105: 63: 130:
This template is a navigational template intended to be used to generate a scrollable navigation "bar", rather than a navigation box, in cases where there are a long list of items with a natural ordering (for example, alphabetical or numerical) that as a box would consume a large amount of vertical
300:
item 1 - item 2 - item 3 - item 4 - item 5 - item 6 - item 7 - item 8 - item 9 - item 10 - item 11 - item 12 - item 13 - item 14 - item 15 - item 16 - item 17 - item 18 - item 19 - item 20
272:
item 1 - item 2 - item 3 - item 4 - item 5 - item 6 - item 7 - item 8 - item 9 - item 10 - item 11 - item 12 - item 13 - item 14 - item 15 - item 16 - item 17 - item 18 - item 19 - item 20
21:
long list of items in parameter "List" - item 1 - item 2 - item 3 - item 4 - item 5 - item 6 - item 7 - item 7 - item 8 - item 9 - item 10 - item 11 - item 12 - item 13 - item 14 - item 15 - item 16 - item 17
357: 47: 390: 353: 43: 135: 406: 51: 225:; links may be separated, for instance, by commas, bullets, or pipe symbols. To use pipe symbols (vertical bars) as a separator, 339: 313:
color: The color to use for the title bar. This color parameter defaults to the color shown in the {{{title}}} line above.
91: 70: 83: 386: 347: 120: 39: 79: 233:. If you want to use several lines simply surround each line with div tags (following example only uses one div). 229:
must be used since "|" has meaning within a template invocation. The syntax for displaying a pipe-character is
112: 116: 87: 90:. The tested changes can be added to this page in a single edit. Please discuss changes on the 343: 131:
space in an article. Navigation bars currently do not appear in printed copies of articles.
221:
list: Single line of text (no tables, no expanded templates) with links to related articles
331: 326: 400: 226: 26: 78:
To avoid major disruption, any changes should be tested in the template's
76:
Changes to it can cause immediate changes to the Knowledge user interface.
316:
category: A category all articles using this template will be added to.
99: 57: 134:
When creating a template using this one, please add it to
218:
title: A title for the navigation bar; may include links
378: 370: 366: 363:Editors can experiment in this template's sandbox 8: 136:Category:Templates using navigation bars 7: 111:This template can only be edited by 14: 103: 61: 30: 407:Navigational box metatemplates 138:by adding the following code: 1: 223:with no embedded line breaks 71:MediaWiki:Categoriespagetext 348:Template:Navigation bar/doc 423: 337: 391:Subpages of this template 94:before implementing them. 86:subpages, or in your own 69:This template is used in 236: 162: 140: 385:Add categories to the 35:Template documentation 213:Mandatory arguments 308:Optional arguments 128: 127: 121:cascade-protected 119:onto one or more 98: 97: 414: 382: 374: 361: 285: 282: 279: 276: 271: 268: 265: 262: 259: 256: 252: 249: 246: 243: 240: 232: 208: 205: 202: 199: 196: 193: 190: 187: 184: 181: 178: 175: 172: 169: 166: 153: 150: 147: 144: 107: 106: 100: 65: 64: 58: 55: 36: 34: 33: 422: 421: 417: 416: 415: 413: 412: 411: 397: 396: 395: 394: 384: 376: 364: 362: 351: 336: 332:Template:Hidden 327:Template:Navbox 323: 310: 305: 304: 303: 296: 287: 286: 283: 280: 277: 274: 269: 266: 263: 260: 257: 254: 250: 247: 244: 241: 238: 230: 215: 210: 209: 206: 203: 200: 197: 194: 191: 188: 185: 182: 179: 176: 173: 170: 167: 164: 161: 156: 155: 154:/noinclude> 151: 148: 145: 142: 124: 104: 77: 75: 62: 56: 37: 31: 29: 25: 24: 18: 12: 11: 5: 420: 418: 410: 409: 399: 398: 375:and testcases 335: 334: 329: 322: 319: 318: 317: 314: 309: 306: 298: 297: 294: 293: 292: 291: 290:which produces 242:Navigation bar 237: 235: 234: 219: 214: 211: 168:navigation bar 163: 160: 157: 141: 126: 125: 115:because it is 113:administrators 110: 108: 96: 95: 66: 28: 27: 19: 16: 15: 13: 10: 9: 6: 4: 3: 2: 419: 408: 405: 404: 402: 392: 388: 380: 372: 368: 359: 355: 349: 345: 341: 340:documentation 333: 330: 328: 325: 324: 320: 315: 312: 311: 307: 302: 289: 288: 228: 224: 220: 217: 216: 212: 158: 139: 137: 132: 122: 118: 114: 109: 102: 101: 93: 89: 85: 81: 73: 72: 67: 60: 59: 53: 49: 45: 41: 23: 299: 222: 133: 129: 88:user subpage 68: 20: 344:transcluded 117:transcluded 50:] [ 46:] [ 42:] [ 17:{{{title}}} 338:The above 227:template:! 84:/testcases 389:subpage. 201:category 146:noinclude 92:talk page 401:Category 321:See also 152:&lt; 80:/sandbox 369:| 358:history 356:| 253:Sample 48:history 383:pages. 379:create 371:mirror 367:create 295:Sample 248:title 183:title 174:color 123:pages. 346:from 275:</ 258:list 231:{{!}} 192:list 159:Usage 149:>] 54:] 52:purge 38:[ 387:/doc 354:edit 281:> 270:> 264:< 143:< 44:edit 40:view 342:is 278:div 267:div 82:or 403:: 350:. 284:}} 239:{{ 207:}} 165:{{ 393:. 381:) 377:( 373:) 365:( 360:) 352:( 261:= 255:| 251:= 245:| 204:= 198:| 195:= 189:| 186:= 180:| 177:= 171:| 74:.

Index

view
edit
history
purge
MediaWiki:Categoriespagetext
/sandbox
/testcases
user subpage
talk page
administrators
transcluded
cascade-protected
Category:Templates using navigation bars
template:!
Template:Navbox
Template:Hidden
documentation
transcluded
Template:Navigation bar/doc
edit
history
create
mirror
create
/doc
Subpages of this template
Category
Navigational box metatemplates

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