<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://safernicotine.wiki/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Template%3ACuegloss%2Fdoc</id>
	<title>Template:Cuegloss/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://safernicotine.wiki/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Template%3ACuegloss%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://safernicotine.wiki/mediawiki/index.php?title=Template:Cuegloss/doc&amp;action=history"/>
	<updated>2026-06-02T13:58:22Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://safernicotine.wiki/mediawiki/index.php?title=Template:Cuegloss/doc&amp;diff=35959&amp;oldid=prev</id>
		<title>imported&gt;Vanisaac: /* Usage */clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other</title>
		<link rel="alternate" type="text/html" href="https://safernicotine.wiki/mediawiki/index.php?title=Template:Cuegloss/doc&amp;diff=35959&amp;oldid=prev"/>
		<updated>2020-04-24T22:28:19Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Usage: &lt;/span&gt;clean up per &lt;a href=&quot;/mediawiki/index.php?title=WP:CAT&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;WP:CAT (page does not exist)&quot;&gt;WP:CAT#T&lt;/a&gt; and &lt;a href=&quot;/mediawiki/index.php?title=WP:AWBREQ&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;WP:AWBREQ (page does not exist)&quot;&gt;WP:AWBREQ&lt;/a&gt; add template:Sandbox other&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation subpage|[[Template:Cuegloss]]}}&lt;br /&gt;
&amp;lt;!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --&amp;gt;&lt;br /&gt;
The {{tlx|cuegloss}} template is used to create links from a word or phrase to corresponding entries in the [[Glossary of cue sports terms]] article.  Example: {{cuegloss|stakehorse}}.  It makes proper use of the &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;dfn&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; HTML element (as documented at the parent meta-template, [[Template:glossary link]]).  The {{tlx|glossary link internal}} variant, which does not use that markup (it is reserved for term entries), is usually used only inside the glossary itself, for cross-references to other entries within it, though it can also be used in other articles where the same term is linked twice because of article length (&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;dfn&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; should only be used once per term per page, as it means &amp;quot;this is the defining instance of this term on this page&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
&lt;br /&gt;
Syntax:&lt;br /&gt;
From an article to the glossary:&lt;br /&gt;
*{{tlx|cuegloss|&amp;lt;var&amp;gt;term in glossary&amp;lt;/var&amp;gt;|&amp;lt;var&amp;gt;text in article&amp;lt;/var&amp;gt;}}&lt;br /&gt;
If the text being linked matches the name of (or an anchor present at) the glossary entry, regardless of upper or lower case, you can simply do:&lt;br /&gt;
*{{tlx|cuegloss|&amp;lt;var&amp;gt;text in article that is a term in glossary&amp;lt;/var&amp;gt;}}&lt;br /&gt;
It will also handle suffixes like plurals, etc., added onto it:&lt;br /&gt;
*&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;cuegloss|&amp;lt;var&amp;gt;text in article that is a term in glossary&amp;lt;/var&amp;gt;&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;ized&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or (in [[glossary of cue sports terms]] itself, or for duplicate links in same article):&lt;br /&gt;
*{{tlx|glossary link internal|&amp;lt;var&amp;gt;term in glossary&amp;lt;/var&amp;gt;|&amp;lt;var&amp;gt;text in article&amp;lt;/var&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
This template makes it very simple to add links, in article prose, talk pages, etc., to entries in the [[Glossary of cue sports terms]], a [[WP:MOSGLOSS|stand-alone glossary]] list article.  It takes one or two parameters, depending on needs, as detailed below.&lt;br /&gt;
&lt;br /&gt;
If &amp;lt;var&amp;gt;term in glossary&amp;lt;/var&amp;gt; (or &amp;lt;var&amp;gt;text in article that is a term in glossary&amp;lt;/var&amp;gt;) contains a double quote (&amp;quot;) character, it {{em|must}} be escaped as &amp;lt;code&amp;gt;&amp;amp;amp;quot;&amp;lt;/code&amp;gt; or the second half of tooltip will not show up &amp;lt;small&amp;gt;[Note to maintainers: This should be fixed at [[Template:Glossary link]] and [[Template:Glossary link internal]] with URL encoding or some other form of detection and escaping.]&amp;lt;/small&amp;gt;:&lt;br /&gt;
{{in5}}{{xt|Right:}} {{tnull|cuegloss|&amp;amp;amp;quot;D&amp;amp;amp;quot;, the|the &amp;quot;D&amp;quot;}} which gives {{cuegloss|&amp;amp;quot;D&amp;amp;quot;, the|the &amp;quot;D&amp;quot;}}&amp;lt;br /&amp;gt;&lt;br /&gt;
{{in5}}{{!xt|Wrong:}} {{tnull|cuegloss|&amp;quot;D&amp;quot;, the|the &amp;quot;D&amp;quot;}} which gives {{cuegloss|&amp;quot;D&amp;quot;, the|the &amp;quot;D&amp;quot;}}&lt;br /&gt;
It is easiest to simply create an anchor in the glossary at that entry with {{tlx|anchor|the D|...}}, so we can do {{!xt|{{tnull|cuegloss|the D|the &amp;quot;D&amp;quot;}}}}. This has already been done for this entry, but keep this in mind when adding any new entries that include double quotes.&lt;br /&gt;
&lt;br /&gt;
Wikitext example:&lt;br /&gt;
&lt;br /&gt;
{{in5}}&amp;lt;code&amp;gt;In bank pool, all shots must be &amp;lt;nowiki&amp;gt;{{Cuegloss|Bank shot|banked}}&amp;lt;/nowiki&amp;gt;.&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Result:&lt;br /&gt;
&lt;br /&gt;
{{in5}}In bank pool, all shots must be {{Cuegloss|Bank shot|banked}}.&lt;br /&gt;
&lt;br /&gt;
This template also supports this sort of usage, exactly as a regular wikilink would:  &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Cuegloss|Bank shot|bank}}ed&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The first parameter is the &amp;lt;em&amp;gt;exact&amp;lt;/em&amp;gt; name of the term to be linked to in [[glossary of cue sports terms]] (or any alias of it as defined in the glossary with {{tlx|anchor}}), and the second parameter is the text string to be wikilinked from in the article.  Lower-case versions of the&lt;br /&gt;
&lt;br /&gt;
For example, in this case the term to be defined is covered at [[Glossary of cue sports terms#bank shot]], so &amp;#039;&amp;#039;Bank shot&amp;#039;&amp;#039; is the first parameter. &lt;br /&gt;
The second parameter is optional if the text string to be wikilinked from in the article is exactly the same (including case, plurality, etc.) as the glossary term (or alternative {{tnull|anchor}}) in the first parameter:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Cuegloss|Bank shot}}s&amp;lt;/nowiki&amp;gt; are the only shot type used in bank pool.&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Result:&lt;br /&gt;
&lt;br /&gt;
:{{Cuegloss|Bank shot}}s are the only shot type used in bank pool.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{Sandbox other||&lt;br /&gt;
&amp;lt;!-- Categories below this line, please; interwikis at Wikidata --&amp;gt;&lt;br /&gt;
[[Category:Cue sports templates]]&lt;br /&gt;
[[Category:Glossary link templates]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>imported&gt;Vanisaac</name></author>
	</entry>
</feed>