<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.xmethod.net/index.php?action=history&amp;feed=atom&amp;title=Template%3AXt%2Fdoc</id>
	<title>Template:Xt/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.xmethod.net/index.php?action=history&amp;feed=atom&amp;title=Template%3AXt%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.xmethod.net/index.php?title=Template:Xt/doc&amp;action=history"/>
	<updated>2026-05-01T17:18:53Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.42.4</generator>
	<entry>
		<id>https://wiki.xmethod.net/index.php?title=Template:Xt/doc&amp;diff=2203&amp;oldid=prev</id>
		<title>Docmoates: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://wiki.xmethod.net/index.php?title=Template:Xt/doc&amp;diff=2203&amp;oldid=prev"/>
		<updated>2026-01-01T14:19:16Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&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;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 14:19, 1 January 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Docmoates</name></author>
	</entry>
	<entry>
		<id>https://wiki.xmethod.net/index.php?title=Template:Xt/doc&amp;diff=2202&amp;oldid=prev</id>
		<title>wiki&gt;W.andrea: Move hatnote to top</title>
		<link rel="alternate" type="text/html" href="https://wiki.xmethod.net/index.php?title=Template:Xt/doc&amp;diff=2202&amp;oldid=prev"/>
		<updated>2025-04-12T17:20:32Z</updated>

		<summary type="html">&lt;p&gt;Move hatnote to top&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --&amp;gt;&lt;br /&gt;
{{lowercase title}}&lt;br /&gt;
{{distinguish|Category:Text color templates}}&lt;br /&gt;
{{Documentation subpage|[[Template:xt]], [[Template:bxt]], [[Template:mxt]], [[Template:xtd]], [[Template:bxtd]], [[Template:!xt]], [[Template:!xts]], [[Template:!bxt]], and [[Template:!mxt]]}}&lt;br /&gt;
{{High-use}}&lt;br /&gt;
&lt;br /&gt;
{{tlx|xt}} and related templates produce an inline typeface change suitable to render &amp;#039;&amp;#039;&amp;#039;e&amp;lt;u&amp;gt;x&amp;lt;/u&amp;gt;ample &amp;lt;u&amp;gt;t&amp;lt;/u&amp;gt;ext&amp;#039;&amp;#039;&amp;#039; on [[Help:Contents|Wikipedia&amp;#039;s help pages]].&lt;br /&gt;
&lt;br /&gt;
==Using example-formatting templates in general==&lt;br /&gt;
{{mbox&lt;br /&gt;
| type  = content&lt;br /&gt;
| text  = &amp;#039;&amp;#039;&amp;#039;Not for use in article space&amp;#039;&amp;#039;&amp;#039;: This family of templates cannot be used in [[Wikipedia:Mainspace|mainspace]] (the article [[Wikipedia:Namespace|namespace]]).&lt;br /&gt;
}}&lt;br /&gt;
{{lua|Module:TEMPLATENAME|noprotcat=yes}}&lt;br /&gt;
The [[:Category:Example-formatting templates|category of example-formatting templates]] is used frequently in non-[[Wikipedia:Mainspace|mainspace]] general [[Help:Contents|help pages]] such as [[Wikipedia:Manual of Style|Wikipedia:Manual of Style]] (MOS) when &amp;#039;&amp;#039;inline&amp;#039;&amp;#039; typeface changes are needed. &lt;br /&gt;
&lt;br /&gt;
{{tlx|xt}} changes the typeface to serif and the text color to green. {{xt|Example}}&lt;br /&gt;
&lt;br /&gt;
For cases where the serif typeface is not desirable (e.g. in blocks of computer code), use {{tlx|bxt}}, which substitutes {{bxt|boldfacing}}, or {{tlx|mxt}}, which substitutes a {{mxt|monospaced font}}. For style examples that break to their own line (e.g. paragraphs), use {{tlx|xt2}}.  &lt;br /&gt;
&lt;br /&gt;
For examples of {{!xt|bad/wrong style, in red}}, use {{tlx|!xt}}, {{tlx|!bxt}}, {{tlx|!mxt}}, or {{tlx|!xt2}}, respectively to the previous paragraph (the addition of the &amp;lt;code&amp;gt;[[Negation#Programming language and ordinary language|!]]&amp;lt;/code&amp;gt; indicates the opposite effect). Use {{tlx|!xts}} for bad/wrong style {{!xts|with strikethrough formatting}}.&lt;br /&gt;
&lt;br /&gt;
The {{tlx|xtd}} template exists for {{xtd|deprecated}} examples. Its alias {{tlx|xtg}} (for &amp;quot;grey&amp;quot;) can be used to indicate {{xtg|uncertain, unavailable, disabled, lorem, etc.}}, examples without implying [[deprecation]]. The {{bxtd|bold, sans-serif}} equivalent is {{tlx|bxtd}} (and {{tlx|bxtg}} alias). The {{mxtd|mono-spaced}} equivalent is {{tlx|mxtd}}.&lt;br /&gt;
&lt;br /&gt;
The {{tlx|xtn}} template is for {{xtn|neutral}} examples, and has no color change, but is otherwise identical to {{tlx|xt}} in that it changes to serif typeface. It can be used with {{tnull|xt}} and {{tnull|!xt}} to indicate usage that is neither advised nor advised against or deprecated. The {{bxtn|bold, sans-serif}} equivalent is {{tlx|bxtn}}. The {{mxtn|mono-spaced}} equivalent is {{tlx|mxtn}}.&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
&lt;br /&gt;
* {{para||{{var|text here}}}} or {{para|1|{{var|text here}}}} – The text to which to apply the markup. As with all templates, when the text has any equals characters (&amp;quot;=&amp;quot;), explicitly prefix the text with {{para|1}} or the template will break.&lt;br /&gt;
* {{para|title|{{var|tooltip text here}}}} – Takes text, &amp;#039;&amp;#039;which cannot be marked up in any way&amp;#039;&amp;#039;, and displays it as a pop-up &amp;quot;tooltip&amp;quot; (in most browsers) when the cursor hovers over the span&lt;br /&gt;
&lt;br /&gt;
==Accessibility==&lt;br /&gt;
The accompanying change in typeface to a serif or monospaced type style (as in {{xt|example text}}) is to make it fully accessible for those with [[color blindness]].&lt;br /&gt;
&lt;br /&gt;
Keep [[WP:Accessibility|accessibility]] more broadly in mind, and never construct examples such that a blind person, who may not be able to see the coloration, boldfacing, or monospace font change, cannot understand the examples. Especially indicate, with terms like &amp;quot;not&amp;quot;, &amp;quot;don&amp;#039;t&amp;quot;, &amp;quot;wrong:&amp;quot;, etc., that a negative example is a negative one, or with &amp;quot;deprecated&amp;quot;, &amp;quot;avoid&amp;quot;, etc., that deprecated material is deprecated.&lt;br /&gt;
&lt;br /&gt;
==Examples of &amp;amp;#123;&amp;amp;#123;[[Template:xt|xt]]&amp;amp;#125;&amp;amp;#125; syntax and result==&lt;br /&gt;
&lt;br /&gt;
;What you write:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;...for example, {{xt|1=&amp;#039;&amp;#039;T&amp;#039;&amp;#039;&amp;amp;nbsp;=&amp;amp;nbsp;293.15&amp;amp;nbsp;K}}, but not {{!xt|1=&amp;#039;&amp;#039;m&amp;#039;&amp;#039;=5.4kg}}.&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;What you get:&lt;br /&gt;
&lt;br /&gt;
:...for example, {{xt|1=&amp;#039;&amp;#039;T&amp;#039;&amp;#039;&amp;amp;nbsp;=&amp;amp;nbsp;293.15&amp;amp;nbsp;K}}, but not {{!xt|1=&amp;#039;&amp;#039;m&amp;#039;&amp;#039;=5.4kg}}.&lt;br /&gt;
&lt;br /&gt;
{| class=wikitable&lt;br /&gt;
!Template class&lt;br /&gt;
!Output typeface&lt;br /&gt;
|-&lt;br /&gt;
|{{tlx|xt}}&lt;br /&gt;
|{{xt|inline typeface change}}&lt;br /&gt;
|-&lt;br /&gt;
|{{tlx|!xt}}&lt;br /&gt;
|{{!xt|inline typeface change}}&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;kbd&amp;gt;{{tlx|xtn}}&amp;lt;/kbd&amp;gt;&lt;br /&gt;
|{{xtn|inline typeface change}}&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;kbd&amp;gt;{{tlx|xtd}}&amp;lt;/kbd&amp;gt;&lt;br /&gt;
|{{xtd|inline typeface change}}&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;kbd&amp;gt;{{tlx|mxt}}&amp;lt;/kbd&amp;gt;&lt;br /&gt;
|{{mxt|inline typeface change}}&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;kbd&amp;gt;{{tlx|!mxt}}&amp;lt;/kbd&amp;gt;&lt;br /&gt;
|{{!mxt|inline typeface change}}&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;kbd&amp;gt;{{tlx|mxtn}}&amp;lt;/kbd&amp;gt;&lt;br /&gt;
|{{mxtn|inline typeface change}}&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;kbd&amp;gt;{{tlx|mxtd}}&amp;lt;/kbd&amp;gt;&lt;br /&gt;
|{{mxtd|inline typeface change}}&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;kbd&amp;gt;{{tlx|bxt}}&amp;lt;/kbd&amp;gt;&lt;br /&gt;
|{{bxt|inline typeface change}}&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;kbd&amp;gt;{{tlx|!bxt}}&amp;lt;/kbd&amp;gt;&lt;br /&gt;
|{{!bxt|inline typeface change}}&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;kbd&amp;gt;{{tlx|bxtn}}&amp;lt;/kbd&amp;gt;&lt;br /&gt;
|{{bxtn|inline typeface change}}&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;kbd&amp;gt;{{tlx|bxtd}}&amp;lt;/kbd&amp;gt;&lt;br /&gt;
|{{bxtd|inline typeface change}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== User CSS for a monospaced coding font ==&lt;br /&gt;
{{collapse top|left=y|title=Change system-default monospace font:}}&lt;br /&gt;
{{Mxt/User CSS for a monospaced coding font}}&lt;br /&gt;
{{collapse bottom}}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
{{Xt/see also}}&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:Example-formatting templates]]&lt;br /&gt;
[[Category:Text color templates]]&lt;br /&gt;
&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>wiki&gt;W.andrea</name></author>
	</entry>
</feed>