<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.foxopedia.org/index.php?action=history&amp;feed=atom&amp;title=Template%3ACS1_config%2Fdoc</id>
	<title>Template:CS1 config/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.foxopedia.org/index.php?action=history&amp;feed=atom&amp;title=Template%3ACS1_config%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://www.foxopedia.org/index.php?title=Template:CS1_config/doc&amp;action=history"/>
	<updated>2026-04-30T15:28:21Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.17</generator>
	<entry>
		<id>https://www.foxopedia.org/index.php?title=Template:CS1_config/doc&amp;diff=1225&amp;oldid=prev</id>
		<title>Jterlecki: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://www.foxopedia.org/index.php?title=Template:CS1_config/doc&amp;diff=1225&amp;oldid=prev"/>
		<updated>2025-08-11T02:36:43Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 02:36, 11 August 2025&lt;/td&gt;
				&lt;/tr&gt;
&lt;!-- diff cache key foxydb-foxy_:diff:wikidiff2:1.12:old-1224:rev-1225:1.13.0 --&gt;
&lt;/table&gt;</summary>
		<author><name>Jterlecki</name></author>
	</entry>
	<entry>
		<id>https://www.foxopedia.org/index.php?title=Template:CS1_config/doc&amp;diff=1224&amp;oldid=prev</id>
		<title>w&gt;Waddie96: link</title>
		<link rel="alternate" type="text/html" href="https://www.foxopedia.org/index.php?title=Template:CS1_config/doc&amp;diff=1224&amp;oldid=prev"/>
		<updated>2025-07-25T16:47:02Z</updated>

		<summary type="html">&lt;p&gt;link&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
{{High-use}}&lt;br /&gt;
&amp;lt;!-- Categories go where indicated at the bottom of this page, please; interwikis go to Wikidata (see also: [[Wikipedia:Wikidata]]). --&amp;gt;&lt;br /&gt;
{{csdoc|lua}}&lt;br /&gt;
For [[MOS:CONSISTENT|consistency]] within articles, this template sets certain parameters for all [[WP:CS1|CS1]] and [[WP:CS2|CS2]] [[Wikipedia:Citing sources|reference citation]] templates on a page.&amp;lt;ref name=&amp;quot;covered-templates&amp;quot; /&amp;gt; [[Module:Citation/CS1]] generates widely-used [[Wikipedia:Citation templates|citation templates]] like {{tl|cite book}}, {{tl|cite journal}}, and {{tl|cite web}}. This Module checks the article for {{tl|CS1 config}}.  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.&amp;lt;ref&amp;gt;The CS1 config template produces no output of its own.&amp;lt;/ref&amp;gt; This provides stylistic consistency in the rendered output without editing every template in the article. For example, instead of adding {{para|mode|cs1}} to each {{tl|Citation}} template on a page using mostly CS1 templates, &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{CS1 config|mode=cs1}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; can be added once to the article and will have the same effect.&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
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 {{tlx|use dmy dates}} or {{tlx|use mdy dates}} (if present).&lt;br /&gt;
&lt;br /&gt;
As an example, if you want all cs1|2 templates in the article to render as if they were {{tld|citation}} templates (cs2) and to have all namelists in these templates include an ampersand between the last two names in each list, you might write:&lt;br /&gt;
:&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{cs1 config |name-list-style=amp |mode=cs2}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Settings parameters==&lt;br /&gt;
{{tld|CS1 config}} supports these settings parameters:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Supported settings parameters&lt;br /&gt;
|-&lt;br /&gt;
! Parameters !! Acceptable values&lt;br /&gt;
|-&lt;br /&gt;
| {{para|display-authors}} || rowspan=&amp;quot;5&amp;quot; | numeric values only&lt;br /&gt;
|-&lt;br /&gt;
| {{para|display-contributors}}&lt;br /&gt;
|-&lt;br /&gt;
| {{para|display-editors}}&lt;br /&gt;
|-&lt;br /&gt;
| {{para|display-interviewers}}&lt;br /&gt;
|-&lt;br /&gt;
| {{para|display-translators}}&lt;br /&gt;
|-&lt;br /&gt;
| {{para|mode}} || &amp;lt;code&amp;gt;cs1&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;cs2&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| {{para|name-list-style}} || &amp;lt;code&amp;gt;amp&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;ampersand&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;and&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;&amp;amp;&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;serial&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;vanc&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Mode==&lt;br /&gt;
The commonly-used citation templates on Wikipedia have two style modes.&amp;lt;ref name=&amp;quot;covered-templates&amp;quot;&amp;gt;This covers all templates that directly invoke [[Module:Citation/CS1]], including the CS1 templates {{tl|cite web}}, {{tl|cite news}}, {{tl|cite book}}, {{tl|cite journal}}, {{tl|cite magazine}}, and so on. It includes the general purpose CS2 template {{tl|Citation}}. It also includes templates are wrappers for these templates like {{tl|cite CE1913}}, {{tl|cite Google Maps}}, {{tl|cite tweet}}, or {{tl|cite ADB}}. There are some templates with &amp;quot;cite xxx&amp;quot; names, like {{tl|cite patent}}, that are technically unrelated, do not invoke Module:Citation/CS1, and will be unaffected by any parameters of {{tl|cs1 config}}.&amp;lt;/ref&amp;gt; These modes change how the citation is punctuated when it&amp;#039;s rendered. Use {{para|mode|cs1}} to choose [[Help:Citation Style 1|Citation Style 1]]. CS1 primarily uses a [[full stop]] to separate elements. Use {{para|mode|cs2}} to choose [[Help:Citation Style 2|Citation Style 2]]. CS2 primarily uses the comma as a separator.&lt;br /&gt;
&lt;br /&gt;
=== CS1 ===&lt;br /&gt;
{{para|mode|cs1}}&lt;br /&gt;
&lt;br /&gt;
* {{xt|{{cite book |mode=cs1 |last=Bloggs |first=Joe |author-link=Joe Bloggs |date=1974 |title=Book of Bloggs}}}}&lt;br /&gt;
* Full stops, also known as periods, separate the individual elements of the rendered citation. &lt;br /&gt;
* A full stop comes at the end of the rendered citation.&lt;br /&gt;
&lt;br /&gt;
=== CS2 ===&lt;br /&gt;
{{para|mode|cs2}}&lt;br /&gt;
&lt;br /&gt;
* {{xt|{{cite book |mode=cs2 |last=Bloggs |first=Joe |author-link=Joe Bloggs |date=1974 |title=Book of Bloggs}}}}&lt;br /&gt;
* Commas separate the individual elements of the rendered citation. &lt;br /&gt;
* No terminal punctuation comes at the end of the rendered citation.&lt;br /&gt;
&lt;br /&gt;
If a template [[Module:Template wrapper/doc|wraps]] another citation template and sets its mode, then it should use [[Module:Citation mode]] to obey {{para|mode}}. See {{tl|cite gnis2}} for an example.&lt;br /&gt;
&lt;br /&gt;
== Name list style ==&lt;br /&gt;
Use {{para|name-list-style}} to change how the list of authors is formatted.&lt;br /&gt;
&lt;br /&gt;
=== Ampersand ===&lt;br /&gt;
{{para|name-list-style|amp}}, {{para|name-list-style|ampersand}}, or {{para|name-list-style|&amp;amp;}}&lt;br /&gt;
&lt;br /&gt;
* {{xt|{{cite book |name-list-style=amp |last1=Bloggs |first1=Joe |author-link1=Joe Bloggs |last2=Smith |first2=John |last3=Smythe |first3=Jim |title=1000 Acres |date=1990}}}}&lt;br /&gt;
* Inserts an ampersand ({{xt|&amp;amp;}}) between the last two names in a name list when there are multiple authors.&lt;br /&gt;
&lt;br /&gt;
=== Conjunction &amp;quot;and&amp;quot; ===&lt;br /&gt;
{{para|name-list-style|and}} or {{para|name-list-style|serial}}&lt;br /&gt;
&lt;br /&gt;
* {{xt|{{cite book |name-list-style=and |last1=Bloggs |first1=Joe |author-link1=Joe Bloggs |last2=Smith |first2=John |last3=Smythe |first3=Jim |title=1000 Acres |date=1990}}}}&lt;br /&gt;
* Inserts the conjunction &amp;quot;{{xt|and}}&amp;quot; between the last two names of a name list when there are multiple authors.&lt;br /&gt;
&lt;br /&gt;
=== Vancouver style ===&lt;br /&gt;
{{para|name-list-style|vanc}}&lt;br /&gt;
&lt;br /&gt;
* {{xt|{{cite book |name-list-style=vanc |last1=Bloggs |first1=Joe |author-link1=Joe Bloggs |last2=Smith |first2=John |last3=Smythe |first3=Jim |title=1000 Acres |date=1990}}}}&lt;br /&gt;
* Abbreviates first names as done in the [[Vancouver system|Vancouver style]].&lt;br /&gt;
* Uses neither an ampersand nor the conjunction &amp;quot;and&amp;quot;.&lt;br /&gt;
* Only applies when using the separate {{para|first}} type parameters for first names.&lt;br /&gt;
* Vancouver style [[Help:CS1_errors#vancouver|restricts author or editor names to the Latin alphabet]].&lt;br /&gt;
&lt;br /&gt;
==Caveats==&lt;br /&gt;
None of the {{para|display-authors}}, {{para|display-contributors}}, {{para|display-editors}}, {{para|display-interviewers}}, and {{para|display-translators}} will accept the &amp;lt;code&amp;gt;etal&amp;lt;/code&amp;gt; keyword.  Were they to do so, &amp;#039;et al.&amp;#039; would be attached to every name list that correctly has only one name.  For example, we do not want &amp;#039;Darwin, Charles; et al.&amp;#039; for &amp;#039;&amp;#039;[[On the Origin of Species]]&amp;#039;&amp;#039; because there are no other authors whose names have been omitted.&lt;br /&gt;
&lt;br /&gt;
When {{tld|CS1 config}} 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 {{color|#3a3|CS1 maint: overridden setting}} message and [[:Category:CS1 maint: overridden setting|category]]. CS1 templates which set a default {{para|mode}} in the Template [[WP:namespace|namespace]] should do so with [[Module:Citation mode]] so that the default may be overridden by {{tl|CS1 config}} without producing this error.&lt;br /&gt;
&lt;br /&gt;
This template is ignored when used in the Template namespace.&lt;br /&gt;
&lt;br /&gt;
==Error handling==&lt;br /&gt;
For technical reasons, errors occurring in this template ({{para|display-authors|etal}} for example) cannot be annotated.  When such errors occur, Module:Citation/CS1 ignores the malformed setting.&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{Sandbox other||&lt;br /&gt;
&amp;lt;!-- Categories below this line, please; interwikis at Wikidata --&amp;gt;&lt;br /&gt;
[[Category:Templates with no visible output]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>w&gt;Waddie96</name></author>
	</entry>
</feed>