<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="hu">
	<id>https://wiki.trashforum.org/index.php?action=history&amp;feed=atom&amp;title=Sablon%3AVar%2Fdoc</id>
	<title>Sablon:Var/doc - Laptörténet</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.trashforum.org/index.php?action=history&amp;feed=atom&amp;title=Sablon%3AVar%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.trashforum.org/index.php?title=Sablon:Var/doc&amp;action=history"/>
	<updated>2026-05-06T05:53:01Z</updated>
	<subtitle>Az oldal laptörténete a wikiben</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://wiki.trashforum.org/index.php?title=Sablon:Var/doc&amp;diff=1088&amp;oldid=prev</id>
		<title>BarathéGábor: 1 változat importálva</title>
		<link rel="alternate" type="text/html" href="https://wiki.trashforum.org/index.php?title=Sablon:Var/doc&amp;diff=1088&amp;oldid=prev"/>
		<updated>2025-01-21T05:24:46Z</updated>

		<summary type="html">&lt;p&gt;1 változat importálva&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;hu&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Régebbi változat&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;A lap 2025. január 21., 07:24-kori változata&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;hu&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(Nincs különbség)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>BarathéGábor</name></author>
	</entry>
	<entry>
		<id>https://wiki.trashforum.org/index.php?title=Sablon:Var/doc&amp;diff=1087&amp;oldid=prev</id>
		<title>w&gt;Daask: Change lang from programming language to IETF BCP 47 language tag, because that&#039;s the HTML this template produces, and programming languages are not valid.</title>
		<link rel="alternate" type="text/html" href="https://wiki.trashforum.org/index.php?title=Sablon:Var/doc&amp;diff=1087&amp;oldid=prev"/>
		<updated>2024-11-27T05:15:55Z</updated>

		<summary type="html">&lt;p&gt;Change lang from programming language to &lt;a href=&quot;/index.php?title=IETF_BCP_47_language_tag&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;IETF BCP 47 language tag (a lap nem létezik)&quot;&gt;IETF BCP 47 language tag&lt;/a&gt;, because that&amp;#039;s the HTML this template produces, and programming languages are not valid.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Új lap&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
{{tlr|VAR|variable}}&lt;br /&gt;
&amp;lt;!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --&amp;gt;&lt;br /&gt;
{{high-use| 6000 }}&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 in template documentation, metasyntactic variables, etc.) with the [[Semantic HTML|semantically correct]] {{tag|var}} tags, which also renders the variable in italics, as is customary. Alternately, editors may use {{tag|var}} tags directly in [[Help:Wikitext|Wikitext]] to produce identical output.&lt;br /&gt;
&lt;br /&gt;
The use of {{tag|var|o}} or {{tl|var}} is preferred to simply italicizing for many reasons, including [[WP:Accessibility|accessibility]], [[separation of presentation and content]], [[semantic Web]], and [[WP:METADATA|metadata]]. In [[XHTML]] and [[HTML]], the {{tag|var|o}} element has semantic meaning, while simple italicization does not. This template provides a tiny hint of [[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 if MediaWiki&amp;#039;s {{tag|math}} tags (or any other stand-alone mathematical markup) are being used.&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;
===Examples===&lt;br /&gt;
{{Markup HTML Rendered|&amp;lt;nowiki&amp;gt;{{var|username}}&amp;lt;/nowiki&amp;gt;|&amp;lt;var&amp;gt;username&amp;lt;/var&amp;gt;|{{var|username}}}}&lt;br /&gt;
&lt;br /&gt;
{{Markup&lt;br /&gt;
| &amp;lt;nowiki&amp;gt;&amp;lt;var&amp;gt;username&amp;lt;/var&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
| &amp;lt;var&amp;gt;username&amp;lt;/var&amp;gt;&lt;br /&gt;
| &amp;lt;nowiki&amp;gt;{{var|username}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
| {{var|username}}&lt;br /&gt;
| &amp;lt;nowiki&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;/nowiki&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;
| &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;
&lt;br /&gt;
==TemplateData==&lt;br /&gt;
{{Format TemplateData|&amp;lt;templatedata&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
	&amp;quot;params&amp;quot;: {&lt;br /&gt;
		&amp;quot;1&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;variable&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;line&amp;quot;,&lt;br /&gt;
			&amp;quot;required&amp;quot;: true&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;class&amp;quot;: {&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;id&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;ID&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;style&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;CSS style&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;lang&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Language tag&amp;quot;,&lt;br /&gt;
			&amp;quot;example&amp;quot;: &amp;quot;en-UK&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;line&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;An IETF BCP 47 language tag&amp;quot;,&lt;br /&gt;
			&amp;quot;suggestedvalues&amp;quot;: [&lt;br /&gt;
				&amp;quot;en-US&amp;quot;,&lt;br /&gt;
				&amp;quot;en-UK&amp;quot;,&lt;br /&gt;
				&amp;quot;es-419&amp;quot;,&lt;br /&gt;
				&amp;quot;en&amp;quot;,&lt;br /&gt;
				&amp;quot;es&amp;quot;,&lt;br /&gt;
				&amp;quot;de&amp;quot;,&lt;br /&gt;
				&amp;quot;zh&amp;quot;&lt;br /&gt;
			]&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;title&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;HTML title (hovertext)&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;&lt;br /&gt;
		}&lt;br /&gt;
	},&lt;br /&gt;
	&amp;quot;description&amp;quot;: &amp;quot;Marks text as an HTML variable&amp;quot;,&lt;br /&gt;
	&amp;quot;format&amp;quot;: &amp;quot;inline&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/templatedata&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* {{tl|mvar}} which makes the argument italic and formats as mathematics&lt;br /&gt;
* {{tl|math}} which formats its argument as mathematics&lt;br /&gt;
* {{tl|bigmath}}, the same as {{tl|math}} but makes it bigger&lt;br /&gt;
&lt;br /&gt;
{{Semantic markup templates|show}}&lt;br /&gt;
&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:Mathematical formatting templates]]&lt;br /&gt;
[[Category:Programming typing-aid templates]]&lt;br /&gt;
[[Category:Semantic markup templates]]&lt;br /&gt;
[[Category:Wikipedia XHTML tag-replacing templates]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>w&gt;Daask</name></author>
	</entry>
</feed>