Knowledge (XXG)

Template:CS1 config

Source 📝

21: 52: 90: 171:. When found, Module:Citation/CS1 extracts the settings parameters and their assigned values and applies those settings to all CS1 and CS2 templates in the article. This provides stylistic consistency in the rendered output without editing every template in the article. For example, instead of adding 895: 197:
Determine which of the available settings are desired and place this template in the article. For editor convenience, this template should probably be placed adjacent to
631:
keyword. Were they to do so, 'et al.' would be attached to every name list that correctly has only one name. For example, we do not want 'Darwin, Charles; et al.' for
846: 36: 351:
The commonly-used citation templates on Knowledge (XXG) have two style modes. These modes change how the citation is punctuated when it's rendered. Use
900: 879: 842: 32: 646:
has a setting parameter that matches a setting parameter in a cs1|2 template (regardless of the assigned values), Module:Citation/CS1 will add a
651: 222:
templates (cs2) and to have all namelists in these templates include an ampersand between the last two names in each list, you might write:
828: 40: 438: 107: 68: 801:, that are technically unrelated, do not invoke Module:Citation/CS1, and will be unaffected by any parameters of 765: 64: 633: 76: 669:
for example) cannot be annotated. When such errors occur, Module:Citation/CS1 ignores the malformed setting.
875: 836: 28: 72: 735: 208: 200: 725: 368: 356: 145: 795: 755: 442: 805: 775: 688: 453: 128: 103: 715: 705: 135: 832: 785: 745: 695: 179: 155: 399:
Full stops, also known as periods, separate the individual elements of the rendered citation.
578: 124: 120: 96: 595: 216:
As an example, if you want all cs1|2 templates in the article to render as if they were
889: 565: 532: 495: 419: 387: 59: 548:" between the last two names of a name list when there are multiple authors. 511:) between the last two names in a name list when there are multiple authors. 360: 15: 751:. It also includes templates are wrappers for these templates like 637:
because there are no other authors whose names have been omitted.
433:
No terminal punctuation comes at the end of the rendered citation.
63:
and changes may be widely noticed. Test changes in the template's
430:
Commas separate the individual elements of the rendered citation.
441:
another citation template and sets its mode, then it should use
189:
can be added once to the article and will have the same effect.
119:
For consistency, this template sets certain parameters for all
657:
This template is ignored when used in the Template namespace.
84: 46: 741:, and so on. It includes the general purpose CS2 template 665:
For technical reasons, errors occurring in this template (
867: 859: 855: 791:. There are some templates with "cite xxx" names, like 820:
The CS1 config template produces no output of its own.
596:
restricts author or editor names to the Latin alphabet
402:
A full stop comes at the end of the rendered citation.
584:
Uses neither an ampersand nor the conjunction "and".
683: 681: 852:Editors can experiment in this template's sandbox 471:to change how the list of authors is formatted. 687:This covers all templates that directly invoke 371:. CS2 primarily uses the comma as a separator. 185:template on a page using mostly CS1 templates, 896:Templates based on the Citation/CS1 Lua module 131:generates widely used citation templates like 227:{{cs1 config |name-list-style=amp |mode=cs2}} 8: 498:; Smith, John & Smythe, Jim (1990). 244: 677: 577:Abbreviates first names as done in the 535:; Smith, John; and Smythe, Jim (1990). 666: 624: 620: 616: 612: 608: 588: 557: 524: 520: 487: 483: 479: 468: 446: 411: 379: 364: 352: 313: 297: 290: 283: 276: 269: 259: 172: 587:Only applies when using the separate 161:. This Module checks the article for 75:. Consider discussing changes on the 7: 242:supports these settings parameters: 484:|name-list-style=ampersand 643:{{CS1 config}} 239:{{CS1 config}} 14: 901:Templates with no visible output 591:type parameters for first names. 525:|name-list-style=serial 219:{{citation}} 88: 50: 19: 621:|display-interviewers= 613:|display-contributors= 488:|name-list-style=& 284:|display-interviewers= 270:|display-contributors= 691:, including the CS1 templates 667:|display-authors=etal 625:|display-translators= 558:|name-list-style=vanc 291:|display-translators= 246:Supported settings parameters 60:approximately 8,600 pages 1: 648:CS1 maint: overridden setting 521:|name-list-style=and 480:|name-list-style=amp 568:, Smith J, Smythe J (1990). 917: 826: 617:|display-editors= 609:|display-authors= 469:|name-list-style= 363:to separate elements. Use 314:|name-list-style= 277:|display-editors= 260:|display-authors= 880:Subpages of this template 544:Inserts the conjunction " 263: 79:before implementing them. 71:subpages, or in your own 58:This template is used on 634:On the Origin of Species 837:Template:CS1 config/doc 359:. CS1 primarily uses a 187:{{CS1 config|mode=cs1}} 874:Add categories to the 507:Inserts an ampersand ( 24:Template documentation 127:templates on a page. 443:Module:Citation mode 264:numeric values only 95:This template uses 689:Module:Citation/CS1 247: 233:Settings parameters 129:Module:Citation/CS1 104:Module:Citation/CS1 412:|mode=cs2 380:|mode=cs1 365:|mode=cs2 353:|mode=cs1 254:Acceptable values 245: 173:|mode=cs1 516:Conjunction "and" 344: 343: 117: 116: 83: 82: 908: 871: 863: 850: 821: 818: 812: 810: 804: 800: 794: 790: 784: 780: 774: 770: 766:cite Google Maps 764: 760: 754: 750: 744: 740: 734: 730: 724: 720: 714: 710: 704: 700: 694: 685: 668: 649: 645: 644: 630: 627:will accept the 626: 622: 618: 614: 610: 594:Vancouver style 590: 589:|first= 574: 573: 559: 547: 541: 540: 526: 522: 510: 504: 503: 489: 485: 481: 470: 459:for an example. 458: 452: 448: 427: 426: 413: 396: 395: 381: 369:Citation Style 2 366: 357:Citation Style 1 354: 340: 336: 332: 328: 324: 320: 315: 308: 304: 299: 292: 285: 278: 271: 261: 248: 241: 240: 228: 221: 220: 212: 204: 188: 184: 178: 174: 170: 164: 160: 154: 150: 144: 140: 134: 92: 91: 85: 54: 53: 47: 44: 25: 23: 22: 916: 915: 911: 910: 909: 907: 906: 905: 886: 885: 884: 883: 873: 865: 853: 851: 840: 825: 824: 819: 815: 808: 802: 798: 792: 788: 782: 778: 772: 768: 762: 758: 752: 748: 742: 738: 732: 728: 722: 718: 712: 708: 702: 698: 692: 686: 679: 675: 663: 647: 642: 641: 628: 605: 579:Vancouver style 564: 563: 555: 553:Vancouver style 545: 531: 530: 518: 508: 494: 493: 477: 465: 463:Name list style 456: 450: 447:|mode= 418: 417: 409: 386: 385: 377: 349: 338: 334: 330: 326: 322: 318: 306: 302: 298:|mode= 238: 237: 235: 226: 218: 217: 206: 198: 195: 186: 182: 176: 168: 162: 158: 152: 148: 142: 138: 132: 113: 89: 51: 45: 26: 20: 18: 12: 11: 5: 914: 912: 904: 903: 898: 888: 887: 864:and testcases 823: 822: 813: 676: 674: 671: 662: 661:Error handling 659: 604: 601: 600: 599: 592: 585: 582: 575: 554: 551: 550: 549: 542: 517: 514: 513: 512: 505: 476: 473: 464: 461: 437:If a template 435: 434: 431: 428: 424:Book of Bloggs 408: 405: 404: 403: 400: 397: 392:Book of Bloggs 376: 373: 348: 345: 342: 341: 316: 310: 309: 300: 294: 293: 287: 286: 280: 279: 273: 272: 266: 265: 262: 256: 255: 252: 234: 231: 230: 229: 213:(if present). 194: 191: 115: 114: 112: 111: 100: 93: 81: 80: 55: 17: 16: 13: 10: 9: 6: 4: 3: 2: 913: 902: 899: 897: 894: 893: 891: 881: 877: 869: 861: 857: 848: 844: 838: 834: 830: 829:documentation 817: 814: 807: 797: 787: 777: 767: 757: 747: 737: 736:cite magazine 727: 717: 707: 697: 690: 684: 682: 678: 672: 670: 660: 658: 655: 653: 638: 636: 635: 602: 597: 593: 586: 583: 580: 576: 571: 567: 562: 561: 560: 552: 543: 538: 534: 529: 528: 527: 515: 506: 501: 497: 492: 491: 490: 474: 472: 462: 460: 455: 444: 440: 432: 429: 425: 421: 416: 415: 414: 406: 401: 398: 393: 389: 384: 383: 382: 374: 372: 370: 362: 358: 346: 317: 312: 311: 301: 296: 295: 289: 288: 282: 281: 275: 274: 268: 267: 258: 257: 253: 250: 249: 243: 232: 225: 224: 223: 214: 210: 209:use mdy dates 202: 201:use dmy dates 192: 190: 181: 167: 157: 147: 137: 130: 126: 122: 109: 105: 102: 101: 98: 94: 87: 86: 78: 74: 70: 66: 62: 61: 56: 49: 48: 42: 38: 34: 30: 816: 809:}} 803:{{ 799:}} 793:{{ 789:}} 783:{{ 779:}} 773:{{ 769:}} 763:{{ 759:}} 753:{{ 749:}} 743:{{ 739:}} 733:{{ 729:}} 726:cite journal 723:{{ 719:}} 713:{{ 709:}} 703:{{ 699:}} 693:{{ 664: 656: 650:message and 639: 632: 607:None of the 606: 569: 556: 536: 519: 499: 478: 466: 457:}} 451:{{ 436: 423: 410: 391: 378: 350: 236: 215: 211:}} 207:{{ 203:}} 199:{{ 196: 183:}} 177:{{ 169:}} 165: 163:{{ 159:}} 153:{{ 149:}} 146:cite journal 143:{{ 139:}} 133:{{ 118: 73:user subpage 57: 833:transcluded 796:cite patent 756:cite CE1913 533:Bloggs, Joe 496:Bloggs, Joe 420:Bloggs, Joe 388:Bloggs, Joe 39:] [ 35:] [ 31:] [ 890:Categories 827:The above 806:cs1 config 776:cite tweet 570:1000 Acres 537:1000 Acres 500:1000 Acres 454:cite gnis2 367:to choose 355:to choose 251:Parameters 166:CS1 config 69:/testcases 878:subpage. 716:cite book 706:cite news 475:Ampersand 361:full stop 323:ampersand 136:cite book 77:talk page 786:cite ADB 746:Citation 696:cite web 652:category 566:Bloggs J 445:to obey 422:(1974), 390:(1974). 180:Citation 175:to each 156:cite web 65:/sandbox 858:| 847:history 845:| 603:Caveats 108:sandbox 37:history 872:pages. 868:create 860:mirror 856:create 623:, and 449:. See 335:serial 151:, and 835:from 781:, or 673:Notes 640:When 509:& 486:, or 439:wraps 331:& 193:Usage 43:] 41:purge 27:[ 876:/doc 843:edit 629:etal 467:Use 347:Mode 339:vanc 123:and 33:edit 29:view 831:is 546:and 523:or 407:CS2 375:CS1 327:and 319:amp 307:cs2 303:cs1 205:or 125:CS2 121:CS1 97:Lua 67:or 892:: 839:. 771:, 761:, 731:, 721:, 711:, 701:, 680:^ 654:. 619:, 615:, 611:, 482:, 337:, 333:, 329:, 325:, 321:, 305:, 141:, 99:: 882:. 870:) 866:( 862:) 854:( 849:) 841:( 811:. 598:. 581:. 572:. 539:. 502:. 394:. 110:) 106:(

Index

view
edit
history
purge
approximately 8,600 pages
/sandbox
/testcases
user subpage
talk page
Lua
Module:Citation/CS1
sandbox
CS1
CS2
Module:Citation/CS1
cite book
cite journal
cite web
CS1 config
Citation
use dmy dates
use mdy dates
Citation Style 1
full stop
Citation Style 2
Bloggs, Joe
Bloggs, Joe
wraps
Module:Citation mode
cite gnis2

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