<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://pool.calebcooper.ie/index.php?action=history&amp;feed=atom&amp;title=Template%3ACrossreference%2Fdoc</id>
	<title>Template:Crossreference/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://pool.calebcooper.ie/index.php?action=history&amp;feed=atom&amp;title=Template%3ACrossreference%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://pool.calebcooper.ie/index.php?title=Template:Crossreference/doc&amp;action=history"/>
	<updated>2026-04-10T12:29:53Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://pool.calebcooper.ie/index.php?title=Template:Crossreference/doc&amp;diff=13073&amp;oldid=prev</id>
		<title>Caleb Cooper: Text replacement - &quot;[[WP:&quot; to &quot;[[Wikipedia:WP:&quot;</title>
		<link rel="alternate" type="text/html" href="https://pool.calebcooper.ie/index.php?title=Template:Crossreference/doc&amp;diff=13073&amp;oldid=prev"/>
		<updated>2020-10-21T08:12:54Z</updated>

		<summary type="html">&lt;p&gt;Text replacement - &amp;quot;[[WP:&amp;quot; to &amp;quot;[[Wikipedia:WP:&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;
{{Template shortcut|Xref|Crossref}}&lt;br /&gt;
{{lua|Module:Hatnote inline}}&lt;br /&gt;
{{Commons Import}}&lt;br /&gt;
&lt;br /&gt;
The {{tlx|crossreference}} (a.k.a. {{tlx|crossref}} or {{tlx|xref}}) template formats text into a standardized style for an {{em|inline}} (not block-level) &amp;quot;&amp;#039;&amp;#039;(See also ...)&amp;#039;&amp;#039;&amp;quot;-type parenthetical [[MOS:CROSSREF|Wikipedia crossreference]] to other Wikipedia material. When on different pages, these are [[Wikipedia:WP:SELFREF|unprintworthy Wikipedia self-references]].  When crossreferencing material on the same page, they are not. For block-level crossreferences, see the {{tlx|Hatnote}} meta-template and its various progeny ({{tlx|See also}}, etc.). The output is ultimately produced by [[Module:Hatnote inline]]. &lt;br /&gt;
&lt;br /&gt;
See [[:Category:Cross-reference templates]] for other templates derived from or similar to this template.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Basic crossreference to another page:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
{{markup|&amp;lt;nowiki&amp;gt;{{Crossreference|(See also [[Radical Whigs]].)}}&amp;lt;/nowiki&amp;gt;|&lt;br /&gt;
{{Crossreference|(See also [[Radical Whigs]].)}}}}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Basic crossreference on same page:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
{{markup|&amp;lt;nowiki&amp;gt;{{Crossreference|selfref=no|(see [[#Parameters]])}}&amp;lt;/nowiki&amp;gt;|&lt;br /&gt;
{{Crossreference|selfref=no|(see [[#Parameters]])}}}}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;All parameters:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
{{markup|&amp;lt;nowiki&amp;gt;{{Crossreference|text|class=class1 class2|selfref=no}}}}&amp;lt;/nowiki&amp;gt;|&lt;br /&gt;
{{Crossreference|text|class=class1 class2|selfref=no}}}}&lt;br /&gt;
&lt;br /&gt;
The meta-template does not automatically create links of any kind. Links and other desired formatting (round brackets, terminal punctuation) must be explicitly added, using normal [[Wikipedia:Cheatsheet|Wikipedia markup]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--DEPRECATED BY AUTHOR; going to replace them: Usage for links in the same article is discouraged, in favor of the more specific templates {{tlx|See above}} and {{tlx|See below}}.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
&lt;br /&gt;
This template accepts the following parameters:&lt;br /&gt;
* {{para|1}} or {{para|text}} or {{para|content}} – The cross-reference text (required). While the explicit naming of this parameter with &amp;lt;code&amp;gt;1=&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;text=&amp;lt;/code&amp;gt;, or &amp;lt;code&amp;gt;content=&amp;lt;/code&amp;gt; is not required, it is always safest to use it this way, since any &amp;lt;code&amp;gt;=&amp;lt;/code&amp;gt; character in the text will break the template if the parameter is unnamed.&lt;br /&gt;
* {{para|class}} or {{para|extraclasses}} – Any extra CSS classes to be added. This should not normally be used.&lt;br /&gt;
* {{para|selfref|no}} – If set to &amp;lt;kbd&amp;gt;no&amp;lt;/kbd&amp;gt; (or &amp;lt;kbd&amp;gt;n&amp;lt;/kbd&amp;gt;, &amp;lt;kbd&amp;gt;false&amp;lt;/kbd&amp;gt;, &amp;lt;kbd&amp;gt;0&amp;lt;/kbd&amp;gt;, etc.) removes the default CSS class &amp;lt;code&amp;gt;selfref&amp;lt;/code&amp;gt;, used to denote unprintworthy self-references to Wikipedia {{crossref|(see [[Template:Selfref]] for more information)}}. This option should not be used on cross-article links, only links within the same article (and the shorthand templates {{tlx|See above}} and {{tlx|See below}} can be used for this purpose). The parameter aliases {{para|printworthy|yes}} (or with any other value, like &amp;lt;kbd&amp;gt;y&amp;lt;/kbd&amp;gt;, &amp;lt;kbd&amp;gt;true&amp;lt;/kbd&amp;gt;, &amp;lt;kbd&amp;gt;1&amp;lt;/kbd&amp;gt;, etc.) and {{para|unprintworthy|no}} (or &amp;lt;kbd&amp;gt;n&amp;lt;/kbd&amp;gt;, &amp;lt;kbd&amp;gt;false&amp;lt;/kbd&amp;gt;, &amp;lt;kbd&amp;gt;0&amp;lt;/kbd&amp;gt;) have the same effect as {{para|selfref|no}}.&lt;br /&gt;
&lt;br /&gt;
== Redirects ==&lt;br /&gt;
The following alternative names redirect to this template:&lt;br /&gt;
* {{tlx|xref}}&lt;br /&gt;
* {{tlx|crossref}}&lt;br /&gt;
* {{tlx|cross-ref}}&lt;br /&gt;
* {{tlx|cross-reference}}&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* {{tlx|Hatnote inline}}, for the meta-template this template uses, and other templates that use it&lt;br /&gt;
* {{tlx|See above}} and {{tlx|See below}}, some specific, printworthy &amp;quot;child&amp;quot; templates of {{tlx|Crossreference}}&lt;br /&gt;
* [[Template:Hatnote templates documentation]], for all the block-format hatnotes]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{Sandbox other||&lt;br /&gt;
[[Category:Cross-reference templates|{{PAGENAME}}]]&lt;br /&gt;
[[Category:Inline hatnote templates|{{PAGENAME}}]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Template data ==&lt;br /&gt;
&amp;lt;templatedata&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
	&amp;quot;params&amp;quot;: {&lt;br /&gt;
		&amp;quot;text&amp;quot;: {&lt;br /&gt;
			&amp;quot;aliases&amp;quot;: [&lt;br /&gt;
				&amp;quot;1&amp;quot;,&lt;br /&gt;
				&amp;quot;content&amp;quot;&lt;br /&gt;
			]&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;class&amp;quot;: {&lt;br /&gt;
			&amp;quot;aliases&amp;quot;: [&lt;br /&gt;
				&amp;quot;extraclasses&amp;quot;&lt;br /&gt;
			],&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;CSS classes&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;printworthy&amp;quot;: {&lt;br /&gt;
			&amp;quot;aliases&amp;quot;: [&lt;br /&gt;
				&amp;quot;selfref&amp;quot;&lt;br /&gt;
			],&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;boolean&amp;quot;&lt;br /&gt;
		}&lt;br /&gt;
	},&lt;br /&gt;
	&amp;quot;description&amp;quot;: &amp;quot;formats text into a standardized style for an inline (not block-level) \&amp;quot;(See also ...)\&amp;quot;-type parenthetical Wikipedia crossreference to other Wikipedia material.&amp;quot;,&lt;br /&gt;
	&amp;quot;paramOrder&amp;quot;: [&lt;br /&gt;
		&amp;quot;text&amp;quot;,&lt;br /&gt;
		&amp;quot;class&amp;quot;,&lt;br /&gt;
		&amp;quot;printworthy&amp;quot;&lt;br /&gt;
	],&lt;br /&gt;
	&amp;quot;format&amp;quot;: &amp;quot;inline&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/templatedata&amp;gt;&lt;/div&gt;</summary>
		<author><name>Caleb Cooper</name></author>
	</entry>
</feed>