<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.thegoonshow.co.uk/wiki/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://www.thegoonshow.co.uk/wiki/index.php?action=history&amp;feed=atom&amp;title=Template%3AVar%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://www.thegoonshow.co.uk/wiki/index.php?title=Template:Var/doc&amp;action=history"/>
	<updated>2026-05-13T21:38:19Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.38.2</generator>
	<entry>
		<id>https://www.thegoonshow.co.uk/wiki/index.php?title=Template:Var/doc&amp;diff=434&amp;oldid=prev</id>
		<title>Kurt: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://www.thegoonshow.co.uk/wiki/index.php?title=Template:Var/doc&amp;diff=434&amp;oldid=prev"/>
		<updated>2022-07-20T16:02:17Z</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 11:02, 20 July 2022&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>Kurt</name></author>
	</entry>
	<entry>
		<id>https://www.thegoonshow.co.uk/wiki/index.php?title=Template:Var/doc&amp;diff=433&amp;oldid=prev</id>
		<title>en&gt;Baris6161TURK: Replacing &lt;source&gt; tag to &lt;syntaxhighlight&gt;.</title>
		<link rel="alternate" type="text/html" href="https://www.thegoonshow.co.uk/wiki/index.php?title=Template:Var/doc&amp;diff=433&amp;oldid=prev"/>
		<updated>2021-12-13T11:11:45Z</updated>

		<summary type="html">&lt;p&gt;Replacing &lt;a href=&quot;/wiki/index.php?title=Extension:SyntaxHighlight&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Extension:SyntaxHighlight (page does not exist)&quot;&gt;&amp;lt;source&amp;gt; tag to &amp;lt;syntaxhighlight&amp;gt;&lt;/a&gt;.&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;!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This template is to help facilitate the displaying of variable names (in mathematics, computer source code, wikimarkup in template documentation, metasyntactic variables, etc.) with the [[:en:w:Semantic HTML|semantically correct]] {{tag|var}} tags, which also renders the variable in italics, as is customary. This method is preferred to simply italicizing for many reasons, including [[:en:w:WP:Accessibility|accessibility]], [[:en:w:Separation of presentation and content|separation of presentation and content]], [[:en:w:Semantic Web|semantic Web]], and [[:en:w:WP:METADATA|metadata]]; In [[:en:w:XHTML|XHTML]] and [[:en:w:|HTML|HTML]], the {{tag|var|o}} element has semantic meaning, while simple italicization does not.  This template provides a tiny hint of [[:en:w:Kerning|kerning]] to compensate for the italicization and enhance readability.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Variable&amp;quot; in this sense may include arbitrary or unknown names or terms, examples of human input, arithmetical variables in equations, etc. This template (and the underlying XHTML) are generally {{em|not}} used in MediaWiki's {{tag|math}} tags (or any other stand-alone mathematical markup) are being used.&lt;br /&gt;
&lt;br /&gt;
; Example: &lt;br /&gt;
: {{tlx|var|username}}&lt;br /&gt;
outputs the following HTML:&lt;br /&gt;
: '''{{tag|var|content=username}}'''&lt;br /&gt;
which renders as:&lt;br /&gt;
: {{var|username}}&lt;br /&gt;
&lt;br /&gt;
Note that on the screen or in print, this renders as simple italicization, as does &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;''username''&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; (using pairs of apostrophes) or {{tag|i|content=username}} (using HTML), yet it carries more semantic meaning than either of these methods.&lt;br /&gt;
&lt;br /&gt;
At times, you may wish to use a serif font.  This is especially true when attempting to render single-letter variables like &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;), since they are nearly indistinguishable (if at all).  In such situations, use the {{tlx|varserif}} template instead of {{tnull|var}}, to make them more distinguishable, like these serif examples: {{varserif|I}}, {{varserif|l}}.&lt;br /&gt;
&lt;br /&gt;
; More examples:&lt;br /&gt;
&amp;lt;div style=&amp;quot;background:#FFFFFF;&amp;quot;&amp;gt;&lt;br /&gt;
{{Markup&lt;br /&gt;
| &amp;lt;syntaxhighlight lang=moin&amp;gt;The HTML code:&lt;br /&gt;
: {{tag|var|content=username}}&lt;br /&gt;
renders as: &lt;br /&gt;
: {{var|username}}&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
| The HTML code:&lt;br /&gt;
: {{tag|var|content=username}} &lt;br /&gt;
renders as: &lt;br /&gt;
: {{var|username}}&lt;br /&gt;
&lt;br /&gt;
| &amp;lt;syntaxhighlight lang=html&amp;gt;The commandline should read: {{samp|%}} {{kbd|1=ssh {{var|hostname}}}}&amp;lt;br /&amp;gt;(where {{var|hostname}} is the IP address or ...)&amp;lt;br /&amp;gt;If it is correct, press {{key press|Enter}}.&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
| The commandline should read: {{samp|%}} {{kbd|1=ssh {{var|hostname}}}}&amp;lt;br /&amp;gt;(where {{var|hostname}} is the IP address or ...)&amp;lt;br /&amp;gt;If it is correct, press {{key press|Enter}}.&lt;br /&gt;
&lt;br /&gt;
| &amp;lt;syntaxhighlight lang=html&amp;gt;in this equation, let {{var|x}}{{=}}1 and {{var|y}}{{=}}120 ...&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
| in this equation, let {{var|x}}{{=}}1 and {{var|y}}{{=}}120 ...&lt;br /&gt;
&lt;br /&gt;
| &amp;lt;nowiki&amp;gt;{{para|accessdate|{{var|todays_date}}}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
| {{para|accessdate|{{var|todays_date}}}}&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== TemplateData ==&lt;br /&gt;
{{TemplateData header}}&lt;br /&gt;
{{#invoke:TNT|doc|var}}&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{Sandbox other||&lt;br /&gt;
&amp;lt;!-- Categories below this line; interwikis at Wikidata --&amp;gt;&lt;br /&gt;
[[Category:Semantic markup templates]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>en&gt;Baris6161TURK</name></author>
	</entry>
</feed>