<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
		<id>http://www.mansun.wiki/index.php?action=history&amp;feed=atom&amp;title=Template%3ASelfref%2Fdoc</id>
		<title>Template:Selfref/doc - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://www.mansun.wiki/index.php?action=history&amp;feed=atom&amp;title=Template%3ASelfref%2Fdoc"/>
		<link rel="alternate" type="text/html" href="http://www.mansun.wiki/index.php?title=Template:Selfref/doc&amp;action=history"/>
		<updated>2026-06-15T03:53:07Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.26.2</generator>

	<entry>
		<id>http://www.mansun.wiki/index.php?title=Template:Selfref/doc&amp;diff=2468&amp;oldid=prev</id>
		<title>DarkMavis: Created page with &quot;{{Documentation subpage}} &lt;!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE, AND INTERWIKIS TO WIKIDATA. --&gt;  == Usage ==  {{tl|Selfref}} is a template that is used to mar...&quot;</title>
		<link rel="alternate" type="text/html" href="http://www.mansun.wiki/index.php?title=Template:Selfref/doc&amp;diff=2468&amp;oldid=prev"/>
				<updated>2015-07-16T14:04:03Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Documentation subpage}} &amp;lt;!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE, AND INTERWIKIS TO WIKIDATA. --&amp;gt;  == Usage ==  {{tl|Selfref}} is a template that is used to mar...&amp;quot;&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 TO WIKIDATA. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
&lt;br /&gt;
{{tl|Selfref}} is a template that is used to mark pieces of text and links that wouldn't make sense in [[WP:Reusing Wikipedia content|reuses of Wikipedia article content]] elsewhere: see [[Wikipedia:Self-references to avoid]].  This template should not be [[WP:Template substitution|substituted]].&lt;br /&gt;
&lt;br /&gt;
In most cases, {{tlf|Selfref}} is used to create a disambiguation link to a page in the &amp;quot;Wikipedia:&amp;quot; namespace from article-space; for instance, the page [[Objectivity (disambiguation)]] could have a self-referential &amp;quot;[[WP:HATNOTE|hatnote]]&amp;quot; link at the top: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Selfref|For Wikipedia's policy on avoiding bias, see [[Wikipedia:Neutral point of view]].}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
When using {{tlf|Selfref}} in this way, use the following format:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{Selfref|The self-referential notice to display, including links.}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
which produces:&lt;br /&gt;
{{Selfref|The self-referential notice to display, including links.}}&lt;br /&gt;
When using {{tlf|Selfref}} in this way, the text will be indented slightly, italicized (Wikipedia house style for self-referential notes), and both preceded and followed by a linebreak.&lt;br /&gt;
&lt;br /&gt;
To use it inline without the indentation and line breaking, add the parameter {{para||inline}}:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{Selfref|the self-referential text to display, including links|inline}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
or use the alias {{tl|Selfref-inline}}:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{Selfref-inline|the self-referential text to display, including links}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
both of which produce: {{Selfref-inline|the self-referential text to display, including links}} (illustrated here on the same line as other content).&lt;br /&gt;
&lt;br /&gt;
===Unprintworthy content===&lt;br /&gt;
Rarely, there is other, non-self-referential content which shouldn't appear in mirrors, print editions, or other off-Wikipedia reuses of Wikipedia content, and which shouldn't be italicized as a self-reference.&lt;br /&gt;
It is preferable to mark such unprintworthy content with the {{tl|Unprintworthy-inline}} template (which includes the &amp;lt;code&amp;gt;noprint&amp;lt;/code&amp;gt; CSS class, but not the &amp;lt;code&amp;gt;plainlinks&amp;lt;/code&amp;gt; class, since links in such content will not be internal self-references). Although not all [[WP:Mirrors and forks|mirror sites]] do so, the content in question can be removed by reusers of WP content, without any reformatting, by ignoring or removing content marked up by this template, or more accurately by the &amp;lt;code&amp;gt;selfreference&amp;lt;/code&amp;gt; CSS class that it (and some other templates) use.&lt;br /&gt;
&lt;br /&gt;
A &amp;quot;brittle&amp;quot;, legacy usage of {{tlf|Selfref}} has technically also been used for such unprintworthy cases, and pre-dates the {{tl|Unprintworthy-inline}} template.  This is to simply end the template with a pipe character &amp;amp;ndash; &amp;lt;code&amp;gt;|&amp;lt;/code&amp;gt;:&lt;br /&gt;
{{dc2|1=&amp;lt;pre&amp;gt;&lt;br /&gt;
{{Selfref|the unprintworthy text to display without self-ref styling|}}&amp;lt;/pre&amp;gt;}}&lt;br /&gt;
This method cannot be depended upon (for one thing, many editors will interpret the pipe as an error and remove it, turning the template into a indented self-ref hatnote!). This syntax has been obsolete since 2008, and any remaining uses of it should be replaced with {{tl|Selfref-inline}} (if real self-references) or {{tl|Unprintworthy-inline}} (if simply unprintworthy).&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&lt;br /&gt;
{|border=1 class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Code !! Page on Wikipedia !! Page on [some] mirrors&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Selfref|For the Wikipedia Sandbox, see [[WP:SAND]]}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;The Wikipedia Sandbox is a page on Wikipedia. {{Selfref|(You can edit it by clicking &amp;quot;edit&amp;quot; on the page.)|inline}} It has been edited many times.&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
| {{Selfref|For the Wikipedia Sandbox, see [[WP:SAND]]}}&lt;br /&gt;
&lt;br /&gt;
The Wikipedia Sandbox is a page on Wikipedia. {{Selfref|(You can edit it by clicking &amp;quot;edit&amp;quot; on the page.)|inline}} It has been edited many times.&lt;br /&gt;
| The Wikipedia Sandbox is a page on Wikipedia. It has been edited many times.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
*[[Wikipedia:Self-references to avoid]]&lt;br /&gt;
*{{tl|srlink}}, for the opposite case when you want a link to the Wikipedia: namespace that ''does'' show in mirrors without breaking (for instance when writing an article about Wikipedia or something connected to it).&lt;br /&gt;
* [[Wikipedia:Hatnote]]&lt;br /&gt;
{{Navbox hatnote templates|state=collapsed}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;&amp;lt;!--&lt;br /&gt;
++++ PLEASE ADD CATEGORIES BELOW THIS LINE, THANK YOU. --&amp;gt;&lt;br /&gt;
&amp;lt;!--Categories--&amp;gt;&lt;br /&gt;
[[Category:Disambiguation and redirection templates]]&amp;lt;!--For frequent use atop DAB pages; it's not actually a DAB/redir template, per se.--&amp;gt;&lt;br /&gt;
[[Category:Wikipedia page-section templates]]&amp;lt;!--hatnote usage only--&amp;gt;&lt;br /&gt;
[[Category:Wikipedia utility templates]]&amp;lt;!--both forms--&amp;gt;&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>DarkMavis</name></author>	</entry>

	</feed>