<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.sasgaming.net/index.php?action=history&amp;feed=atom&amp;title=Template%3AMC%2FEnglish_variant_abbreviation%2Fdoc</id>
	<title>Template:MC/English variant abbreviation/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.sasgaming.net/index.php?action=history&amp;feed=atom&amp;title=Template%3AMC%2FEnglish_variant_abbreviation%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.sasgaming.net/index.php?title=Template:MC/English_variant_abbreviation/doc&amp;action=history"/>
	<updated>2026-04-11T20:38:52Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://wiki.sasgaming.net/index.php?title=Template:MC/English_variant_abbreviation/doc&amp;diff=43037&amp;oldid=prev</id>
		<title>imported&gt;RedX at 12:45, 11 December 2025</title>
		<link rel="alternate" type="text/html" href="https://wiki.sasgaming.net/index.php?title=Template:MC/English_variant_abbreviation/doc&amp;diff=43037&amp;oldid=prev"/>
		<updated>2025-12-11T12:45:30Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{documentation header}}&lt;br /&gt;
&amp;lt;!-- documentation here --&amp;gt;&lt;br /&gt;
{{Shortcut|evb|variantabbr}}&lt;br /&gt;
This template generates short names for [[Language#Differences between English variants|English language variants]] (British English, American English, Australian English etc.), with an explanatory tooltip that shows the full name of the variant when the user hovers over it with the mouse cursor. It is primatily intended to be used in the &amp;quot;Other names&amp;quot; section in infoboxes for [[Template:Infobox block|blocks]], [[Template:Infobox item|items]], [[Template:Infobox biome|biomes]], [[Template:Infobox enchantment|enchantments]] and more.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
=== Anonymous parameters ===&lt;br /&gt;
The template takes an unlimited amount of unnamed parameters, each representing an English language variant. However, only the values listed in the &amp;quot;Known parameters&amp;quot; table below will have a tooltip generated for them. All other values will have the tooltip set to &amp;lt;code&amp;gt;&amp;amp;lt;unknown&amp;amp;gt;&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Note that these values are not case-sensitive, unless the &amp;lt;code&amp;gt;noupper&amp;lt;/code&amp;gt; parameter is set (see the &amp;quot;Named parameters&amp;quot; section below). For example, &amp;lt;code&amp;gt;gb&amp;lt;/code&amp;gt; has the same meaning as &amp;lt;code&amp;gt;GB&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Known parameters&lt;br /&gt;
|-&lt;br /&gt;
! Parameter !! English variant !! Output&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;AU&amp;lt;/code&amp;gt; || Australian English || {{English variant abbreviation|AU|noparen=1}}&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;CA&amp;lt;/code&amp;gt; || Canadian English || {{English variant abbreviation|CA|noparen=1}}&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;GB&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;UK&amp;lt;/code&amp;gt; || British English || {{English variant abbreviation|GB|noparen=1}} or {{English variant abbreviation|UK|noparen=1}}&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;NZ&amp;lt;/code&amp;gt; || New Zealand English || {{English variant abbreviation|NZ|noparen=1}}&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;US&amp;lt;/code&amp;gt; || American English || {{English variant abbreviation|US|noparen=1}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Named parameters ===&lt;br /&gt;
The template also takes the following named parameters. These parameters are case-sensitive.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Named parameters&lt;br /&gt;
|-&lt;br /&gt;
! Parameter !! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;noupper&amp;lt;/code&amp;gt; &lt;br /&gt;
| By default, this template converts all of the provided values to be uppercase. If this parameter is set, the values will not be converted to uppercase.&lt;br /&gt;
Example: {{Tl|English variant abbreviation|au|noupper{{=}}1}} generates {{English variant abbreviation|au|noupper=1}} instead of {{English variant abbreviation|au}}.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;nowrap&amp;lt;/code&amp;gt;&lt;br /&gt;
| If this parameter is set, the generated text will not wrap into multiple lines under any circumstances.&lt;br /&gt;
Equivalent to: &amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;white-space:nowrap&amp;quot;&amp;gt;{{...}}&amp;lt;/span&amp;gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;small&amp;lt;/code&amp;gt; &lt;br /&gt;
| If this parameter is set, the template will use a smaller font size.&lt;br /&gt;
Example: {{English variant abbreviation|AU|CA|GB|NZ}} &amp;amp;rarr; {{English variant abbreviation|AU|CA|GB|NZ|small=1}}&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;noparen&amp;lt;/code&amp;gt;&lt;br /&gt;
| If this parameter is set, the template will not add parentheses to the text.&lt;br /&gt;
Example: {{English variant abbreviation|GB}} &amp;amp;rarr; {{English variant abbreviation|GB|noparen=1}}&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;nocomma&amp;lt;/code&amp;gt;&lt;br /&gt;
| If this parameter is set, the template will not add commas between multiple variant codes. This parameter is only effective if at least two variant codes are provided.&lt;br /&gt;
Example: {{English variant abbreviation|AU|NZ|US}} &amp;amp;rarr; {{English variant abbreviation|AU|NZ|US|nocomma=1}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;NOTE:&amp;#039;&amp;#039;&amp;#039; The shortcuts {{Tl|evb}} or {{Tl|variantabbr}} can also be used instead of the full name {{Tl|English variant abbreviation}}.&lt;br /&gt;
&lt;br /&gt;
; Example #1 &amp;amp;ndash; One language variant&lt;br /&gt;
: &amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot;&amp;gt;Jacket Potato {{evb|GB}}&amp;lt;/syntaxhighlight&amp;gt; generates:&lt;br /&gt;
:&lt;br /&gt;
: Jacket Potato {{evb|GB}}&lt;br /&gt;
&lt;br /&gt;
; Example #2 &amp;amp;ndash; Two language variants&lt;br /&gt;
: &amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot;&amp;gt;Roast Chicken {{evb|GB|NZ}}&amp;lt;/syntaxhighlight&amp;gt; generates:&lt;br /&gt;
:&lt;br /&gt;
: Roast Chicken {{evb|GB|NZ}}&lt;br /&gt;
&lt;br /&gt;
; Example #3 &amp;amp;ndash; Three language variants, with small text and no line wrapping&lt;br /&gt;
: &amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot;&amp;gt;Biscuit {{evb|AU|GB|NZ|small=1|nowrap=1}}&amp;lt;/syntaxhighlight&amp;gt; generates:&lt;br /&gt;
:&lt;br /&gt;
: Biscuit {{evb|AU|GB|NZ|small=1|nowrap=1}}&lt;br /&gt;
&lt;br /&gt;
; Example #4 &amp;amp;ndash; Two language variants, with lowercase names and no parentheses&lt;br /&gt;
: &amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot;&amp;gt;{{evb|us|ca|noparen=1|noupper=1}}&amp;lt;/syntaxhighlight&amp;gt; generates:&lt;br /&gt;
:&lt;br /&gt;
: {{evb|us|ca|noparen=1|noupper=1}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{sandbox other||&lt;br /&gt;
&amp;lt;!-- page categories/interwikis here --&amp;gt;&lt;br /&gt;
[[Category:Formatting templates]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
&amp;lt;!-- documentation categories/interwikis here --&amp;gt;&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>imported&gt;RedX</name></author>
	</entry>
</feed>