<?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%3AHatnote_inline%2Fdoc</id>
	<title>Template:Hatnote inline/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%3AHatnote_inline%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://pool.calebcooper.ie/index.php?title=Template:Hatnote_inline/doc&amp;action=history"/>
	<updated>2026-04-07T21:22: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:Hatnote_inline/doc&amp;diff=13085&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:Hatnote_inline/doc&amp;diff=13085&amp;oldid=prev"/>
		<updated>2020-10-21T08:12:59Z</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;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 08:12, 21 October 2020&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 7:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 7:&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The most common uses for this meta-template are:&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The most common uses for this meta-template are:&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Inline &quot;&#039;&#039;(See also ...)&#039;&#039;&quot;-type parenthetical [[MOS:CROSSREF|Wikipedia crossreferences]] to other Wikipedia pages, provided by the {{tlx|crossreference}} template and its progeny.  These are [[WP:SELFREF|unprintworthy Wikipedia self-references]].&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Inline &quot;&#039;&#039;(See also ...)&#039;&#039;&quot;-type parenthetical [[MOS:CROSSREF|Wikipedia crossreferences]] to other Wikipedia pages, provided by the {{tlx|crossreference}} template and its progeny.  These are [[&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Wikipedia:&lt;/ins&gt;WP:SELFREF|unprintworthy Wikipedia self-references]].&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Hatnotes inside definitions in [[Wikipedia:Manual of Style/Glossaries|template-formatted glossaries]], provided by the {{tlx|ghat}} template. These are printworthy, as they refer to content on the same page.&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Hatnotes inside definitions in [[Wikipedia:Manual of Style/Glossaries|template-formatted glossaries]], provided by the {{tlx|ghat}} template. These are printworthy, as they refer to content on the same page.&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Caleb Cooper</name></author>
	</entry>
	<entry>
		<id>https://pool.calebcooper.ie/index.php?title=Template:Hatnote_inline/doc&amp;diff=12302&amp;oldid=prev</id>
		<title>Caleb Cooper: Created page with &quot;{{Documentation subpage}} {{lua|Module:Hatnote inline}}  {{Warning|1=This is a meta-template for development of additional, more specific templates. If you intend to use the t...&quot;</title>
		<link rel="alternate" type="text/html" href="https://pool.calebcooper.ie/index.php?title=Template:Hatnote_inline/doc&amp;diff=12302&amp;oldid=prev"/>
		<updated>2020-10-18T22:18:48Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Documentation subpage}} {{lua|Module:Hatnote inline}}  {{Warning|1=This is a meta-template for development of additional, more specific templates. If you intend to use the t...&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;
{{lua|Module:Hatnote inline}}&lt;br /&gt;
&lt;br /&gt;
{{Warning|1=This is a meta-template for development of additional, more specific templates. If you intend to use the template inline in articles or other pages, use {{tlx|crossreference}} (shortcuts or {{tlx|crossref}} and {{tlx|xref}}) or other specific templates based on this metatemplate, e.g. {{tlx|see above}} and {{tlx|see below}}.}}&lt;br /&gt;
&lt;br /&gt;
The {{tl|Hatnote inline}} meta-template formats text into a standardized style for an inline (not block-level) variant of a [[Wikipedia:Hatnote]], a short note placed at the point of insertion, to link to more information or otherwise cross-reference another Wikipedia page. like this: {{hatnote inline|Example inline hatnote text.}}  &amp;lt;!--See [[:Category:Cross-reference templates]] for a list. of templates derived from this meta-template.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The most common uses for this meta-template are:&lt;br /&gt;
* Inline &amp;quot;&amp;#039;&amp;#039;(See also ...)&amp;#039;&amp;#039;&amp;quot;-type parenthetical [[MOS:CROSSREF|Wikipedia crossreferences]] to other Wikipedia pages, provided by the {{tlx|crossreference}} template and its progeny.  These are [[WP:SELFREF|unprintworthy Wikipedia self-references]].&lt;br /&gt;
* Hatnotes inside definitions in [[Wikipedia:Manual of Style/Glossaries|template-formatted glossaries]], provided by the {{tlx|ghat}} template. These are printworthy, as they refer to content on the same page.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
&lt;br /&gt;
; Basic usage:&lt;br /&gt;
 {{tlx|hatnote inline|{{var|text}}}}&lt;br /&gt;
&lt;br /&gt;
; All parameters:&lt;br /&gt;
 {{tlx|hatnote inline|{{var|text}}|extraclasses{{=}}{{var|class1 class2}}|selfref{{=}}yes|category{{=}}no}}&lt;br /&gt;
&lt;br /&gt;
The meta-template does not automatically create links of any kind. Links and other desired formatting must be explicitly added, using normal [[Wikipedia:Cheatsheet|Wikipedia markup]].&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 inline hatnote&amp;#039;s 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}} &amp;amp;ndash; 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 to indicate a non-selfref on cross-article links, only links within the same article (and the derived shorthand templates {{tlx|See above}} and {{tlx|See below}} do this automatically). The parameter alias {{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.) has the same effect as {{para|selfref|no}}.  Note the attempting to manually supply a &amp;quot;this is a selfref&amp;quot; value with {{para|selfref|yes}} or {{para|printworthy|no}} will not have the desired effect (which is the default anyway); {{em|the meta-template is set to selfref by default}}, since most uses are self-references (only those within the same article as the template are not).&lt;br /&gt;
* {{para|category}} 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., suppresses the error-tracking category ([[:Category:Hatnote templates with errors]]). This only has an effect if the first positional parameter (the hatnote text) is omitted. This should not normally be used.&lt;br /&gt;
&lt;br /&gt;
== Technical details ==&lt;br /&gt;
&lt;br /&gt;
The meta-template places an HTML {{tag|span}} container around the text entered as its first, required parameter, upon which it provides standardized formatting (italicized in most displays, and only stylistically, not as semantic emphasis); it also uses CSS classes to isolate the contained code to make sure that it is interpreted correctly and can be acted upon independently of true article content.&lt;br /&gt;
&lt;br /&gt;
The HTML code produced by this template looks like this:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;span class=&amp;quot;hatnote&amp;quot;&amp;gt;&amp;lt;/nowiki&amp;gt;{{var|hatnote text}}&amp;lt;nowiki&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This is the same class used by the {{tag|div|o}}-based {{tlx|hatnote}} template, the block display of which is controlled by a separate &amp;lt;code&amp;gt;div.hatnote&amp;lt;/code&amp;gt; directive in [[Mediawiki:Common.css]].&lt;br /&gt;
&lt;br /&gt;
The output is produced by [[Module:Hatnote inline]].&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Template:Hatnote templates documentation]], for all the block-format hatnotes&lt;br /&gt;
&lt;br /&gt;
=== Templates based on this meta-template ===&lt;br /&gt;
* {{tl|Crossreference}} (a.k.a. {{tl|Crossref}}, {{tl|Xref}}) &amp;amp;ndash; Template for inline crossreferences to (usually) other Wikipedia pages (unprintworthy in most cases)&lt;br /&gt;
* {{tl|Ghat}} &amp;amp;ndash; Hatnote template for use in [[MOS:GLOSSARIES|template-structured glossaries]] (printworthy)&lt;br /&gt;
* {{tl|See above}} and {{tl|See below}} &amp;amp;ndash; some more specific templates than {{tl|Crossreference}} for use on same page only (printworthy)&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{sandbox other||&lt;br /&gt;
[[Category:Cross-reference templates|{{PAGENAME}}]]&lt;br /&gt;
[[Category:Hatnote templates| ]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Caleb Cooper</name></author>
	</entry>
</feed>