<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="hu">
	<id>https://wiki.trashforum.org/index.php?action=history&amp;feed=atom&amp;title=Sablon%3ACrossreference%2Fdoc</id>
	<title>Sablon:Crossreference/doc - Laptörténet</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.trashforum.org/index.php?action=history&amp;feed=atom&amp;title=Sablon%3ACrossreference%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.trashforum.org/index.php?title=Sablon:Crossreference/doc&amp;action=history"/>
	<updated>2026-05-08T17:16:05Z</updated>
	<subtitle>Az oldal laptörténete a wikiben</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://wiki.trashforum.org/index.php?title=Sablon:Crossreference/doc&amp;diff=1008&amp;oldid=prev</id>
		<title>BarathéGábor: 1 változat importálva</title>
		<link rel="alternate" type="text/html" href="https://wiki.trashforum.org/index.php?title=Sablon:Crossreference/doc&amp;diff=1008&amp;oldid=prev"/>
		<updated>2025-01-21T05:24:45Z</updated>

		<summary type="html">&lt;p&gt;1 változat importálva&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;hu&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Régebbi változat&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;A lap 2025. január 21., 07:24-kori változata&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;hu&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(Nincs különbség)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>BarathéGábor</name></author>
	</entry>
	<entry>
		<id>https://wiki.trashforum.org/index.php?title=Sablon:Crossreference/doc&amp;diff=1007&amp;oldid=prev</id>
		<title>w&gt;Jruderman: Fix link to CSS</title>
		<link rel="alternate" type="text/html" href="https://wiki.trashforum.org/index.php?title=Sablon:Crossreference/doc&amp;diff=1007&amp;oldid=prev"/>
		<updated>2024-07-19T21:58:59Z</updated>

		<summary type="html">&lt;p&gt;Fix link to CSS&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Új lap&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
{{High-use}}&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 {{slink|#Parameters}})}}&amp;lt;/nowiki&amp;gt;|&lt;br /&gt;
{{ {{ROOTPAGENAME}}|selfref=no|(see {{slink|#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 {{pval|no}} (or {{pval|n}}, {{pval|false}}, {{pval|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 {{crossreference|(see [[Template:Self-reference]] 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 {{para|pw|yes}} (also with any other value, like {{pval|y}}, {{pval|true}}, {{pval|1}}, etc.) and {{para|unprintworthy|no}} (or {{pval|n}}, {{pval|false}}, {{pval|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. Note: These parameters are not yet &amp;quot;smart&amp;quot;, and do not detect opposite values; that is, {{para|printworthy|{{!xt|no}}}} and {{para|unprintworthy|{{!xt|yes}}}} will not have the desired effect (and would be redundant anyway, since unprintworthiness is the default).&lt;br /&gt;
* {{para|inline}} – Defaults to {{pval|yes}}. If set to {{pval|no}} (or {{pval|n}}, {{pval|false}}, {{pval|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;
&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;
* {{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;
== 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>w&gt;Jruderman</name></author>
	</entry>
</feed>