Knowledge (XXG)

Template:Crossreference

Source ๐Ÿ“

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

Index

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
Module:Hatnote inline
Category:Cross-reference templates
Knowledge (XXG) markup
Radical Whigs
ยง Parameters

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

โ†‘