http://ml.sayahna.org/index.php?title=Template:Xt/doc&feed=atom&action=historyTemplate:Xt/doc - Revision history2024-03-28T11:33:06ZRevision history for this page on the wikiMediaWiki 1.31.5http://ml.sayahna.org/index.php?title=Template:Xt/doc&diff=4812&oldid=prevAdmin: 1 revision2014-03-23T05:07:24Z<p>1 revision</p>
<table class="diff diff-contentalign-left" data-mw="interface">
<tr class="diff-title" lang="en">
<td colspan="1" style="background-color: #fff; color: #222; text-align: center;">← Older revision</td>
<td colspan="1" style="background-color: #fff; color: #222; text-align: center;">Revision as of 05:07, 23 March 2014</td>
</tr><tr><td colspan="2" class="diff-notice" lang="en"><div class="mw-diff-empty">(No difference)</div>
</td></tr></table>Adminhttp://ml.sayahna.org/index.php?title=Template:Xt/doc&diff=4811&oldid=prev205.254.147.8: Remove sentence that was duplicated later in the paragraph (and made more sense in the 2nd instance)2013-09-24T15:22:52Z<p>Remove sentence that was duplicated later in the paragraph (and made more sense in the 2nd instance)</p>
<p><b>New page</b></p><div>{{Documentation subpage|[[Template:xt]], [[Template:bxt]], [[Template:xtd]], [[Template:bxtd]], [[Template:!xt]] and [[Template:!bxt]]}}<br />
<!--PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE--><br />
<br />
==Usage==<br />
Use template {{tlx|xt}} (the name of which stands for "e<strong>x</strong>ample <strong>t</strong>ext") in order to format examples of style, especially when using quotation marks or italics could be confusing. This changes the given text to {{xt|the serif typeface and green color}}. This template is used frequently in the [[Wikipedia:Manual of Style|Manual of Style]] when ''inline'' typeface changes are needed. For cases where the serif typeface is not desirable (e.g. in blocks of computer code), use {{tlx|bxt}}, which substitutes boldfacing. For style examples that break to their own line (e.g. paragraphs), use {{tlx|xt2}}. {{strong|This template is not for use as quotation markup in talk pages; use {{tlx|tq}} instead.}}<br />
<br />
For examples of {{!xt|bad/wrong style, in red}}, use {{tlx|!xt}} (or {{tlx|!bxt}}) and {{tlx|!xt2}}, respectively.<br />
<br />
The {{tlx|xtd}} template exists for {{xtg|deprecated}} examples. Its alias {{tlx|xtg}} (for "grey") 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).<br />
<br />
The {{tlx|xtn}} template is for {{xtn|neutral}} examples, and has no color change, but is otherwise identical to {{tnull|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}}.<br />
<br />
As with all templates, when the text, given as the template parameter, has any equals characters ("="), <br />
prefix the text with {{para|1}} in order to ensure any equals signs in the given text<br />
are correctly interpreted as being part of the normal text.<br />
<br />
The accompanying change in typeface to a serif typestyle, ({{xt|example text}}) is to make it fully accessible for those with color blindness.<br />
<br />
The parameter {{para|title}} takes text, which cannot be marked up in any way, and displays it as a pop-up "tooltip" (in most browsers) when the cursor hovers over the span<br />
<br />
===Examples===<br />
;What you write:<br />
<br />
:<code><nowiki>...for example, {{xt|1=''T''&nbsp;=&nbsp;293.15 K}}, {{xt|1=''m''&nbsp;=&nbsp;5.4&nbsp;kg}}.</nowiki></code><br />
<br />
;What you get:<br />
<br />
:...for example, {{xt|1=''T''&nbsp;=&nbsp;293.15 K}}, {{xt|1=''m''&nbsp;=&nbsp;5.4&nbsp;kg}}.<br />
<br />
==See also==<br />
{{Xt see also}}<br />
<br />
<includeonly><br />
<!--CATEGORIES AND INTERWIKIS BELOW THIS LINE PLEASE--><br />
[[Category:Quotation templates]]<br />
[[Category:Text color templates]]<br />
<br />
<includeonly></div>205.254.147.8