Knowledge

Template:Citation/core/sandbox

Source πŸ“

76: 107: 148: 42: 227:
Note that the examples below are common uses of each parameter, intended to help editors understand the functioning of this template. In the most part, there is nothing wrong with passing different data to any of the parameters below if it produces the output that is desired. The exception is in
929:
Translated italicized title, in case the original title is in a foreign language. Can be used in conjunction with TransTitle, e.g. for book and chapter title, respectively. This translated string will appear in square brackets, following the italicized book title, with the same URL
826:
specifies the punctuation mark used to separate fields. This usually defaults to a period, but may occasionally be a comma. For technical reasons, the template will malfunction if a semicolon is passed as a separator. To circumvent this, the calling template should encode
353:
then the dash will be one em in length and so on. Set AuthorMask to a text value to display a word instead:– for example, 'with'. You must still include the parameters for all authors for metadata purposes. Do not use in a list generated by
745:
name of the periodical, journal, or magazine. This parameter controls whether or not the template will generate a citation in the style appropriate to a periodical, journal, magazine, or other serial publication. When set,
344:
Primarily intended for use in bibliographies for some styles where multiple works by a single author are listed. It replaces the name of the first author with a strike-thru dash (β€”) AuthorMask em in length enclosed in
30: 936:
Translated title, in case the original title is in a foreign language. The translated title will appear inside square brackets, enclosed within the quotation marks of the IncludedWorkTitle.
200:
Changes to this central template can affect the output of several 'upstream' templates. A list of some templates directly using citation/core is provided below for testing purposes.
1162: 904: 611: 1147: 391:
adds the specified HTML class to the span that encloses the citation. The name must be one word (separate words are separate classes) and must meet the name rules.
1135: 710: 91: 287:
When set to any value, changes the separator between the last two names in lists of authors to an ampersand (&). Defaults to a semicolon and space(; ), else
192:
The presence of a central template makes individual citation templates simpler to code and amend, and produces a consistent look throughout the encyclopaedia.
95: 1174: 1131: 87: 308: 569: 181:
provide this core template with a list of parameters, which it uses to produce a formatted text (HTML) output, which contains embedded
664: 559: 1157: 1117: 62: 847: 478:
second, third, and fourth editors’ surname or last name. The fourth is not actually used, but causes 'et al.' to be generated.
690: 128: 48: 1190: 117: 1170: 1125: 185:
metadata. This metadata allows many readers to find cited references more easily, or to extract their details to a
83: 398: 133: 953: 923:
specific type of item cited. Example: PhD thesis. Appears in parentheses immediately after Title or TransTitle.
594: 209: 1077: 887:. Used, for example, when citing the title of a book; the chapter title would be passed to IncludedWorkTitle 897: 500:
file format of the source, if not the common format. Or; "Free full text", "abstract", or similar descriptor
259:
copy of a web page, if (or in case) the url becomes unavailable. Typically used to refer to services like
168: 52: 21: 893:
The archive parameters have error checking to ensure that all the required parameters are included, else
171:
can be thought of as an engine producing consistent output for Knowledge's citations. Templates such as
157:
is preserved as an historical reference against which current Lua-based cs1|2 templates may be compared.
995: 817: 674: 587:) it may be desirable to use IncludedWorkTitle for the title, and not use the Title parameter at all. 872:
up to eight additional authors’ surnames or last names. The ninth is not actually used, but causes
216: 204: 833:
Replace the exclamation mark with a default separator, if one different to a period is desired.
1121: 982: 584: 415: 186: 175: 17: 640: 358: 264: 1001:
The raw URL is rendered at the end of the citation, but is hidden except when printed.
726: 121: 1184: 1100: 807: 256: 281:
If an archived URL is provided elsewhere, the original URL should be specified here.
700: 215:
Almost all templates that previously used Citation/core have been converted to use
794:
text to be quoted from the source. If supplied, this is enclosed in double-quotes.
120:
before editing the template. If your edit causes unexpected problems, please
338:
title of an existing Knowledge article about up to seven additional authors.
683:
Separator between last and first names; defaults to a comma and space (, ).
70: 126:
You can conduct experiments, and should test all major changes, in either
494:
title of existing Knowledge articles about the second and third editors.
764:"); this parameter should not be used for location of publication; see 382: 260: 629:
specifies the language in which the source is written, if not English.
903:
is invoked. On errors, main, help and template pages are placed into
639:-friendly journal - for instance a BBC news article about a paper in 636: 917:
appears after Title; shows only if Title and Periodical are defined.
368:
as there is no control as to the order that references will display.
579:
Specific title, to be displayed in quotation marks. Contrast with
124:
it quickly, as this template may appear on a large number of pages.
620: 298: 229: 182: 736: 830:|Sep = {{#ifeq:{{{separator}}}|;|&#059;|{{{separator|!}}}}} 800:
postscript terminating the citation. This is empty by default.
484:
title of an existing Knowledge article about the first editor.
439:
number or name of the edition, if not the first; for example:
408:
date of the authorship, if different from date of publication.
324:
title of an existing Knowledge article about the first author.
142: 116:
You are encouraged to familiarise yourself with its setup and
101: 36: 806:
A reference name - if the citation is referred to using the
113:
This template employs intricate features of template syntax.
969:
Note to accompany the year. Example: First published 1886.
729:
article number for full-text free repository of an article.
374:
Separator between author names; defaults to semicolon (;).
273:
date when the item was archived. Should not be wikilinked.
1151: 1009:
the number need not be shown on a screen or a handheld,
597:
of the contribution or chapter, or other included work.
522:
up to seven additional authors' first or given name(s).
56: 1006:/* For linked citation numbers and document IDs, where 760:
place where the item was created (outputs "written at
583:, which is displayed in italics. In some cases (e.g. 956:
of an online location where the article can be found.
963:
volume number of a multi-volume book or compilation.
655:
Name of the source, such as the magazine or journal.
719:
Other details to be inserted in a particular place.
136:, or your user space before changing anything here. 458:second and third editors’ first or given name(s). 1012:but should be included in the printed version */ 905:Category:Articles with incorrect citation syntax 711:Office of Scientific and Technical Information 422:). Used to change the main citation link when 942:Sets the number of authors to display before 612:Jahrbuch ΓΌber die Fortschritte der Mathematik 248:(if used, must be used both of them together) 8: 232:fieldβ€” these parameters are indicated by βŠ—. 1141:Editors can experiment in this template's 840:series of which this periodical is a part. 998:to control the appearance of citations. 883:Title, to be displayed in italics after 1092: 243:was accessed. Should not be wikilinked. 228:parameters which are associated with a 979: 972: 966: 960: 950: 939: 933: 926: 920: 914: 908: 890: 884: 880: 869: 865: 861: 854: 844: 837: 823: 814: 808:Harvard referencing suite of templates 803: 797: 791: 785: 778: 771: 765: 757: 751: 747: 742: 733: 723: 716: 707: 697: 687: 680: 671: 661: 652: 646: 632: 626: 617: 608: 601: 591: 580: 576: 566: 556: 549: 545: 541: 537: 533: 529: 525: 519: 515: 511: 507:first author's first or given name(s). 504: 497: 491: 487: 481: 475: 471: 467: 461: 455: 451: 448:first editor's first or given name(s). 445: 440: 436: 429: 423: 419: 411: 405: 395: 388: 378: 371: 350: 341: 335: 331: 327: 321: 315: 305: 295: 288: 284: 278: 270: 252: 240: 236: 528:miscellaneous identifier, other than 309:Amazon Standard Identification Number 7: 857:first author's surname or last name. 570:International Standard Serial Number 464:first editor's surname or last name. 365: 346: 61:See also the companion subpage for 975:year of authorship or publication. 665:Library of Congress Control Number 560:International Standard Book Number 414:indicates if the original link is 28: 318:page reference within the source. 909:|template doc demo=true 146: 105: 74: 40: 848:Social Science Research Network 604:issue number of the periodical. 691:Online Computer Library Center 1: 754:are formatted in parentheses. 196:Templates using this 'engine' 891:|template doc demo= 885:|IncludedWorkTitle= 577:|IncludedWorkTitle= 366:<references /> 779:|PublicationPlace= 766:|PublicationPlace= 752:|PublicationPlace= 635:Summary of the source in a 572:identifying the periodical. 1207: 1126:Template:Citation/core/doc 1115: 911:to disable categorization. 772:|PublicationDate= 592:|IncludedWorkURL= 1175:Subpages of this template 476:|EditorSurname4= 472:|EditorSurname3= 468:|EditorSurname2= 462:|EditorSurname1= 399:Digital object identifier 389:|Citation class= 1003: 954:Uniform Resource Locator 737:PubMed Unique Identifier 210:Template:Cite wikisource 134:general template sandbox 456:|EditorGiven3= 452:|EditorGiven2= 446:|EditorGiven1= 129:this template's sandbox 1169:Add categories to the 1101:"HTML class Attribute" 927:|TransItalic= 788:name of the publisher. 649:Date of a lay summary. 492:|Editorlink3= 488:|Editorlink2= 482:|Editorlink1= 441:|Edition=2nd. 432:Date the DOI is broken 351:|AuthorMask=1 336:|Authorlink8= 332:|Authorlink3= 328:|Authorlink2= 322:|Authorlink1= 279:|OriginalURL= 271:|ArchiveDate= 169:Template:Citation/core 79:Template documentation 53:Template:Citation/core 994:Rules are defined in 934:|TransTitle= 743:|Periodical= 633:|laysummary= 424:|ArchiveURL= 342:|AuthorMask= 253:|ArchiveURL= 237:|AccessDate= 195: 155:Citation/core/sandbox 996:MediaWiki:Common.css 921:|TitleType= 915:|TitleNote= 818:Request for Comments 786:|Publisher= 781:city of publication. 774:date of publication. 748:|Publisher= 675:Mathematical Reviews 653:|laysource= 430:|DoiBroken= 420:|DeadURL=no 372:|AuthorSep= 289:|AuthorSep= 967:|YearNote= 870:|Surname9= 866:|Surname3= 862:|Surname2= 855:|Surname1= 627:|language= 246:archive parameters 217:Module:Citation/CS1 164:About this template 1191:Template sandboxes 681:|NameSep= 647:|laydate= 437:|Edition= 412:|DeadURL= 379:|BIBCODE= 205:Template:Cite IETF 983:Zentralblatt MATH 961:|Volume= 838:|Series= 585:Template:Cite web 520:|Given8= 516:|Given3= 512:|Given2= 505:|Given1= 498:|format= 223:Parameter details 187:reference manager 161: 160: 141: 140: 69: 68: 18:Template:Citation 1198: 1166: 1155: 1139: 1109: 1108: 1097: 1082: 1076: 1064: 1061: 1058: 1055: 1052: 1049: 1046: 1043: 1040: 1037: 1034: 1031: 1028: 1025: 1022: 1019: 1016: 1013: 1010: 1007: 981: 974: 968: 962: 952: 941: 940:|Trunc= 935: 928: 922: 916: 910: 902: 896: 892: 886: 882: 881:|Title= 876:to be generated. 871: 867: 863: 856: 846: 839: 831: 825: 816: 805: 799: 793: 792:|quote= 787: 780: 773: 767: 759: 758:|Place= 753: 749: 744: 735: 725: 718: 717:|Other= 709: 699: 689: 682: 673: 663: 654: 648: 634: 628: 619: 618:|JSTOR= 610: 603: 602:|Issue= 593: 582: 581:|Title= 578: 568: 558: 551: 547: 543: 539: 535: 531: 527: 521: 517: 513: 506: 499: 493: 489: 483: 477: 473: 469: 463: 457: 453: 447: 442: 438: 431: 425: 421: 413: 407: 397: 390: 380: 373: 367: 363: 357: 352: 348: 343: 337: 333: 329: 323: 317: 307: 297: 296:|ARXIV= 290: 286: 280: 272: 254: 242: 238: 180: 174: 153:Do not modify. 150: 149: 143: 131: 118:parser functions 109: 108: 102: 99: 80: 78: 77: 49:template sandbox 44: 43: 37: 34: 33: 1206: 1205: 1201: 1200: 1199: 1197: 1196: 1195: 1181: 1180: 1179: 1178: 1168: 1160: 1145: 1140: 1129: 1114: 1113: 1112: 1099: 1098: 1094: 1089: 1080: 1078:Citation/author 1074: 1071: 1066: 1065: 1062: 1059: 1056: 1053: 1050: 1047: 1044: 1041: 1038: 1035: 1032: 1029: 1026: 1023: 1020: 1017: 1014: 1011: 1008: 1005: 992: 973:|Year= 900: 894: 845:|SSRN= 832: 829: 828: 763: 734:|PMID= 708:|OSTI= 688:|OCLC= 662:|LCCN= 567:|ISSN= 557:|ISBN= 546:|PMID= 542:|OCLC= 538:|ISSN= 534:|ISBN= 406:|Date= 361: 355: 306:|ASIN= 225: 198: 178: 172: 166: 147: 137: 127: 125: 106: 100: 81: 75: 73: 60: 41: 31: 26: 25: 24: 12: 11: 5: 1204: 1202: 1194: 1193: 1183: 1182: 1111: 1110: 1091: 1090: 1088: 1085: 1084: 1083: 1070: 1067: 1004: 991: 990:Supporting CSS 988: 987: 986: 980:|ZBL= 976: 970: 964: 957: 951:|URL= 947: 937: 931: 924: 918: 912: 898:citation error 888: 877: 858: 851: 841: 834: 824:|Sep= 821: 815:|RFC= 811: 804:|Ref= 801: 795: 789: 782: 775: 769: 761: 755: 740: 730: 727:PubMed Central 724:|PMC= 720: 714: 704: 694: 684: 678: 668: 658: 657: 656: 650: 630: 624: 614: 609:|JFM= 605: 598: 588: 573: 563: 553: 550:|PMC= 530:|DOI= 523: 508: 501: 495: 485: 479: 465: 459: 449: 443: 433: 427: 409: 402: 396:|DOI= 392: 386: 375: 369: 339: 325: 319: 312: 302: 292: 285:|amp= 282: 276: 275: 274: 268: 255:the URL of an 244: 241:|URL= 239:date when the 224: 221: 213: 212: 207: 197: 194: 165: 162: 159: 158: 151: 139: 138: 115: 110: 72: 71: 67: 66: 45: 27: 15: 14: 13: 10: 9: 6: 4: 3: 2: 1203: 1192: 1189: 1188: 1186: 1176: 1172: 1164: 1159: 1153: 1149: 1144: 1137: 1133: 1127: 1123: 1119: 1118:documentation 1106: 1105:w3schools.com 1102: 1096: 1093: 1086: 1079: 1073: 1072: 1068: 1002: 999: 997: 989: 984: 977: 971: 965: 958: 955: 948: 945: 938: 932: 925: 919: 913: 906: 899: 889: 878: 875: 859: 852: 849: 842: 835: 822: 819: 812: 809: 802: 798:|PS= 796: 790: 783: 776: 770: 756: 741: 738: 731: 728: 721: 715: 712: 705: 702: 698:|OL= 695: 692: 685: 679: 676: 672:|MR= 669: 666: 659: 651: 645: 644: 642: 638: 631: 625: 622: 615: 613: 606: 599: 596: 589: 586: 574: 571: 564: 561: 554: 526:|ID= 524: 509: 502: 496: 486: 480: 466: 460: 450: 444: 434: 428: 417: 410: 403: 400: 393: 387: 384: 376: 370: 360: 340: 326: 320: 316:|At= 313: 310: 303: 300: 293: 283: 277: 269: 266: 262: 258: 251: 250: 249: 245: 235: 234: 233: 231: 222: 220: 218: 211: 208: 206: 203: 202: 201: 193: 190: 188: 184: 177: 170: 163: 156: 152: 145: 144: 135: 130: 123: 119: 114: 111: 104: 103: 97: 93: 89: 85: 64: 58: 54: 50: 46: 39: 38: 35: 23: 19: 1142: 1104: 1095: 1081:}} 1075:{{ 1000: 993: 943: 901:}} 895:{{ 873: 701:Open Library 362:}} 356:{{ 247: 226: 214: 199: 191: 179:}} 173:{{ 167: 154: 112: 47:This is the 29: 1122:transcluded 827:semicolons: 347:<del> 265:Archive.org 94:] [ 90:] [ 86:] [ 1116:The above 1087:References 693:ID number. 63:test cases 1173:subpage. 1158:testcases 1042:printonly 946:is shown. 418:or live ( 349:tags. If 51:page for 1185:Category 1069:See also 1036:citation 1027:handheld 768:, below. 762:location 257:archived 176:Citation 20:‎ | 1150:| 1143:sandbox 1136:history 1134:| 1048:display 868:, ..., 518:, ..., 426:is set. 383:Bibcode 359:reflist 334:, ..., 291:if set. 261:WebCite 92:history 1167:pages. 1021:screen 944:et al. 907:. Set 874:et al. 641:Nature 637:layman 132:, the 32:  1124:from 1018:media 930:link. 621:JSTOR 548:, or 299:ArXiv 230:COinS 183:COinS 98:] 96:purge 82:[ 16:< 1171:/doc 1163:edit 1156:and 1152:diff 1148:edit 1132:edit 1054:none 750:and 416:dead 263:and 122:undo 88:edit 84:view 57:diff 22:core 1120:is 985:ID. 850:ID. 820:ID. 713:ID. 703:ID. 677:ID. 667:ID. 623:ID. 595:URL 385:ID. 364:or 301:ID. 1187:: 1128:. 1103:. 978:βŠ— 959:βŠ— 949:βŠ— 879:βŠ— 864:, 860:βŠ— 853:βŠ— 843:βŠ— 836:βŠ— 813:βŠ— 784:βŠ— 777:βŠ— 732:βŠ— 722:βŠ— 706:βŠ— 696:βŠ— 686:βŠ— 670:βŠ— 660:βŠ— 643:. 616:βŠ— 607:βŠ— 600:βŠ— 590:βŠ— 575:βŠ— 565:βŠ— 555:βŠ— 544:, 540:, 536:, 532:, 514:, 510:βŠ— 503:βŠ— 490:, 474:, 470:, 454:, 435:βŠ— 404:βŠ— 394:βŠ— 381:A 377:βŠ— 330:, 314:βŠ— 304:βŠ— 294:βŠ— 219:. 189:. 59:). 1177:. 1165:) 1161:( 1154:) 1146:( 1138:) 1130:( 1107:. 1063:} 1060:} 1057:; 1051:: 1045:{ 1039:. 1033:. 1030:{ 1024:, 1015:@ 810:. 739:. 562:. 552:. 401:. 311:. 267:. 65:. 55:(

Index

Template:Citation
core
template sandbox
Template:Citation/core
diff
test cases
view
edit
history
purge
parser functions
undo
this template's sandbox
general template sandbox
Template:Citation/core
Citation
COinS
reference manager
Template:Cite IETF
Template:Cite wikisource
Module:Citation/CS1
COinS
archived
WebCite
Archive.org
ArXiv
Amazon Standard Identification Number
reflist
Bibcode
Digital object identifier

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

↑