Knowledge (XXG)

Template:Refref

Source 📝

305: 62:
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
63:
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" />.
709:. It contains only the visual elements of this one, i.e., without the text explanation portion, and given its smaller footprint, is neither collapsed by default, nor hidden using a header bar. For comparison, the sister template's output is shown below: 648:
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.
676:
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
1008: 1003: 633: 68:
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,
1304: 615: 1337: 320: 49:
form of inline citations, using the <ref></ref> elements. Using this method, each time a particular source is mined for information (
998: 1370: 1333: 316: 1319: 1297: 608: 53:!), a footnote is placed in the text ("inline"), that takes one to the detail of the source when clicked, set forth in a references 1088: 399: 911: 289: 324: 82:, the references should be displayed in a separate section denominated "References" located after the body of the article. 38: 1386: 1290: 601: 79: 1253: 906: 564: 285: 1278: 589: 34: 1143: 454: 30: 1033: 344: 1187: 1121: 1055: 498: 432: 366: 721: 629: 92: 898: 673:. However, given the quantity of code in this template, transclusion may be preferable to substitution. 278: 637: 684: 78:
which can be modified to display the references in columns using {{Reflist|colwidth=30em}}. Per our
1366: 1327: 312: 1132: 1077: 935: 887: 876: 443: 388: 268: 258: 659: 1323: 1176: 1066: 968: 865: 854: 487: 377: 248: 238: 680:
This template is collapsed by default. If you wish to disable this, substitute or transclude
1165: 1110: 957: 783: 703: 643: 476: 421: 72: 1198: 1099: 1044: 509: 410: 355: 1242: 553: 1380: 1231: 979: 542: 1220: 1209: 531: 520: 54: 1264: 575: 299: 44: 662:
by prefixing "subst:" inside the template code. Thus you may use {{
1358: 1350: 1346: 29:
All information in Knowledge (XXG) articles should be
921: 991: 925: 1343:Editors can experiment in this template's sandbox 1009:Referencing for beginners without using templates 1004:Referencing for beginners with citation templates 628:This template is intended to assist users at the 41:. Our preferred method of citation is using the 1298: 713:Formatting references using inline citations 609: 22:Formatting references using inline citations 8: 1305: 1291: 1019: 922: 827: 825: 823: 616: 602: 330: 211: 209: 207: 771:<ref name="multiple" /> 767:<ref name="multiple" /> 711: 20: 1022: 801: 699:A more basic sister template exists at 333: 185: 7: 658:This template may be transcluded or 843: 842:Templates that can be used between 770: 766: 758: 749: 742: 724:code; what you type in 'edit mode' 227:Templates that can be used between 95:code; what you type in 'edit mode' 14: 303: 759:<ref name="multiple"> 846:tags to format your references 844:<ref>...</ref> 733:What it produces when you save 104:What it produces when you save 57:after the text of the article. 1: 154:<ref name="multiple" /> 150:<ref name="multiple" /> 17:Visual inline citation guide 138:<ref name="multiple"> 1403: 1317: 229:<ref>...</ref> 1371:Subpages of this template 999:Referencing for beginners 840: 791: 740: 231:tags to format references 224: 26: 792:Two separate citations. 51:don't copy word-for-word 794:Multiple citation use. 741:Two separate citations. 165:Two separate citations. 123:</ref><ref> 113:Two separate citations. 1365:Add categories to the 1089:Explain semi-protected 400:Explain semi-protected 308:Template documentation 170:Multiple citation use. 1023:Help desk templates: 334:Help desk templates: 1387:Help desk templates 1328:Template:Refref/doc 714: 23: 1254:WP search protocol 712: 640:, for replying to 565:WP search protocol 21: 1315: 1314: 1017: 1016: 920: 919: 847: 736: 727: 626: 625: 296: 295: 232: 180:_________________ 107: 98: 83: 64: 58: 1394: 1362: 1354: 1341: 1307: 1300: 1293: 1269: 1263: 1258: 1252: 1247: 1241: 1236: 1230: 1225: 1219: 1214: 1208: 1203: 1197: 1192: 1186: 1181: 1175: 1170: 1164: 1159: 1153: 1148: 1144:Otherwiki-sister 1142: 1137: 1131: 1126: 1120: 1115: 1109: 1104: 1098: 1093: 1087: 1082: 1076: 1071: 1065: 1060: 1054: 1049: 1043: 1038: 1032: 1020: 984: 978: 973: 967: 962: 956: 951: 945: 940: 934: 923: 903: 897: 892: 886: 881: 875: 870: 864: 859: 853: 845: 841: 832: 829: 818: 815: 809: 806: 788: 782: 772: 768: 764: 763:</ref> 762: 755: 754:</ref> 753: 748: 747:</ref> 746: 730: 718: 715: 708: 702: 689: 683: 672: 668: 647: 618: 611: 604: 580: 574: 569: 563: 558: 552: 547: 541: 536: 530: 525: 519: 514: 508: 503: 497: 492: 486: 481: 475: 470: 464: 459: 455:Otherwiki-sister 453: 448: 442: 437: 431: 426: 420: 415: 409: 404: 398: 393: 387: 382: 376: 371: 365: 360: 354: 349: 343: 331: 328: 309: 307: 306: 283: 277: 273: 267: 263: 257: 253: 247: 243: 237: 226: 216: 213: 202: 199: 193: 190: 158:== References == 155: 151: 147: 143: 139: 132: 128: 124: 120: 116: 101: 89: 80:style guidelines 77: 71: 67: 61: 48: 39:reliable sources 28: 24: 1402: 1401: 1397: 1396: 1395: 1393: 1392: 1391: 1377: 1376: 1375: 1374: 1364: 1356: 1344: 1342: 1331: 1316: 1311: 1267: 1261: 1256: 1250: 1245: 1239: 1234: 1228: 1223: 1217: 1212: 1206: 1201: 1195: 1190: 1184: 1179: 1173: 1168: 1162: 1157: 1151: 1146: 1140: 1135: 1129: 1124: 1118: 1113: 1107: 1102: 1096: 1091: 1085: 1080: 1074: 1069: 1063: 1058: 1052: 1047: 1041: 1036: 1034:Article deleted 1030: 1018: 1013: 987: 982: 976: 971: 965: 960: 954: 949: 943: 938: 932: 916: 901: 895: 890: 884: 879: 873: 868: 862: 857: 851: 836: 835: 831:Citation text3. 830: 821: 817:Citation text2. 816: 812: 807: 803: 798: 786: 780: 778: 761:Citation text3. 760: 752:Citation text2. 751: 744: 722:Inline citation 706: 700: 697: 695:Sister template 687: 681: 670: 666: 655: 641: 622: 578: 572: 567: 561: 556: 550: 545: 539: 534: 528: 523: 517: 512: 506: 501: 495: 490: 484: 479: 473: 468: 462: 457: 451: 446: 440: 435: 429: 424: 418: 413: 407: 402: 396: 391: 385: 380: 374: 369: 363: 358: 352: 347: 345:Article deleted 341: 329: 310: 304: 302: 298: 297: 281: 275: 271: 265: 261: 255: 251: 245: 241: 235: 230: 220: 219: 215:Citation text3. 214: 205: 201:Citation text2. 200: 196: 191: 187: 176: 175: 174: 169: 168: 156: 153: 149: 145: 144: 142:Citation text3. 141: 137: 135: 130: 129: 127:Citation text2. 126: 122: 121: 118: 114: 93:Inline citation 75: 69: 42: 18: 12: 11: 5: 1400: 1398: 1390: 1389: 1379: 1378: 1355:and testcases 1313: 1312: 1310: 1309: 1302: 1295: 1287: 1284: 1283: 1282: 1281: 1273: 1272: 1271: 1270: 1259: 1248: 1237: 1226: 1215: 1204: 1193: 1182: 1171: 1160: 1149: 1138: 1127: 1116: 1105: 1094: 1083: 1072: 1061: 1050: 1039: 1025: 1024: 1015: 1014: 1012: 1011: 1006: 1001: 995: 993: 989: 988: 986: 985: 974: 963: 952: 941: 929: 927: 918: 917: 915: 914: 909: 904: 893: 882: 871: 860: 848: 838: 837: 834: 833: 819: 810: 808:Citation text. 800: 799: 796: 790: 777: 774: 745:Citation text. 738: 737: 728: 696: 693: 692: 691: 678: 674: 654: 651: 624: 623: 621: 620: 613: 606: 598: 595: 594: 593: 592: 584: 583: 582: 581: 570: 559: 548: 537: 526: 515: 504: 493: 482: 471: 460: 449: 438: 427: 416: 405: 394: 383: 372: 361: 350: 336: 335: 301: 300: 294: 293: 228: 222: 221: 218: 217: 203: 194: 192:Citation text. 184: 183: 162: 140: 125: 119:Citation text. 117: 109: 108: 99: 86: 85: 19: 16: 15: 13: 10: 9: 6: 4: 3: 2: 1399: 1388: 1385: 1384: 1382: 1372: 1368: 1360: 1352: 1348: 1339: 1335: 1329: 1325: 1321: 1320:documentation 1308: 1303: 1301: 1296: 1294: 1289: 1288: 1286: 1285: 1280: 1277: 1276: 1275: 1274: 1266: 1260: 1255: 1249: 1244: 1238: 1233: 1227: 1222: 1216: 1211: 1205: 1200: 1194: 1189: 1188:Report vandal 1183: 1178: 1172: 1167: 1161: 1156: 1150: 1145: 1139: 1134: 1128: 1123: 1122:Lost password 1117: 1112: 1106: 1101: 1095: 1090: 1084: 1079: 1073: 1068: 1062: 1057: 1056:Astray astray 1051: 1046: 1040: 1035: 1029: 1028: 1027: 1026: 1021: 1010: 1007: 1005: 1002: 1000: 997: 996: 994: 990: 981: 975: 970: 964: 959: 953: 948: 942: 937: 931: 930: 928: 924: 913: 910: 908: 905: 900: 894: 889: 883: 878: 872: 867: 861: 856: 850: 849: 839: 828: 826: 824: 820: 814: 811: 805: 802: 795: 789: 785: 775: 773: 739: 735: 734: 729: 726: 725: 723: 717: 716: 710: 705: 694: 686: 679: 675: 665: 661: 657: 656: 652: 650: 645: 639: 635: 634:AfC help desk 631: 619: 614: 612: 607: 605: 600: 599: 597: 596: 591: 588: 587: 586: 585: 577: 571: 566: 560: 555: 549: 544: 538: 533: 527: 522: 516: 511: 505: 500: 499:Report vandal 494: 489: 483: 478: 472: 467: 461: 456: 450: 445: 439: 434: 433:Lost password 428: 423: 417: 412: 406: 401: 395: 390: 384: 379: 373: 368: 367:Astray astray 362: 357: 351: 346: 340: 339: 338: 337: 332: 326: 322: 318: 314: 292: 291: 287: 280: 270: 260: 250: 240: 233: 223: 212: 210: 208: 204: 198: 195: 189: 186: 182: 181: 179: 171: 166: 163: 161: 157: 133: 111: 110: 106: 105: 100: 97: 96: 94: 88: 87: 84: 81: 74: 65: 59: 56: 52: 46: 40: 36: 32: 25: 1279:Coordination 1268:}} 1262:{{ 1257:}} 1251:{{ 1246:}} 1240:{{ 1235:}} 1229:{{ 1224:}} 1218:{{ 1213:}} 1207:{{ 1202:}} 1196:{{ 1191:}} 1185:{{ 1180:}} 1174:{{ 1169:}} 1163:{{ 1158:}} 1154: 1152:{{ 1147:}} 1141:{{ 1136:}} 1130:{{ 1125:}} 1119:{{ 1114:}} 1108:{{ 1103:}} 1097:{{ 1092:}} 1086:{{ 1081:}} 1075:{{ 1070:}} 1064:{{ 1059:}} 1053:{{ 1048:}} 1042:{{ 1037:}} 1031:{{ 983:}} 977:{{ 972:}} 966:{{ 961:}} 955:{{ 950:}} 946: 944:{{ 939:}} 933:{{ 902:}} 899:Cite journal 896:{{ 891:}} 885:{{ 880:}} 874:{{ 869:}} 863:{{ 858:}} 852:{{ 813: 804: 793: 787:}} 781:{{ 779: 756: 732: 731: 720: 719: 707:}} 701:{{ 698: 688:}} 682:{{ 669:rather than 663: 646:}} 642:{{ 627: 590:Coordination 579:}} 573:{{ 568:}} 562:{{ 557:}} 551:{{ 546:}} 540:{{ 535:}} 529:{{ 524:}} 518:{{ 513:}} 507:{{ 502:}} 496:{{ 491:}} 485:{{ 480:}} 474:{{ 469:}} 465: 463:{{ 458:}} 452:{{ 447:}} 441:{{ 436:}} 430:{{ 425:}} 419:{{ 414:}} 408:{{ 403:}} 397:{{ 392:}} 386:{{ 381:}} 375:{{ 370:}} 364:{{ 359:}} 353:{{ 348:}} 342:{{ 282:}} 279:Cite journal 276:{{ 272:}} 266:{{ 262:}} 256:{{ 252:}} 246:{{ 242:}} 236:{{ 234: 225: 197: 188: 177: 173: 172: 167: 164: 159: 146:</ref> 134: 131:</ref> 112: 103: 102: 91: 90: 76:}} 70:{{ 66: 60: 50: 27: 1324:transcluded 750:<ref> 743:<ref> 685:Refref/core 660:substituted 323:] [ 319:] [ 315:] [ 160:{{Reflist}} 115:<ref> 1318:The above 797:References 776:References 671:{{Refref}} 178:References 1369:subpage. 1133:Otherwiki 1078:Edit refs 936:Edit refs 926:Templates 888:Cite news 877:Cite book 630:help desk 444:Otherwiki 389:Edit refs 269:Cite news 259:Cite book 35:citations 1381:Category 1177:Renaming 1067:Creation 969:Refstart 912:Examples 866:Cite web 855:Citation 765:citation 757:Multiple 690:instead. 677:add-on). 667:Refref}} 638:Teahouse 488:Renaming 378:Creation 290:Examples 249:Cite web 239:Citation 148:citation 136:Multiple 45:cite.php 31:verified 1349:| 1338:history 1336:| 1166:Refref2 1111:Linking 958:Refref2 784:reflist 704:Refref2 644:Help me 477:Refref2 422:Linking 321:history 73:Reflist 55:section 1363:pages. 1359:create 1351:mirror 1347:create 1199:7STEPS 1155:Refref 1100:HD/GKG 1045:Astray 947:Refref 907:Others 664:subst: 636:, the 510:7STEPS 466:Refref 411:HD/GKG 356:Astray 286:Others 1326:from 1243:UPIMG 653:Usage 554:UPIMG 327:] 325:purge 311:[ 1367:/doc 1334:edit 1232:RSIS 992:Help 980:RSIS 769:use. 543:RSIS 317:edit 313:view 152:use. 1322:is 1221:RD3 1210:RD2 532:RD3 521:RD2 288:• 37:to 33:by 1383:: 1330:. 1265:HD 822:^ 632:, 576:HD 284:• 274:• 264:• 254:• 244:• 206:^ 1373:. 1361:) 1357:( 1353:) 1345:( 1340:) 1332:( 1306:e 1299:t 1292:v 617:e 610:t 603:v 47:" 43:"

Index

verified
citations
reliable sources
cite.php
section
Reflist
style guidelines
Inline citation



Citation
Cite web
Cite book
Cite news
Cite journal
Others
Examples
view
edit
history
purge
Article deleted
Astray
Astray astray
Creation
Edit refs
Explain semi-protected
HD/GKG
Linking

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