<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://safernicotine.wiki/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Template%3ACOinS_safe%2Fdoc</id>
	<title>Template:COinS safe/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://safernicotine.wiki/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Template%3ACOinS_safe%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://safernicotine.wiki/mediawiki/index.php?title=Template:COinS_safe/doc&amp;action=history"/>
	<updated>2026-04-05T21:44:25Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>https://safernicotine.wiki/mediawiki/index.php?title=Template:COinS_safe/doc&amp;diff=24940&amp;oldid=prev</id>
		<title>Richardpruen: 1 revision imported: Templates and CSS files</title>
		<link rel="alternate" type="text/html" href="https://safernicotine.wiki/mediawiki/index.php?title=Template:COinS_safe/doc&amp;diff=24940&amp;oldid=prev"/>
		<updated>2022-12-04T17:21:50Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported: Templates and CSS files&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en-GB&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 18:21, 4 December 2022&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en-GB&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Richardpruen</name></author>
	</entry>
	<entry>
		<id>https://safernicotine.wiki/mediawiki/index.php?title=Template:COinS_safe/doc&amp;diff=24939&amp;oldid=prev</id>
		<title>wikipedia&gt;Anomalocaris: insert a pipe</title>
		<link rel="alternate" type="text/html" href="https://safernicotine.wiki/mediawiki/index.php?title=Template:COinS_safe/doc&amp;diff=24939&amp;oldid=prev"/>
		<updated>2020-01-12T07:54:34Z</updated>

		<summary type="html">&lt;p&gt;insert a pipe&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;
&amp;lt;!-- Please add categories at the bottom of this page, and interwikis at Wikidata (see Wikipedia:Wikidata) --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
It is to indicate whether it can be safely used in citation templates. By default, it indicates the template is safe for use.&lt;br /&gt;
&lt;br /&gt;
When the template is set as &amp;quot;not safe&amp;quot;, the page is placed into {{cl|Templates not safe for use in citation templates}}.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
To indicate a template which can be safely used in citation templates: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{COinS safe}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To indicate a template that should &amp;#039;&amp;#039;&amp;#039;NOT&amp;#039;&amp;#039;&amp;#039; be used in citation templates: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{COinS safe|n}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To add extra info after the standard message: {{para|addtext}}&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;width: 25%;&amp;quot;| Code !! Result&lt;br /&gt;
|-&lt;br /&gt;
| {{tlx|COinS safe}} || {{COinS safe}}&lt;br /&gt;
|-&lt;br /&gt;
| {{tlx|COinS safe|n}} || {{COinS safe|n}}&lt;br /&gt;
|-&lt;br /&gt;
| {{tlx|COinS safe|addtext{{=}}Here is the extra info.}} || {{COinS safe|addtext=Here is the extra info.}}&lt;br /&gt;
|-&lt;br /&gt;
| {{tlx|COinS safe|n|addtext{{=}}Here is the extra info.}} || {{COinS safe|n|addtext=Here is the extra info.}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Explain COinS issues ==&lt;br /&gt;
Citation templates such as {{cs1}} and {{cs2}} generate COinS metadata. If a template is used in a citation template field, then it may inject HTML into the metadata.&lt;br /&gt;
&lt;br /&gt;
Compare the rendered HTML for {{tl|cite book}} with {{para|author}} using no template and using {{tl|smallcaps}}.&lt;br /&gt;
&lt;br /&gt;
{| &lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
{{markup&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;{{cite book |author=Sam Drucker |title=Title}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|{{cite book |author=Sam Drucker |title=Title}}&lt;br /&gt;
&lt;br /&gt;
{{code|{{cite book |author=Sam Drucker |title=Title}}}}&lt;br /&gt;
&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;{{cite book |author={{smallcaps|Sam Drucker}} |title=Title}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|{{cite book |author={{smallcaps|Sam Drucker}} |title=Title |&amp;lt;!-- adding template-doc-demo in 2018 to remove this page from the error category while preserving the error message --&amp;gt; template-doc-demo=true}}&lt;br /&gt;
&lt;br /&gt;
{{code|{{cite book |author={{smallcaps|Sam Drucker}} |title=Title}}}}&lt;br /&gt;
}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The author metadata is in the {{code|rft.aulast}} field. In this case, it is percent-encoded and is rendered as &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;span class=&amp;quot;smallcaps&amp;quot; style=&amp;quot;font-variant:small-caps;&amp;quot;&amp;gt;Sam Drucker&amp;lt;/span&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Reference management software will interpret the entire span as the author name.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[w:Wikipedia:Citation templates|Wikipedia:Citation templates]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{sandbox other||&lt;br /&gt;
&amp;lt;!-- Add categories below this line, and interwikis at Wikidata --&amp;gt;&lt;br /&gt;
[[Category:Notice and warning templates]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>wikipedia&gt;Anomalocaris</name></author>
	</entry>
</feed>