Knowledge (XXG)

Template:Crossreference

Source ๐Ÿ“

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

Index

Template:Cross reference
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

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

โ†‘