<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.vvfh.org/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://wiki.vvfh.org/index.php?action=history&amp;feed=atom&amp;title=Template%3AHatnote_inline%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.vvfh.org/index.php?title=Template:Hatnote_inline/doc&amp;action=history"/>
	<updated>2026-05-12T05:16:54Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.42.1</generator>
	<entry>
		<id>https://wiki.vvfh.org/index.php?title=Template:Hatnote_inline/doc&amp;diff=23566&amp;oldid=prev</id>
		<title>Schmehl: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://wiki.vvfh.org/index.php?title=Template:Hatnote_inline/doc&amp;diff=23566&amp;oldid=prev"/>
		<updated>2017-10-29T01:32:32Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&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|seeabove}} and {{tlx|seebelow}}.}}&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>Schmehl</name></author>
	</entry>
</feed>