<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://funkinchan.fun/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://funkinchan.fun/index.php?action=history&amp;feed=atom&amp;title=Template%3AXt%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://funkinchan.fun/index.php?title=Template:Xt/doc&amp;action=history"/>
	<updated>2026-10-18T21:32:13Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.0</generator>
	<entry>
		<id>https://funkinchan.fun/index.php?title=Template:Xt/doc&amp;diff=586&amp;oldid=prev</id>
		<title>Jedevari: Created page with &quot;&lt;!--PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE--&gt; {{lowercase title}} {{Documentation subpage|Template:xt, Template:bxt, Template:mxt, Template:xtd, Template:bxtd, Template:!xt, Template:!xts, Template:!bxt, and Template:!mxt}} {{distinguish|Category:Text color templates}}  This and related templates produce an inline typeface change suitable to render e&#039;&#039;&#039;X&#039;&#039;&#039;ample &#039;&#039;&#039;T&#039;&#039;&#039;ext on Wikipedia&#039;s general help pages.  ==...&quot;</title>
		<link rel="alternate" type="text/html" href="https://funkinchan.fun/index.php?title=Template:Xt/doc&amp;diff=586&amp;oldid=prev"/>
		<updated>2023-09-20T23:13:48Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;lt;!--PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE--&amp;gt; {{lowercase title}} {{Documentation subpage|&lt;a href=&quot;/index.php/Template:Xt&quot; title=&quot;Template:Xt&quot;&gt;Template:xt&lt;/a&gt;, &lt;a href=&quot;/index.php?title=Template:Bxt&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Template:Bxt (page does not exist)&quot;&gt;Template:bxt&lt;/a&gt;, &lt;a href=&quot;/index.php?title=Template:Mxt&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Template:Mxt (page does not exist)&quot;&gt;Template:mxt&lt;/a&gt;, &lt;a href=&quot;/index.php?title=Template:Xtd&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Template:Xtd (page does not exist)&quot;&gt;Template:xtd&lt;/a&gt;, &lt;a href=&quot;/index.php?title=Template:Bxtd&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Template:Bxtd (page does not exist)&quot;&gt;Template:bxtd&lt;/a&gt;, &lt;a href=&quot;/index.php/Template:!xt&quot; title=&quot;Template:!xt&quot;&gt;Template:!xt&lt;/a&gt;, &lt;a href=&quot;/index.php?title=Template:!xts&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Template:!xts (page does not exist)&quot;&gt;Template:!xts&lt;/a&gt;, &lt;a href=&quot;/index.php?title=Template:!bxt&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Template:!bxt (page does not exist)&quot;&gt;Template:!bxt&lt;/a&gt;, and &lt;a href=&quot;/index.php?title=Template:!mxt&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Template:!mxt (page does not exist)&quot;&gt;Template:!mxt&lt;/a&gt;}} {{distinguish|Category:Text color templates}}  This and related templates produce an inline typeface change suitable to render e&amp;#039;&amp;#039;&amp;#039;X&amp;#039;&amp;#039;&amp;#039;ample &amp;#039;&amp;#039;&amp;#039;T&amp;#039;&amp;#039;&amp;#039;ext on Wikipedia&amp;#039;s general help pages.  ==...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;!--PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE--&amp;gt;&lt;br /&gt;
{{lowercase title}}&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;
{{distinguish|Category:Text color templates}}&lt;br /&gt;
&lt;br /&gt;
This and related templates produce an inline typeface change suitable to render e&amp;#039;&amp;#039;&amp;#039;X&amp;#039;&amp;#039;&amp;#039;ample &amp;#039;&amp;#039;&amp;#039;T&amp;#039;&amp;#039;&amp;#039;ext on Wikipedia&amp;#039;s general 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;
| small = yes&lt;br /&gt;
| text  = This family of templates &amp;#039;&amp;#039;cannot&amp;#039;&amp;#039; 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 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;
{{strong|This family of templates &amp;#039;&amp;#039;cannot&amp;#039;&amp;#039; be used in mainspace (the article [[Wikipedia:Namespace|namespace]]).}}&lt;br /&gt;
&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 boldfacing, or {{tlx|mxt}}, which substitutes a 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 {{xtg|deprecated}} examples. Its alias {{tlx|xtg}} (for &amp;quot;grey&amp;quot;) can be used to indicate uncertain, unavailable, disabled, lorem, etc., examples without implying [[deprecation]]. The bold, sans-serif equivalent is {{tlx|bxtd}} (and {{tlx|bxtg}} alias). The 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}}. It can be used with {{tnull|xt}} and {{tnull|!xt}} to indicate usage that is neither advised nor advised against or deprecated. The bold, sans-serif equivalent is {{tlx|bxtn}}.&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;
!What you type&lt;br /&gt;
!What you get&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;kbd&amp;gt;&amp;lt;nowiki&amp;gt;this is an {{&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039;xt&amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;|inline typeface change}} for comparison&amp;lt;/nowiki&amp;gt;&amp;lt;/kbd&amp;gt;&lt;br /&gt;
|this is an {{xt|inline typeface change}} for comparison&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;kbd&amp;gt;&amp;lt;nowiki&amp;gt;this is an {{&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039;!xt&amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;|inline typeface change}} for comparison&amp;lt;/nowiki&amp;gt;&amp;lt;/kbd&amp;gt;&lt;br /&gt;
|this is an {{!xt|inline typeface change}} for comparison&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;kbd&amp;gt;&amp;lt;nowiki&amp;gt;this is an {{&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039;xtn&amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;|inline typeface change}} for comparison&amp;lt;/nowiki&amp;gt;&amp;lt;/kbd&amp;gt;&lt;br /&gt;
|this is an {{xtn|inline typeface change}} for comparison&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;kbd&amp;gt;&amp;lt;nowiki&amp;gt;this is an {{&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039;xtd&amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;|inline typeface change}} for comparison&amp;lt;/nowiki&amp;gt;&amp;lt;/kbd&amp;gt;&lt;br /&gt;
|this is an {{xtd|inline typeface change}} for comparison&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;kbd&amp;gt;&amp;lt;nowiki&amp;gt;this is an {{&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039;mxt&amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;|inline typeface change}} for comparison&amp;lt;/nowiki&amp;gt;&amp;lt;/kbd&amp;gt;&lt;br /&gt;
|this is an {{mxt|inline typeface change}} for comparison&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;kbd&amp;gt;&amp;lt;nowiki&amp;gt;this is an {{&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039;!mxt&amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;|inline typeface change}} for comparison&amp;lt;/nowiki&amp;gt;&amp;lt;/kbd&amp;gt;&lt;br /&gt;
|this is an {{!mxt|inline typeface change}} for comparison&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;kbd&amp;gt;&amp;lt;nowiki&amp;gt;this is an {{&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039;mxtn&amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;|inline typeface change}} for comparison&amp;lt;/nowiki&amp;gt;&amp;lt;/kbd&amp;gt;&lt;br /&gt;
|this is an {{mxtn|inline typeface change}} for comparison&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;kbd&amp;gt;&amp;lt;nowiki&amp;gt;this is an {{&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039;mxtd&amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;|inline typeface change}} for comparison&amp;lt;/nowiki&amp;gt;&amp;lt;/kbd&amp;gt;&lt;br /&gt;
|this is an {{mxtd|inline typeface change}} for comparison&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;kbd&amp;gt;&amp;lt;nowiki&amp;gt;this is an {{&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039;bxt&amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;|inline typeface change}} for comparison&amp;lt;/nowiki&amp;gt;&amp;lt;/kbd&amp;gt;&lt;br /&gt;
|this is an {{bxt|inline typeface change}} for comparison&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;kbd&amp;gt;&amp;lt;nowiki&amp;gt;this is an {{&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039;!bxt&amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;|inline typeface change}} for comparison&amp;lt;/nowiki&amp;gt;&amp;lt;/kbd&amp;gt;&lt;br /&gt;
|this is an {{!bxt|inline typeface change}} for comparison&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;kbd&amp;gt;&amp;lt;nowiki&amp;gt;this is an {{&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039;bxtn&amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;|inline typeface change}} for comparison&amp;lt;/nowiki&amp;gt;&amp;lt;/kbd&amp;gt;&lt;br /&gt;
|this is an {{bxtn|inline typeface change}} for comparison&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;kbd&amp;gt;&amp;lt;nowiki&amp;gt;this is an {{&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039;bxtd&amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;|inline typeface change}} for comparison&amp;lt;/nowiki&amp;gt;&amp;lt;/kbd&amp;gt;&lt;br /&gt;
|this is an {{bxtd|inline typeface change}} for comparison&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== User CSS for a monospaced coding font ==&lt;br /&gt;
{{collapse top|left=y|title=Have monospaced templates in this group – and your editing window – use your preferred monospaced 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 AND INTERWIKIS BELOW THIS LINE PLEASE--&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>Jedevari</name></author>
	</entry>
</feed>