
<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://zoophilia.wiki/index.php?action=history&amp;feed=atom&amp;title=Module%3ACite%2Fdoc</id>
	<title>Module:Cite/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://zoophilia.wiki/index.php?action=history&amp;feed=atom&amp;title=Module%3ACite%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://zoophilia.wiki/index.php?title=Module:Cite/doc&amp;action=history"/>
	<updated>2026-05-10T18:53:58Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://zoophilia.wiki/index.php?title=Module:Cite/doc&amp;diff=133997&amp;oldid=prev</id>
		<title>SockyPaws: Create module documentation subpage</title>
		<link rel="alternate" type="text/html" href="https://zoophilia.wiki/index.php?title=Module:Cite/doc&amp;diff=133997&amp;oldid=prev"/>
		<updated>2025-12-22T15:39:11Z</updated>

		<summary type="html">&lt;p&gt;Create module documentation subpage&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{High-risk|article-space=yes|no-percent=yes}}&lt;br /&gt;
{{Notice|This module should &amp;#039;&amp;#039;only&amp;#039;&amp;#039; be used on articles that are near the [[wikipedia:Help:Template limits#Post-expand include size|post-expand include size]] limit, in order to prevent them from exceeding it. Unless there is a pressing technical need, use the appropriate CS1 and {{Template link general|Citation}} templates.}}&lt;br /&gt;
{{Lua|Module:Arguments|Module:Citation/CS1|Module:Cite/config}}&lt;br /&gt;
{{Citation Style documentation|cs1}}&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
This module may be used to replace any of the CS1/CS2 templates in articles that are nearing the [[wikipedia:Help:Template limits#Post-expand include size|post-expand include size]] limit. Such use should only be done to prevent an article from exceeding the limit. If necessary, this module may be used in templates that wrap a CS1/CS2 template.&lt;br /&gt;
&lt;br /&gt;
=== Examples ===&lt;br /&gt;
This module requires no parameters, but does require the canonical name of a CS1 template, without the &amp;lt;code&amp;gt;Cite&amp;lt;/code&amp;gt; prefix, a la &amp;lt;code&amp;gt;Cite book&amp;lt;/code&amp;gt; → &amp;lt;code&amp;gt;Book&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;Cite web&amp;lt;/code&amp;gt; → &amp;lt;code&amp;gt;Web&amp;lt;/code&amp;gt;. To replace {{Template link general|Citation}} templates, use &amp;lt;code&amp;gt;Citation&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The structure for calls to this module is…&lt;br /&gt;
: &amp;lt;code&amp;gt;{&amp;amp;lbrace;{{Color|#00f|#invoke}}:Cite|&amp;amp;lt;{{Var|template name}}&amp;amp;gt;|&amp;amp;lt;{{Var|CS1 parameters…}}&amp;gt;&amp;amp;rbrace;}&amp;lt;/code&amp;gt;&lt;br /&gt;
…where:&lt;br /&gt;
: &amp;lt;code&amp;gt;{{Color|#00f|#invoke}}:Cite&amp;lt;/code&amp;gt; – calls this module, [[Module:Cite|Cite]].&lt;br /&gt;
: &amp;lt;code&amp;gt;|&amp;amp;lt;{{Var|template name}}&amp;amp;gt;&amp;lt;/code&amp;gt; – is the canonical name of the template, without the &amp;lt;code&amp;gt;Cite&amp;lt;/code&amp;gt; prefix; this is the &amp;lt;code&amp;gt;#invoke:&amp;lt;/code&amp;gt; function call; it is case-insensitive.&lt;br /&gt;
: &amp;lt;code&amp;gt;|&amp;amp;lt;{{Var|CS1 parameters…}}&amp;amp;gt;&amp;lt;/code&amp;gt; – are all of the parameters required by {{Template link general|nolink=on|Cite &amp;amp;lt;template name&amp;amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
To go from {{Template link general|Cite book}}:&lt;br /&gt;
: &amp;lt;code&amp;gt;{&amp;amp;lbrace;&amp;#039;&amp;#039;&amp;#039;{{Color|#008000|Cite book}}&amp;#039;&amp;#039;&amp;#039;|{{Color|#767600|last}}{{Color|#666|&amp;amp;equals;}}Green|{{Color|#767600|first}}{{Color|#666|&amp;amp;equals;}}E.B.|{{Color|#767600|year}}{{Color|#666|&amp;amp;equals;}}1915|{{Color|#767600|title}}{{Color|#666|&amp;amp;equals;}}Title|{{Color|#767600|publisher}}{{Color|#666|&amp;amp;equals;}}PseudoRandom&amp;amp;rbrace;}&amp;lt;/code&amp;gt;&lt;br /&gt;
:: {{Cite book|last=Green|first=E.B.|year=1915|title=Title|publisher=PseudoRandom}}&lt;br /&gt;
…use wiki markup that follows this rubric:&lt;br /&gt;
: &amp;lt;code&amp;gt;{&amp;amp;lbrace;{{Color|#00f|#invoke}}:&amp;#039;&amp;#039;&amp;#039;{{Color|#008000|Cite}}&amp;#039;&amp;#039;&amp;#039;|book|{{Color|#767600|last}}{{Color|#666|&amp;amp;equals;}}Green|{{Color|#767600|first}}{{Color|#666|&amp;amp;equals;}}E.B.|{{Color|#767600|year}}{{Color|#666|&amp;amp;equals;}}1915|{{Color|#767600|title}}{{Color|#666|&amp;amp;equals;}}Title|{{Color|#767600|publisher}}{{Color|#666|&amp;amp;equals;}}PseudoRandom&amp;amp;rbrace;}&amp;lt;/code&amp;gt;&lt;br /&gt;
:: {{#invoke:Cite|book|last=Green|first=E.B.|year=1915|title=Title|publisher=PseudoRandom}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{#ifeq:{{SUBPAGENAME}}|sandbox||&amp;lt;!-- Please add category links below this line. Thank you! --&amp;gt;&lt;br /&gt;
[[Category:Templates based on the Citation/CS1 Lua module]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>SockyPaws</name></author>
	</entry>
</feed>