<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wikitest.augmensys.com/index.php?action=history&amp;feed=atom&amp;title=Template%3AVar%2Fdoc</id>
		<title>Template:Var/doc - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wikitest.augmensys.com/index.php?action=history&amp;feed=atom&amp;title=Template%3AVar%2Fdoc"/>
		<link rel="alternate" type="text/html" href="https://wikitest.augmensys.com/index.php?title=Template:Var/doc&amp;action=history"/>
		<updated>2026-10-25T19:48:46Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.24.2</generator>

	<entry>
		<id>https://wikitest.augmensys.com/index.php?title=Template:Var/doc&amp;diff=4498&amp;oldid=prev</id>
		<title>JKN: 1 revision</title>
		<link rel="alternate" type="text/html" href="https://wikitest.augmensys.com/index.php?title=Template:Var/doc&amp;diff=4498&amp;oldid=prev"/>
				<updated>2013-01-23T14:42:09Z</updated>
		
		<summary type="html">&lt;p&gt;1 revision&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 14:42, 23 January 2013&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan='2' style='text-align: center;'&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>JKN</name></author>	</entry>

	<entry>
		<id>https://wikitest.augmensys.com/index.php?title=Template:Var/doc&amp;diff=4497&amp;oldid=prev</id>
		<title>SMcCandlish: typo</title>
		<link rel="alternate" type="text/html" href="https://wikitest.augmensys.com/index.php?title=Template:Var/doc&amp;diff=4497&amp;oldid=prev"/>
				<updated>2012-11-19T20:31:10Z</updated>
		
		<summary type="html">&lt;p&gt;typo&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;!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
This template is to help facilitate the displaying of variable names (in mathematics, computer source code, etc.) with the [[Semantic markup|semantically correct]] &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;var&amp;gt;...&amp;lt;/var&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;, which also renders the variable in italics, as is customary. This method is preferred to simply italicizing, for [[WP:Accessibility|accessibility]], [[Separation of presentation and content|content/presentation separation]], [[semantic Web]], and [[WP:METADATA|metadata]] reasons; &amp;amp;#91;[[XHTML|X]]&amp;amp;#93;[[HTML]]'s &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;var&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; element has semantic meaning, while simple italicization does not.  &amp;quot;Variable&amp;quot; in this sense may include arbitrary or unknown names or terms, example human input, arithmetical variables in equations, etc. This template (and the underlying XHTML) are generally {{em|not}} used if MediaWiki's {{tag|math}} (or any other stand-alone mathematical markup) are being used.&lt;br /&gt;
&lt;br /&gt;
Example: &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{var|username}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
outputs&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;var&amp;gt;username&amp;lt;/var&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which renders as:&lt;br /&gt;
&lt;br /&gt;
:{{var|username}}&lt;br /&gt;
&lt;br /&gt;
compare to simple &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;''username''&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; italicization:&lt;br /&gt;
&lt;br /&gt;
:''username''&lt;br /&gt;
&lt;br /&gt;
When used alone as variables, the letters &amp;quot;I&amp;quot; (upper-case &amp;quot;i&amp;quot;) and &amp;quot;l&amp;quot; (lower-case &amp;quot;L&amp;quot;) should be rendered with {{tlx|varserif}} instead of {{tnull|var}}, to make them more distinguishable: {{varserif|I}}, {{varserif|l}}.&lt;br /&gt;
&lt;br /&gt;
More examples:&lt;br /&gt;
&lt;br /&gt;
* {{tnull|kbd|1{{=}}ssh &amp;lt;nowiki&amp;gt;{{var|hostname}}&amp;lt;/nowiki&amp;gt;}} with {{tnull|samp|%}}: &amp;quot;At the {{samp|%}} prompt, the user must enter {{kbd|1=ssh {{var|hostname}}}}.&amp;quot;&lt;br /&gt;
* Inside {{tag|code}} and {{tnull|kbd}}: &amp;quot;The commandline should read: &amp;lt;code&amp;gt;% {{kbd|1=ssh {{var|hostname}}}}&amp;lt;/code&amp;gt; (where {{var|hostname}} is the IP address or domain name of the system to connect to); if this is correct, press {{key press|Enter}}.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--The section below only makes sense if you remember that when /doc pages are included into the template page they belong to, their background is light green!&lt;br /&gt;
--&amp;gt;Some of these examples may look slightly different outside this documentation, because the default background color varies by page type (articles are stark white, template documentation pale green, most other pages very pale grey). In-article example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;background:#FFFFFF;&amp;quot;&amp;gt;:&lt;br /&gt;
* {{tnull|kbd|1{{=}}ssh &amp;lt;nowiki&amp;gt;{{var|hostname}}&amp;lt;/nowiki&amp;gt;}} with {{tnull|samp|%}}: &amp;quot;At the {{samp|%}} prompt, the user must enter {{kbd|1=ssh {{var|hostname}}}}.&amp;quot;&lt;br /&gt;
* Inside {{tag|code}} and {{tnull|kbd}}: &amp;quot;The commandline should read: &amp;lt;code&amp;gt;% {{kbd|1=ssh {{var|hostname}}}}&amp;lt;/code&amp;gt; (where {{var|hostname}} is the IP address or domain name of the system to connect to); if this is correct, press {{key press|Enter}}.&amp;quot;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
The section above only makes sense if you remember that when /doc pages are included into the template page they belong to, their background is light green!&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
{{Var/seealso}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;&lt;br /&gt;
&amp;lt;!-- CATEGORIES AND INTERWIKIS HERE, THANKS --&amp;gt;&lt;br /&gt;
[[Category:Mathematics templates|{{PAGENAME}}]]&lt;br /&gt;
[[Category:Programming typing-aid templates|{{PAGENAME}}]]&lt;br /&gt;
[[Category:Semantic markup templates|{{PAGENAME}}]]&lt;br /&gt;
[[Category:Wikipedia XHTML tag replacing templates|{{PAGENAME}}]]&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>SMcCandlish</name></author>	</entry>

	</feed>