<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://moasspedia.org/w/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://moasspedia.org/w/index.php?action=history&amp;feed=atom&amp;title=Template%3ACrossreference%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://moasspedia.org/w/index.php?title=Template:Crossreference/doc&amp;action=history"/>
	<updated>2026-04-08T22:26:14Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.37.2</generator>
	<entry>
		<id>https://moasspedia.org/w/index.php?title=Template:Crossreference/doc&amp;diff=12807&amp;oldid=prev</id>
		<title>Wikipedia&gt;Nthep: Restored revision 1015921868 by SMcCandlish (talk): Rvv</title>
		<link rel="alternate" type="text/html" href="https://moasspedia.org/w/index.php?title=Template:Crossreference/doc&amp;diff=12807&amp;oldid=prev"/>
		<updated>2021-07-09T21:59:00Z</updated>

		<summary type="html">&lt;p&gt;Restored revision 1015921868 by &lt;a href=&quot;/wiki/Special:Contributions/SMcCandlish&quot; title=&quot;Special:Contributions/SMcCandlish&quot;&gt;SMcCandlish&lt;/a&gt; (&lt;a href=&quot;/w/index.php?title=User_talk:SMcCandlish&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;User talk:SMcCandlish (page does not exist)&quot;&gt;talk&lt;/a&gt;): Rvv&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;
{{Uses TemplateStyles|{{NAMESPACE}}:{{ROOTPAGENAME}}/styles.css}}&lt;br /&gt;
&lt;br /&gt;
The {{tlx|{{ROOTPAGENAME}}}} (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 [[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]].  It actually does support a block-level mode, however, for special cases (see parameter documentation below).&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;
The 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;
&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;
&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;
{{ {{ROOTPAGENAME}}|(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;
{{ {{ROOTPAGENAME}}|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|class=class1 class2|selfref=no|inline=no|Blargh:&lt;br /&gt;
* Foo&lt;br /&gt;
* Bar&lt;br /&gt;
* Baz&lt;br /&gt;
}}&amp;lt;/nowiki&amp;gt;|&lt;br /&gt;
{{ {{ROOTPAGENAME}}|class=class1 class2|selfref=no|inline=no|Blargh:&lt;br /&gt;
* Foo&lt;br /&gt;
* Bar&lt;br /&gt;
* Baz&lt;br /&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 {{para|1}}, {{para|text}}, or {{para|content}} is not required, it is always safest to use it this way, since any {{kbd|{{=}}}} 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 {{kbd|no}} (or {{kbd|n}}, {{kbd|false}}, {{kbd|0}}, 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 {{kbd|y}}, {{kbd|true}}, {{kbd|1}}, etc.) and {{para|unprintworthy|no}} (or {{kbd|n}}, {{kbd|false}}, {{kbd|0}}) have the same effect as {{para|selfref|no}}.  This can also be used for cross-references between internal Wikipedia pages such as guidelines and policies; there is no rationale to suppress the printing-out of links in this case.&lt;br /&gt;
* {{para|inline}} – Defaults to {{kbd|yes}}. If set to {{kbd|no}} (or {{kbd|n}}, {{kbd|false}}, {{kbd|0}}, etc.), it will use a {{tag|div|o}} element instead of a {{tag|span|o}}, so you can use block-level elements inside it, such as a list. The difference between {{tnull|{{ROOTPAGENAME}}|inline{{=}}no|...}} and {{tlx|Hatnote|...}} is that the former is not indented the way the latter is. This de-indentation is done by [[WP:TemplateStyles]], specifically in [[Template::{{ROOTPAGENAME}}/styles.css]].&lt;br /&gt;
&lt;br /&gt;
== CSS ==&lt;br /&gt;
This template always adds the CSS class &amp;lt;code&amp;gt;crossreference&amp;lt;/code&amp;gt;, so you can use [[WP:User styles]] to do as you wish with it. You will need to use &amp;lt;code&amp;gt;!important&amp;lt;/code&amp;gt; probably only in the case that you want to override this template&amp;#039;s non-indentation when it is in block mode (i.e., when you do want it indented the way {{tlx|Hatnote}} works), and you&amp;#039;ll be doing this with on-site user style, such as [[Special:MyPage/common.css]]. This is because TemplateStyles actually load after on-site user styles, so you must override the TemplateStyle with the &amp;lt;code&amp;gt;!important&amp;lt;/code&amp;gt; priority flag.&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}} – 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|{{ROOTPAGENAME}}}}&lt;br /&gt;
* [[Template:Hatnote templates documentation]] – docs 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;
{{TemplateData header}}&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;inline&amp;quot;: {&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;boolean&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;printworthy&amp;quot;,&lt;br /&gt;
		&amp;quot;class&amp;quot;,&lt;br /&gt;
		&amp;quot;inline&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>Wikipedia&gt;Nthep</name></author>
	</entry>
</feed>