Knowledge (XXG)

Template:Refref2

Source 📝

231: 387:
In brief, anywhere you want a footnote to appear in a piece of text, you place an opening <ref> tag followed by the text of the citation which you want to appear at the bottom of the article, and close with a </ref> tag. Note the closing slash ("/"). For multiple use of a single
388:
reference, the opening ref tag is given a name, like so: <ref name="name"> followed by the citation text and a closing </ref> tag. Each time you want to use that footnote again, you simply use the first element with a slash, like so: <ref name="name" />.
277:
requests and at other fora, where the basics of providing inline citations needs to be explained. It provides a visual guide to inline citations that some users may respond better to than a text explanation alone.
305:
The template does not include automatic signing. Please remember to sign by typing four tildes (~~~~) after the template syntax (or at the end of your accompanying post to which this template may be an
711: 706: 262: 393:
In order for these references to appear, you must tell the software where to display them, using either the code <references/> or, most commonly, the template,
1007: 1052: 1040: 246: 374:
form of inline citations, using the <ref></ref> elements. Using this method, each time a particular source is mined for information (
701: 1076: 1036: 242: 1022: 1000: 378:!), a footnote is placed in the text ("inline"), that takes one to the detail of the source when clicked, set forth in a references 791: 614: 215: 250: 407:, the references should be displayed in a separate section denominated "References" located after the body of the article. 363: 1092: 993: 404: 956: 610: 210: 981: 359: 846: 355: 1047: 736: 890: 824: 758: 417: 258: 25: 603: 202: 302:. However, given the quantity of code in this template, transclusion may be preferable to substitution. 266: 1072: 1030: 238: 403:
which can be modified to display the references in columns using {{Reflist|colwidth=30em}}. Per our
835: 780: 638: 593: 583: 191: 180: 288: 1026: 879: 769: 671: 573: 563: 169: 158: 813: 397: 272: 87: 901: 857: 802: 747: 649: 318: 945: 1086: 934: 682: 923: 912: 379: 967: 331:
Provides a detailed text explanation above the (identical) visual elements; and
225: 369: 334:
Is hidden by default because of its significantly larger footprint.
291:
by prefixing "subst:" inside the template code. Thus you may use {{
315:
This template is a more basic version of its sister template,
338:
For comparison, the sister template's output is shown below:
1064: 1056: 354:
All information in Knowledge (XXG) articles should be
624: 694: 628: 712:Referencing for beginners without using templates 707:Referencing for beginners with citation templates 257:This template is intended to assist users at the 366:. Our preferred method of citation is using the 1001: 347:Formatting references using inline citations 17:Formatting references using inline citations 8: 1046:Editors can experiment in this template's 1008: 994: 722: 625: 536: 534: 532: 131: 129: 127: 75:<ref name="multiple" /> 71:<ref name="multiple" /> 345: 15: 725: 510: 105: 7: 287:This template may be transcluded or 552:Templates that can be used between 420:code; what you type in 'edit mode' 147: 146:Templates that can be used between 74: 70: 62: 53: 46: 28:code; what you type in 'edit mode' 14: 229: 63:<ref name="multiple"> 429:What it produces when you save 382:after the text of the article. 150:tags to format your references 148:<ref>...</ref> 37:What it produces when you save 1: 479:<ref name="multiple" /> 475:<ref name="multiple" /> 342:Visual inline citation guide 463:<ref name="multiple"> 1109: 1020: 554:<ref>...</ref> 1077:Subpages of this template 702:Referencing for beginners 556:tags to format references 549: 351: 144: 95: 44: 376:don't copy word-for-word 96:Two separate citations. 490:Two separate citations. 448:</ref><ref> 438:Two separate citations. 98:Multiple citation use. 45:Two separate citations. 1071:Add categories to the 792:Explain semi-protected 495:Multiple citation use. 234:Template documentation 1031:Template:Refref2/doc 726:Help desk templates: 1093:Help desk templates 348: 18: 957:WP search protocol 346: 269:, for replying to 16: 1018: 1017: 720: 719: 621: 620: 557: 505:_________________ 432: 423: 408: 389: 383: 224: 223: 151: 40: 31: 1100: 1068: 1060: 1044: 1010: 1003: 996: 972: 966: 961: 955: 950: 944: 939: 933: 928: 922: 917: 911: 906: 900: 895: 889: 884: 878: 873: 867: 862: 856: 851: 847:Otherwiki-sister 845: 840: 834: 829: 823: 818: 812: 807: 801: 796: 790: 785: 779: 774: 768: 763: 757: 752: 746: 741: 735: 723: 687: 681: 676: 670: 665: 659: 654: 648: 643: 637: 626: 608: 602: 598: 592: 588: 582: 578: 572: 568: 562: 551: 541: 538: 527: 524: 518: 515: 483:== References == 480: 476: 472: 468: 464: 457: 453: 449: 445: 441: 426: 414: 405:style guidelines 402: 396: 392: 386: 373: 364:reliable sources 353: 349: 327:this template: 322: 301: 297: 276: 254: 235: 233: 232: 207: 201: 196: 190: 185: 179: 174: 168: 163: 157: 149: 145: 136: 133: 122: 119: 113: 110: 92: 86: 76: 72: 68: 67:</ref> 66: 59: 58:</ref> 57: 52: 51:</ref> 50: 34: 22: 19: 1108: 1107: 1103: 1102: 1101: 1099: 1098: 1097: 1083: 1082: 1081: 1080: 1070: 1062: 1050: 1045: 1034: 1019: 1014: 970: 964: 959: 953: 948: 942: 937: 931: 926: 920: 915: 909: 904: 898: 893: 887: 882: 876: 871: 865: 860: 854: 849: 843: 838: 832: 827: 821: 816: 810: 805: 799: 794: 788: 783: 777: 772: 766: 761: 755: 750: 744: 739: 737:Article deleted 733: 721: 716: 690: 685: 679: 674: 668: 663: 657: 652: 646: 641: 635: 623: 622: 606: 600: 596: 590: 586: 580: 576: 570: 566: 560: 555: 545: 544: 540:Citation text3. 539: 530: 526:Citation text2. 525: 521: 516: 512: 501: 500: 499: 494: 493: 481: 478: 474: 470: 469: 467:Citation text3. 466: 462: 460: 455: 454: 452:Citation text2. 451: 447: 446: 443: 439: 418:Inline citation 400: 394: 367: 343: 316: 313: 311:Sister template 299: 295: 284: 270: 255: 236: 230: 228: 220: 205: 199: 194: 188: 183: 177: 172: 166: 161: 155: 140: 139: 135:Citation text3. 134: 125: 121:Citation text2. 120: 116: 111: 107: 102: 90: 84: 82: 65:Citation text3. 64: 56:Citation text2. 55: 48: 26:Inline citation 12: 11: 5: 1106: 1104: 1096: 1095: 1085: 1084: 1061:and testcases 1016: 1015: 1013: 1012: 1005: 998: 990: 987: 986: 985: 984: 976: 975: 974: 973: 962: 951: 940: 929: 918: 907: 896: 885: 874: 863: 852: 841: 830: 819: 808: 797: 786: 775: 764: 753: 742: 728: 727: 718: 717: 715: 714: 709: 704: 698: 696: 692: 691: 689: 688: 677: 666: 655: 644: 632: 630: 619: 618: 553: 547: 546: 543: 542: 528: 519: 517:Citation text. 509: 508: 487: 465: 450: 444:Citation text. 442: 434: 433: 424: 411: 410: 344: 341: 340: 336: 335: 332: 312: 309: 308: 307: 303: 283: 280: 227: 226: 222: 221: 219: 218: 213: 208: 197: 186: 175: 164: 152: 142: 141: 138: 137: 123: 114: 112:Citation text. 104: 103: 100: 94: 81: 78: 49:Citation text. 42: 41: 32: 13: 10: 9: 6: 4: 3: 2: 1105: 1094: 1091: 1090: 1088: 1078: 1074: 1066: 1058: 1054: 1049: 1042: 1038: 1032: 1028: 1024: 1023:documentation 1011: 1006: 1004: 999: 997: 992: 991: 989: 988: 983: 980: 979: 978: 977: 969: 963: 958: 952: 947: 941: 936: 930: 925: 919: 914: 908: 903: 897: 892: 891:Report vandal 886: 881: 875: 870: 864: 859: 853: 848: 842: 837: 831: 826: 825:Lost password 820: 815: 809: 804: 798: 793: 787: 782: 776: 771: 765: 760: 759:Astray astray 754: 749: 743: 738: 732: 731: 730: 729: 724: 713: 710: 708: 705: 703: 700: 699: 697: 693: 684: 678: 673: 667: 662: 656: 651: 645: 640: 634: 633: 631: 627: 617: 616: 612: 605: 595: 585: 575: 565: 558: 548: 537: 535: 533: 529: 523: 520: 514: 511: 507: 506: 504: 496: 491: 488: 486: 482: 458: 436: 435: 431: 430: 425: 422: 421: 419: 413: 412: 409: 406: 399: 390: 384: 381: 377: 371: 365: 361: 357: 350: 339: 333: 330: 329: 328: 326: 320: 310: 304: 294: 290: 286: 285: 281: 279: 274: 268: 264: 263:AfC help desk 260: 252: 248: 244: 240: 217: 214: 212: 209: 204: 198: 193: 187: 182: 176: 171: 165: 160: 154: 153: 143: 132: 130: 128: 124: 118: 115: 109: 106: 99: 93: 89: 79: 77: 43: 39: 38: 33: 30: 29: 27: 21: 20: 982:Coordination 971:}} 965:{{ 960:}} 954:{{ 949:}} 943:{{ 938:}} 932:{{ 927:}} 921:{{ 916:}} 910:{{ 905:}} 899:{{ 894:}} 888:{{ 883:}} 877:{{ 872:}} 868: 866:{{ 861:}} 855:{{ 850:}} 844:{{ 839:}} 833:{{ 828:}} 822:{{ 817:}} 811:{{ 806:}} 800:{{ 795:}} 789:{{ 784:}} 778:{{ 773:}} 767:{{ 762:}} 756:{{ 751:}} 745:{{ 740:}} 734:{{ 686:}} 680:{{ 675:}} 669:{{ 664:}} 660: 658:{{ 653:}} 647:{{ 642:}} 636:{{ 607:}} 604:Cite journal 601:{{ 597:}} 591:{{ 587:}} 581:{{ 577:}} 571:{{ 567:}} 561:{{ 559: 550: 522: 513: 502: 498: 497: 492: 489: 484: 471:</ref> 459: 456:</ref> 437: 428: 427: 416: 415: 401:}} 395:{{ 391: 385: 375: 352: 337: 324: 321:}} 317:{{ 314: 298:rather than 292: 275:}} 271:{{ 256: 206:}} 203:Cite journal 200:{{ 195:}} 189:{{ 184:}} 178:{{ 173:}} 167:{{ 162:}} 156:{{ 117: 108: 97: 91:}} 85:{{ 83: 60: 36: 35: 24: 23: 1027:transcluded 485:{{Reflist}} 440:<ref> 300:{{Refref2}} 289:substituted 249:] [ 245:] [ 241:] [ 54:<ref> 47:<ref> 1021:The above 503:References 101:References 80:References 1075:subpage. 836:Otherwiki 781:Edit refs 639:Edit refs 629:Templates 594:Cite news 584:Cite book 360:citations 296:Refref2}} 259:help desk 192:Cite news 181:Cite book 1087:Category 880:Renaming 770:Creation 672:Refstart 615:Examples 574:Cite web 564:Citation 473:citation 461:Multiple 370:cite.php 356:verified 323:, which 306:add-on). 267:Teahouse 216:Examples 170:Cite web 159:Citation 69:citation 61:Multiple 1055:| 1048:sandbox 1041:history 1039:| 869:Refref2 814:Linking 661:Refref2 398:Reflist 380:section 273:Help me 247:history 88:reflist 1069:pages. 1065:create 902:7STEPS 858:Refref 803:HD/GKG 748:Astray 650:Refref 611:Others 325:unlike 319:Refref 293:subst: 265:, the 211:Others 1029:from 946:UPIMG 282:Usage 253:] 251:purge 237:[ 1073:/doc 1057:diff 1053:edit 1037:edit 935:RSIS 695:Help 683:RSIS 477:use. 243:edit 239:view 73:use. 1025:is 924:RD3 913:RD2 613:• 362:to 358:by 1089:: 1033:. 968:HD 609:• 599:• 589:• 579:• 569:• 531:^ 261:, 126:^ 1079:. 1067:) 1063:( 1059:) 1051:( 1043:) 1035:( 1009:e 1002:t 995:v 372:" 368:"

Index

Inline citation
reflist



Citation
Cite web
Cite book
Cite news
Cite journal
Others
Examples
view
edit
history
purge
help desk
AfC help desk
Teahouse
Help me
substituted
Refref
verified
citations
reliable sources
cite.php
section
Reflist
style guidelines
Inline citation

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