<?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%3AGhat%2Fdoc</id>
	<title>Template:Ghat/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%3AGhat%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://moasspedia.org/w/index.php?title=Template:Ghat/doc&amp;action=history"/>
	<updated>2026-04-12T15:17:02Z</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:Ghat/doc&amp;diff=17565&amp;oldid=prev</id>
		<title>Wikipedia&gt;WOSlinker: change source to syntaxhighlight</title>
		<link rel="alternate" type="text/html" href="https://moasspedia.org/w/index.php?title=Template:Ghat/doc&amp;diff=17565&amp;oldid=prev"/>
		<updated>2020-07-07T13:03:09Z</updated>

		<summary type="html">&lt;p&gt;change source to syntaxhighlight&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;
&amp;lt;!-- Categories and interwikis go at the bottom of this page. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
This template is used in [[WP:Manual of Style/Glossaries|template-structured glossaries]] with the {{tl|defn}} template to provide an explanatory [[WP:Hatnote|hatnote]] for a {{tl|term}}.  It can also be used in manually coded HTML [[description list]]s.&lt;br /&gt;
&lt;br /&gt;
{{strong|Important:}}&lt;br /&gt;
*It must be used at the top of, i.e. {{strong|inside}}, a {{tnull|defn}} (or manual {{tag|dd}} markup) that pertains to the {{tnull|term}}, usually at the top of the first one unless it only pertains to a specific definition.&lt;br /&gt;
*It {{strong|cannot}} be used between the {{tnull|term}} and {{tnull|defn}} (i.e., between {{tag|dt|c}} and {{tag|dd|o}}), or inside {{tnull|term|content{{=}}...}} ({{tag|dt}}), or it will break the glossary (description list) markup.&lt;br /&gt;
&lt;br /&gt;
Inline (e.g. {{tlx|Crossreference}}) or after-content (e.g. {{tlx|More}}) note templates can be used inside definitions normally.  The purpose of {{em|this}} template is prevent the excessive indentation of hatnotes at the top of the definition. &lt;br /&gt;
&lt;br /&gt;
{{strong|This template is not for crossreferences to other pages, or other forms of [[WP:SELFREF|Wikipedia self-reference]].}}  For those, use {{tl|crossreference}}.  (This template does not use the CSS class &amp;lt;code&amp;gt;selfref&amp;lt;/code&amp;gt;.)&lt;br /&gt;
&lt;br /&gt;
When used with a multi-definition term, the definition in which the {{tnull|ghat}} appears must be manually numbered (usually &amp;lt;code&amp;gt;1&amp;amp;amp;nbsp; ...&amp;lt;/code&amp;gt;, as shown in the example below).&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;moin&amp;quot;&amp;gt;&lt;br /&gt;
{{glossary}}&lt;br /&gt;
{{term| colour ball |colour ball {{anchor|coloured ball|coloured balls|colour|colours|color ball}}}}&lt;br /&gt;
{{defn|1=&lt;br /&gt;
{{ghat|Also &amp;#039;&amp;#039;&amp;#039;coloured ball(s)&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;colour(s)&amp;#039;&amp;#039;&amp;#039;; American spelling &amp;#039;&amp;#039;&amp;#039;color&amp;#039;&amp;#039;&amp;#039; sometimes also used.}}&lt;br /&gt;
1.&amp;amp;nbsp; In [[snooker]], any of the {{cuegloss|object ball|object balls}} that are not {{cuegloss|red ball|reds}}.&lt;br /&gt;
}}&lt;br /&gt;
{{defn |no=2 |1=&lt;br /&gt;
In [[Blackball (pool)|blackball]], a generic, collective term for the red and yellow {{cuegloss|group|groups}} of object balls.&lt;br /&gt;
{{glossary end}}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Results in:&lt;br /&gt;
&lt;br /&gt;
{{glossary}}&lt;br /&gt;
{{term| colour ball |colour ball  {{anchor|coloured ball|coloured balls|colour|colours|color ball}}}}&lt;br /&gt;
{{defn|1= &lt;br /&gt;
{{ghat|Also &amp;#039;&amp;#039;&amp;#039;coloured ball(s)&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;colour(s)&amp;#039;&amp;#039;&amp;#039;; American spelling &amp;#039;&amp;#039;&amp;#039;color&amp;#039;&amp;#039;&amp;#039; sometimes also used.}}&lt;br /&gt;
1.&amp;amp;nbsp; In [[snooker]], any of the {{cuegloss|object ball|object balls}} that are not {{cuegloss|red ball|reds}}.&lt;br /&gt;
}}&lt;br /&gt;
{{defn |no=2 |1= &lt;br /&gt;
In [[Blackball (pool)|blackball]], a generic, collective term for the red and yellow {{cuegloss|group|groups}} of object balls.&lt;br /&gt;
}}&lt;br /&gt;
{{glossary end}}&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
{{Glossary templates see also}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{Sandbox other|&lt;br /&gt;
| &amp;lt;!-- Categories and interwikis go here: --&amp;gt;&lt;br /&gt;
[[Category:Glossary templates|{{PAGENAME}}]]&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;/div&gt;</summary>
		<author><name>Wikipedia&gt;WOSlinker</name></author>
	</entry>
</feed>