Knowledge (XXG)

Template:Namespace and pagename-detecting templates

Source 📝

474: 598: 489: 631: 594: 485: 37: 493: 30: 627: 588: 481: 652: 647: 657: 580: 160: 567: 387: 170: 457: 399: 375: 220: 200: 177: 155: 129: 292: 165: 134: 339: 304: 139: 114: 77: 280: 268: 256: 124: 447: 442: 191: 52: 109: 104: 82: 351: 327: 119: 99: 92: 87: 72: 67: 411: 566:
will show the template autocollapsed, i.e. if there is another collapsible item on the page (a
584: 423: 15: 244: 571: 452: 363: 641: 514: 393:
Displays different content to extended confirmed and non-extended confirmed users.
232: 468: 574:), it is hidden apart from its title bar, but if not, it is fully visible. 381:
Displays different content to autoconfirmed and non-autoconfirmed users.
250:
Returns IP-user talkpage, registered-user talkpage or non-user talkpage.
542:
will show the template collapsed, i.e. hidden apart from its title bar.
429:
Detects whether page is viewed with a JavaScript-capable client or not.
19: 417:
Displays different content to mobile users and desktop users.
333:
Detects whether it is on a page with a stub template or not.
369:
Displays different content to IP users and logged-in users.
238:
Can take apart and put together pagenames in several ways.
206:
Detects and acts according to whether it is on a basepage
619: 611: 607: 589:
Template:Namespace and pagename-detecting templates/doc
545: 521: 422: 410: 398: 386: 374: 362: 357:
Detects whether page is viewed as a preview or not.
350: 338: 326: 319: 303: 291: 279: 274:
Pagename has an after-slash part (not in mainspace)
267: 255: 243: 231: 219: 199: 190: 148: 60: 51: 604:Editors can experiment in this template's sandbox 510:To change this template's initial visibility, the 310:Page is rootpage (vs. /subpage) (template space) 31: 8: 345:Detects whether it is on a redirect or not. 298:Page is subpage /testcases (template space) 550:Namespace and pagename-detecting templates 526:Namespace and pagename-detecting templates 323: 196: 57: 46:Namespace and pagename-detecting templates 38: 24: 16: 502:initial visibility currently defaults to 286:Page is subpage /sandbox (template space) 511: 226:For pattern matching on the pagename. 7: 572:table with the collapsible attribute 507:, meaning that it is fully visible. 14: 653:Documentation see also templates 648:Namespace manipulation templates 472: 405:Displays content only to admins. 1: 658:Template namespace templates 262:For detecting IP-user pages. 210:on any subpage (that is, a 674: 578: 632:Subpages of this template 448:Knowledge (XXG):Page name 443:Knowledge (XXG):Namespace 438: 161:Namespace detect showall 626:Add categories to the 477:Template documentation 388:If extended confirmed 171:Main talk other flex 466: 465: 434: 433: 315: 314: 186: 185: 665: 623: 615: 602: 565: 564: 560: 557: 554: 551: 548: 541: 540: 536: 533: 530: 527: 524: 513: 512:|state= 505: 500:This template's 497: 478: 476: 475: 400:If administrator 376:If autoconfirmed 324: 221:When pagename is 213: 201:When on basepage 197: 178:Talkspace detect 156:Namespace detect 130:Single namespace 58: 40: 33: 26: 17: 673: 672: 668: 667: 666: 664: 663: 662: 638: 637: 636: 635: 625: 617: 605: 603: 592: 577: 568:navbox, sidebar 562: 558: 555: 552: 549: 546: 538: 534: 531: 528: 525: 522: 503: 498: 479: 473: 471: 467: 462: 458:ParserFunctions 430: 418: 406: 394: 382: 370: 358: 346: 334: 311: 299: 293:Testcases other 287: 275: 263: 251: 239: 227: 215: 211: 182: 166:Main talk other 144: 135:If talkspace of 47: 44: 12: 11: 5: 671: 669: 661: 660: 655: 650: 640: 639: 616:and testcases 576: 575: 543: 470: 469: 464: 463: 461: 460: 455: 450: 445: 439: 436: 435: 432: 431: 428: 426: 420: 419: 416: 414: 408: 407: 404: 402: 396: 395: 392: 390: 384: 383: 380: 378: 372: 371: 368: 366: 360: 359: 356: 354: 348: 347: 344: 342: 340:Redirect other 336: 335: 332: 330: 321: 317: 316: 313: 312: 309: 307: 305:Rootpage other 301: 300: 297: 295: 289: 288: 285: 283: 277: 276: 273: 271: 265: 264: 261: 259: 253: 252: 249: 247: 241: 240: 237: 235: 229: 228: 225: 223: 217: 216: 205: 203: 194: 188: 187: 184: 183: 181: 180: 175: 174: 173: 163: 158: 152: 150: 146: 145: 143: 142: 140:If usertalk of 137: 132: 127: 122: 117: 115:Template other 112: 107: 102: 97: 96: 95: 85: 80: 78:Category other 75: 70: 64: 62: 55: 49: 48: 45: 43: 42: 35: 28: 20: 13: 10: 9: 6: 4: 3: 2: 670: 659: 656: 654: 651: 649: 646: 645: 643: 633: 629: 621: 613: 609: 600: 596: 590: 586: 582: 581:documentation 573: 569: 544: 520: 519: 518: 517:may be used: 516: 508: 506: 495: 491: 487: 483: 459: 456: 454: 451: 449: 446: 444: 441: 440: 437: 427: 425: 421: 415: 413: 409: 403: 401: 397: 391: 389: 385: 379: 377: 373: 367: 365: 361: 355: 353: 349: 343: 341: 337: 331: 329: 325: 322: 318: 308: 306: 302: 296: 294: 290: 284: 282: 281:Sandbox other 278: 272: 270: 269:Subpage other 266: 260: 258: 257:IP-user other 254: 248: 246: 242: 236: 234: 230: 224: 222: 218: 209: 204: 202: 198: 195: 193: 189: 179: 176: 172: 169: 168: 167: 164: 162: 159: 157: 154: 153: 151: 147: 141: 138: 136: 133: 131: 128: 126: 125:Project other 123: 121: 118: 116: 113: 111: 108: 106: 103: 101: 98: 94: 91: 90: 89: 86: 84: 81: 79: 76: 74: 71: 69: 66: 65: 63: 59: 56: 54: 50: 41: 36: 34: 29: 27: 22: 21: 18: 561:autocollapse 509: 501: 499: 207: 149:More generic 110:Portal other 105:Module other 23: 585:transcluded 492:] [ 488:] [ 484:] [ 453:Magic words 233:Module:Page 83:Draft other 642:Categories 579:The above 352:If preview 328:Stub other 120:User other 100:Help other 93:Is Commons 88:File other 73:Talk other 68:Main other 61:Particular 630:subpage. 537:collapsed 515:parameter 412:If mobile 214:subpage). 53:Namespace 504:expanded 424:Noscript 192:Pagename 610:| 599:history 597:| 490:history 245:IP-talk 624:pages. 620:create 612:mirror 608:create 320:Others 587:from 570:, or 556:state 532:state 496:] 494:purge 480:[ 364:If IP 212:../.. 628:/doc 595:edit 486:edit 482:view 583:is 644:: 591:. 563:}} 547:{{ 539:}} 523:{{ 208:or 634:. 622:) 618:( 614:) 606:( 601:) 593:( 559:= 553:| 535:= 529:| 39:e 32:t 25:v

Index

v
t
e
Namespace
Main other
Talk other
Category other
Draft other
File other
Is Commons
Help other
Module other
Portal other
Template other
User other
Project other
Single namespace
If talkspace of
If usertalk of
Namespace detect
Namespace detect showall
Main talk other
Main talk other flex
Talkspace detect
Pagename
When on basepage
When pagename is
Module:Page
IP-talk
IP-user other

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