<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.therofl98.co/w/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://wiki.therofl98.co/w/index.php?action=history&amp;feed=atom&amp;title=Template%3ACOinS_safe%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.therofl98.co/w/index.php?title=Template:COinS_safe/doc&amp;action=history"/>
	<updated>2026-06-04T01:26:07Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.42.1</generator>
	<entry>
		<id>https://wiki.therofl98.co/w/index.php?title=Template:COinS_safe/doc&amp;diff=3065&amp;oldid=prev</id>
		<title>TheROFL98: Created page with &quot;{{Documentation subpage}}&lt;!-- Categories and interwikis go at the bottom of this page. --&gt;  == Usage == This template is a notice for templates that may be used in citation te...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.therofl98.co/w/index.php?title=Template:COinS_safe/doc&amp;diff=3065&amp;oldid=prev"/>
		<updated>2019-03-07T22:18:28Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Documentation subpage}}&amp;lt;!-- Categories and interwikis go at the bottom of this page. --&amp;gt;  == Usage == This template is a notice for templates that may be used in citation te...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation subpage}}&amp;lt;!-- Categories and interwikis go at the bottom of this page. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
This template is a notice for templates that may be used in citation templates. By default, it indicates the template is safe for use as shown above.&lt;br /&gt;
&lt;br /&gt;
To indicate a template that should not be used in a citation template:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{COinS safe|n}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;{{COinS safe|n}}&lt;br /&gt;
&lt;br /&gt;
* {{para|addtext}} — additional text shown after the main message&lt;br /&gt;
&lt;br /&gt;
When the template is set to not safe, the page is placed into {{cl|Templates not safe for use in citation templates}}.&lt;br /&gt;
&lt;br /&gt;
== Issue ==&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}}.&amp;lt;div style=&amp;quot;overflow:auto;&amp;quot;&amp;gt;{{markup|&amp;lt;nowiki&amp;gt;{{cite book |author=Sam Drucker |title=Title}}&amp;lt;/nowiki&amp;gt;|{{cite book |author=Sam Drucker |title=Title}}&lt;br /&gt;
&lt;br /&gt;
{{code|{{cite book |author=Sam Drucker |title=Title}}}}|&amp;lt;nowiki&amp;gt;{{cite book |author={{smallcaps|Sam Drucker}} |title=Title}}&amp;lt;/nowiki&amp;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;
&amp;lt;/div&amp;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;/div&gt;</summary>
		<author><name>TheROFL98</name></author>
	</entry>
</feed>