Knowledge (XXG)

Template:Crossreference/sandbox

Source ๐Ÿ“

70: 101: 202: 168: 36: 578:. This can also be used for cross-references between internal Knowledge (XXG) pages such as guidelines and policies; there is no rationale to suppress the printing-out of links in this case. Note: These parameters are not yet "smart", and do not detect opposite values; that is, 301:
The template does not automatically create links of any kind. Links and other desired formatting (round brackets, terminal punctuation) must be explicitly added, using normal
815:
formats text into a standardized style for an inline (not block-level) "(See also ...)"-type parenthetical Knowledge (XXG) crossreference to other Knowledge (XXG) material.
1001: 986: 974: 85: 89: 1013: 970: 81: 667:
probably only in the case that you want to override this template's non-indentation when it is in block mode (i.e., when you do want it indented the way
773: 956: 643: 290: 215: 996: 117: 56: 42: 798: 679:. This is because TemplateStyles actually load after on-site user styles, so you must override the TemplateStyle with the 185: 522:. This option should not be used on cross-article links, only links within the same article (and the shorthand templates 125: 1029: 1009: 964: 77: 639: 676: 794: 786: 286:. It actually does support a block-level mode, however, for special cases (see parameter documentation below). 724: 660: 802: 766: 740: 517: 229: 46: 17: 302: 266:. When crossreferencing material on the same page, they are not. For block-level crossreferences, see the 121: 790: 592:
will not have the desired effect (and would be redundant anyway, since unprintworthiness is the default).
283: 181: 135: 263: 758: 750: 715: 533: 525: 208: 960: 706: 277: 237: 670: 633: 269: 174: 638:
is that the former is not indented the way the latter is. This de-indentation is done by
626:, so you can use block-level elements inside it, such as a list. The difference between 462:โ€“ The cross-reference text (required). While the explicit naming of this parameter with 411:{{Crossreference|class=class1 class2|selfref=no|inline=no|Blargh: * Foo * Bar * Baz }} 1023: 697: 333: 245: 259: 201: 108: 64: 478:
character in the text will break the template if the parameter is unnamed.
745:โ€“ the meta-template this template uses, and other templates that use it 488:โ€“ Any extra CSS classes to be added. This should not normally be used. 262:
to other Knowledge (XXG) material. When on different pages, these are
474:
is not required, it is always safest to use it this way, since any
675:
works), and you'll be doing this with on-site user style, such as
514:, used to denote unprintworthy self-references to Knowledge (XXG) 112:
and changes may be widely noticed. Test changes in the template's
628:{{Crossreference|inline=no|...}} 293:
for other templates derived from or similar to this template.
196: 162: 95: 30: 691:
The following alternative names redirect to this template:
368:{{Crossreference|selfref=no|(see {{slink|#Parameters}})}} 250:) template formats text into a standardized style for an 990: 153: 144: 50: 825:
This template prefers inline formatting of parameters.
538:
can be used for this purpose). The parameter aliases
763:โ€“ some specific, printworthy "child" templates of 663:to do as you wish with it. You will need to use 447:This template accepts the following parameters: 282:, etc.). The output is ultimately produced by 264:unprintworthy Knowledge (XXG) self-references 8: 812: 805:in articles based on its TemplateData. 980:Editors can experiment in this template's 818: 909: 883: 857: 854: 776:โ€“ docs for all the block-format hatnotes 774:Template:Hatnote templates documentation 655:This template always adds the CSS class 475: 510:, etc.), removes the default CSS class 274:meta-template and its various progeny ( 595: 586: 579: 575: 559: 543: 539: 491: 485: 481: 471: 467: 463: 459: 455: 451: 309:Basic crossreference to another page: 124:. Consider discussing changes on the 7: 799:See a monthly parameter usage report 623: 619: 55:See also the companion subpage for 644:Template:Crossreference/styles.css 352:Basic crossreference on same page: 291:Category:Cross-reference templates 216:Template:Crossreference/styles.css 24: 546:(also with any other value, like 325:{{Crossreference|(See also ].)}} 200: 166: 99: 68: 34: 808:TemplateData for Crossreference 376: 260:Knowledge (XXG) crossreference 109:approximately 3,100 pages 1: 965:Template:Crossreference/doc 515: 374: 331: 26: 1046: 954: 789:for this template used by 574:) have the same effect as 560:|unprintworthy=no 416: 133: 1014:Subpages of this template 831: 677:Special:MyPage/common.css 540:|printworthy=yes 404: 401: 361: 358: 318: 315: 128:before implementing them. 120:subpages, or in your own 107:This template is used on 587:|unprintworthy= 803:Template:Crossreference 618:, etc.), it will use a 518:Template:Self-reference 486:|extraclasses= 47:Template:Crossreference 18:Template:Crossreference 1008:Add categories to the 580:|printworthy= 303:Knowledge (XXG) markup 73:Template documentation 636:|...}} 622:element instead of a 520:for more information) 284:Module:Hatnote inline 258:"-type parenthetical 182:Module:Hatnote inline 576:|selfref=no 492:|selfref=no 173:This template uses 952: 828: 821:Template parameters 254:(not block-level) " 207:This template uses 1030:Template sandboxes 819: 817: 642:, specifically in 472:|content= 460:|content= 951: 950: 844: 813: 797:and other tools. 659:, so you can use 640:WP:TemplateStyles 596:|inline= 440: 439: 392: 391: 377:ยง Parameters 349: 348: 224: 223: 195: 194: 132: 131: 63: 62: 1037: 1005: 994: 978: 934: 911: 908: 885: 882: 859: 856: 853: 845: 829: 826: 770: 762: 754: 744: 728: 719: 710: 701: 682: 674: 666: 658: 637: 629: 625: 621: 617: 613: 609: 605: 601: 597: 591: 590: 584: 583: 577: 573: 569: 565: 561: 557: 553: 549: 545: 544:|pw=yes 541: 537: 529: 521: 513: 509: 505: 501: 497: 493: 487: 483: 482:|class= 473: 469: 465: 461: 457: 453: 405:Renders as 399: 398: 380: 362:Renders as 356: 355: 337: 319:Renders as 313: 312: 281: 273: 249: 241: 233: 204: 197: 170: 169: 163: 156: 147: 103: 102: 96: 93: 74: 72: 71: 43:template sandbox 38: 37: 31: 28: 1045: 1044: 1040: 1039: 1038: 1036: 1035: 1034: 1020: 1019: 1018: 1017: 1007: 999: 984: 979: 968: 953: 932: 906: 880: 851: 824: 811: 783: 764: 756: 748: 738: 735: 725:cross-reference 722: 713: 704: 695: 689: 683:priority flag. 680: 668: 664: 656: 653: 631: 627: 615: 611: 607: 603: 599: 588: 581: 571: 567: 563: 555: 551: 547: 531: 523: 511: 507: 503: 499: 495: 477: 468:|text= 456:|text= 445: 430: 429: 412: 395:All parameters: 382: 369: 339: 326: 299: 275: 267: 243: 235: 227: 220: 191: 167: 161: 160: 152: 143: 138: 100: 94: 75: 69: 67: 54: 35: 22: 21: 20: 12: 11: 5: 1043: 1041: 1033: 1032: 1022: 1021: 949: 948: 945: 942: 941: 938:no description 935: 930: 926: 925: 922: 919: 918: 915:no description 912: 904: 900: 899: 896: 893: 892: 889:no description 886: 878: 874: 873: 870: 867: 866: 863:no description 860: 849: 843: 842: 839: 836: 833: 791:TemplateWizard 784: 782: 779: 778: 777: 771: 767:Crossreference 746: 741:Hatnote inline 734: 731: 730: 729: 720: 711: 702: 688: 685: 661:WP:User styles 657:crossreference 652: 649: 648: 647: 598:โ€“ Defaults to 593: 489: 479: 444: 441: 438: 437: 435: 432: 431: 428: 427: 424: 421: 415: 413: 410: 407: 406: 403: 390: 389: 387: 384: 383: 372: 370: 367: 364: 363: 360: 347: 346: 344: 341: 340: 329: 327: 324: 321: 320: 317: 298: 295: 256:(See also ...) 253: 230:Crossreference 222: 221: 219: 218: 212: 209:TemplateStyles 205: 193: 192: 190: 189: 178: 171: 159: 158: 149: 139: 134: 130: 129: 104: 66: 65: 61: 60: 39: 27:sample content 23: 15: 14: 13: 10: 9: 6: 4: 3: 2: 1042: 1031: 1028: 1027: 1025: 1015: 1011: 1003: 998: 992: 988: 983: 976: 972: 966: 962: 958: 957:documentation 946: 943: 940: 939: 936: 931: 928: 927: 923: 920: 917: 916: 913: 905: 902: 901: 897: 894: 891: 890: 887: 879: 876: 875: 871: 868: 865: 864: 861: 850: 847: 846: 840: 837: 834: 830: 827: 822: 816: 810: 809: 804: 800: 796: 792: 788: 781:Template data 780: 775: 772: 768: 760: 752: 747: 742: 737: 736: 732: 726: 721: 717: 712: 708: 703: 699: 694: 693: 692: 686: 684: 678: 672: 662: 650: 645: 641: 635: 594: 535: 527: 519: 490: 480: 450: 449: 448: 442: 436: 434: 433: 425: 422: 419: 418: 414: 409: 408: 400: 397: 396: 388: 386: 385: 381: 378: 371: 366: 365: 357: 354: 353: 345: 343: 342: 338: 335: 334:Radical Whigs 328: 323: 322: 314: 311: 310: 306: 304: 296: 294: 292: 287: 285: 279: 271: 265: 261: 257: 251: 247: 239: 231: 217: 214: 213: 210: 206: 203: 199: 198: 187: 183: 180: 179: 176: 172: 165: 164: 155: 150: 146: 141: 140: 137: 127: 123: 119: 115: 111: 110: 105: 98: 97: 91: 87: 83: 79: 58: 52: 48: 44: 40: 33: 32: 29: 19: 981: 937: 914: 910:extraclasses 888: 862: 823: 820: 814: 807: 806: 795:VisualEditor 787:TemplateData 785:This is the 769:}} 765:{{ 761:}} 757:{{ 753:}} 749:{{ 743:}} 739:{{ 727:}} 723:{{ 718:}} 714:{{ 709:}} 705:{{ 700:}} 696:{{ 690: 673:}} 669:{{ 654: 632:{{ 624:<span> 602:. If set to 558:, etc.) and 536:}} 532:{{ 528:}} 524:{{ 494:โ€“ If set to 464:|1= 452:|1= 446: 394: 393: 373: 351: 350: 330: 308: 307: 300: 288: 280:}} 276:{{ 272:}} 268:{{ 255: 248:}} 244:{{ 240:}} 236:{{ 232:}} 228:{{ 225: 157:}} 151:{{ 148:}} 142:{{ 122:user subpage 113: 106: 41:This is the 25: 961:transcluded 903:CSS classes 881:printworthy 877:printworthy 835:Description 620:<div> 88:] [ 84:] [ 80:] [ 955:The above 681:!important 665:!important 443:Parameters 332:(See also 118:/testcases 57:test cases 1012:subpage. 997:testcases 832:Parameter 759:See below 751:See above 716:cross-ref 687:Redirects 534:See below 526:See above 136:Shortcuts 126:talk page 45:page for 1024:Category 947:optional 924:optional 898:optional 872:optional 733:See also 707:crossref 417:Blargh: 278:See also 238:crossref 234:(a.k.a. 154:Crossref 114:/sandbox 989:| 982:sandbox 975:history 973:| 944:Boolean 921:Unknown 895:Boolean 884:selfref 869:Unknown 858:content 671:Hatnote 634:Hatnote 512:selfref 270:Hatnote 186:sandbox 86:history 1006:pages. 933:inline 929:inline 841:Status 402:Markup 359:Markup 316:Markup 252:inline 963:from 907:class 612:false 568:false 516:(see 504:false 470:, or 375:(see 297:Usage 92:] 90:purge 76:[ 16:< 1010:/doc 1002:edit 995:and 991:diff 987:edit 971:edit 852:text 848:text 838:Type 801:for 755:and 698:xref 630:and 606:(or 585:and 562:(or 552:true 530:and 498:(or 289:See 246:xref 226:The 145:Xref 82:edit 78:view 51:diff 959:is 651:CSS 600:yes 589:yes 542:or 484:or 458:or 454:or 426:Baz 423:Bar 420:Foo 242:or 175:Lua 116:or 1026:: 967:. 793:, 614:, 610:, 604:no 582:no 570:, 566:, 554:, 550:, 506:, 502:, 496:no 466:, 336:.) 305:. 211:: 177:: 53:). 1016:. 1004:) 1000:( 993:) 985:( 977:) 969:( 855:1 646:. 616:0 608:n 572:0 564:n 556:1 548:y 508:0 500:n 476:= 379:) 188:) 184:( 59:. 49:(

Index

Template:Crossreference
template sandbox
Template:Crossreference
diff
test cases
view
edit
history
purge
approximately 3,100 pages
/sandbox
/testcases
user subpage
talk page
Shortcuts
Xref
Crossref
Lua
Module:Hatnote inline
sandbox
CSS
TemplateStyles
Template:Crossreference/styles.css
Crossreference
crossref
xref
Knowledge (XXG) crossreference
unprintworthy Knowledge (XXG) self-references
Hatnote
See also

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

โ†‘