<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
	<id>https://www.verzauberte-welten.de/index.php?action=history&amp;feed=atom&amp;title=Vorlage%3AVar%2Fdoc</id>
	<title>Vorlage:Var/doc - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="https://www.verzauberte-welten.de/index.php?action=history&amp;feed=atom&amp;title=Vorlage%3AVar%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://www.verzauberte-welten.de/index.php?title=Vorlage:Var/doc&amp;action=history"/>
	<updated>2026-04-05T19:00:06Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in Verzauberte Welten e.V.</subtitle>
	<generator>MediaWiki 1.39.8</generator>
	<entry>
		<id>https://www.verzauberte-welten.de/index.php?title=Vorlage:Var/doc&amp;diff=367&amp;oldid=prev</id>
		<title>mw&gt;Oetterer am 3. Februar 2015 um 13:05 Uhr</title>
		<link rel="alternate" type="text/html" href="https://www.verzauberte-welten.de/index.php?title=Vorlage:Var/doc&amp;diff=367&amp;oldid=prev"/>
		<updated>2015-02-03T13:05:53Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&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, wikimarkup, etc.) with the [[wpen:Semantic markup|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 [[WP:Accessibility|accessibility]], [[wpen:separation of presentation and content]], [[wpen:semantic Web]], and [[WP:METADATA|metadata]]; In [[wpen:XHTML]] and [[wpen:HTML]], the {{tag|var|o}} 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 ''not'' used if 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;
&lt;br /&gt;
:{{tlx|var|username}}&lt;br /&gt;
&lt;br /&gt;
outputs the following HTML:&lt;br /&gt;
:'''{{tag|var|content=username}}'''&lt;br /&gt;
&lt;br /&gt;
which renders as:&lt;br /&gt;
&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 {{code snippet|&amp;lt;nowiki&amp;gt;''username''&amp;lt;/nowiki&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).&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;nowiki&amp;gt;The HTML code:&lt;br /&gt;
:&amp;lt;code&amp;gt;{{tag|var|content=username}}&amp;lt;/code&amp;gt; &lt;br /&gt;
renders as: &lt;br /&gt;
:{{var|username}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|The HTML code:&lt;br /&gt;
:&amp;lt;code&amp;gt;{{tag|var|content=username}}&amp;lt;/code&amp;gt; &lt;br /&gt;
renders as: &lt;br /&gt;
:{{var|username}}&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;The commandline should read: {{code snippet|code=ssh hostname}}&amp;lt;br /&amp;gt;(where {{var|hostname}} is the IP address or ...)&amp;lt;br /&amp;gt;If it is correct, press &amp;lt;code&amp;gt;Enter&amp;lt;/code&amp;gt;.&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|The commandline should read: {{code snippet|code=ssh hostname}}&amp;lt;br /&amp;gt;(where {{var|hostname}} is the IP address or ...)&amp;lt;br /&amp;gt;If it is correct, press &amp;lt;code&amp;gt;Enter&amp;lt;/code&amp;gt;}}.&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;in this equation, let {{var|x}}{{=}}1 and {{var|y}}{{=}}120 ...&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|in this equation, let {{var|x}}{{=}}1 and {{var|y}}{{=}}120 ...&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;
==See also==&lt;br /&gt;
{{Semantic_templates_see_also}}&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:Text manipulation templates]]&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>mw&gt;Oetterer</name></author>
	</entry>
</feed>