<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://moasspedia.org/w/index.php?action=history&amp;feed=atom&amp;title=Template%3AAllcaps%2Fdoc</id>
	<title>Template:Allcaps/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://moasspedia.org/w/index.php?action=history&amp;feed=atom&amp;title=Template%3AAllcaps%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://moasspedia.org/w/index.php?title=Template:Allcaps/doc&amp;action=history"/>
	<updated>2026-04-12T11:16:17Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.37.2</generator>
	<entry>
		<id>https://moasspedia.org/w/index.php?title=Template:Allcaps/doc&amp;diff=4959&amp;oldid=prev</id>
		<title>Wikipedia&gt;Eyesnore at 21:44, 26 February 2022</title>
		<link rel="alternate" type="text/html" href="https://moasspedia.org/w/index.php?title=Template:Allcaps/doc&amp;diff=4959&amp;oldid=prev"/>
		<updated>2022-02-26T21:44:51Z</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 subpage}}&lt;br /&gt;
{{High-use|20524}}&lt;br /&gt;
&amp;lt;!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --&amp;gt;&lt;br /&gt;
{{TemplateStyles|Template:Allcaps/styles.css}}&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Allcaps|yOuR tExT}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&amp;#039;&amp;#039;&amp;#039; will (in most browsers) display lower- or mixed-case text in, and (in many browsers) permanently convert  it to, full [[Capital letter|uppercase]].&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
{{Notice|title={{error|Warning: Many browsers will corrupt lower- or mixed-case text using this template,}}|1=by permanently converting it to uppercase, including Chrome, Chromium, Opera, and any text-only browser (Lynx, Lynx, W3M, etc), from which copy-pasted output will be all-uppercase.|image=Stop hand nuvola.svg|left=y}}&lt;br /&gt;
{{COinS safe|n}}&lt;br /&gt;
&lt;br /&gt;
Your source text {{em|will be}} altered by many browsers (a copy-paste will not give it in its original form):&lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;In:&amp;#039;&amp;#039;&amp;#039; &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Allcaps|The &amp;#039;&amp;#039;Name&amp;#039;&amp;#039; of the Game}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;Out:&amp;#039;&amp;#039;&amp;#039; {{Allcaps|The &amp;#039;&amp;#039;Name&amp;#039;&amp;#039; of the Game}}&lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;Pasted:&amp;#039;&amp;#039;&amp;#039; Incorrectly as &amp;quot;THE &amp;#039;&amp;#039;NAME&amp;#039;&amp;#039; OF THE GAME&amp;quot; or correctly as &amp;quot;The &amp;#039;&amp;#039;Name&amp;#039;&amp;#039; of the Game&amp;quot;, depending on browser.&lt;br /&gt;
&lt;br /&gt;
You can use this template to control the display of the variable output of magic words and of other templates.&lt;br /&gt;
&lt;br /&gt;
== Technical notes ==&lt;br /&gt;
{{Anchor|Note}}&lt;br /&gt;
* This template is a wrapper for &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;span class=&amp;quot;allcaps&amp;quot; style=&amp;quot;text-transform: uppercase;&amp;quot;&amp;gt;...&amp;lt;/span&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; – This styling is implemented inconsistently in browsers. Firefox copies the unaltered capitalization to the clipboard, while Chromium, Safari, Opera, IE11, and text-only browsers copy all capitals. Case-sensitive searches in Firefox match the unaltered capitalization, so a reader searching for all capitals will not get the expected result. Google and Bing show the unaltered capitalization in search result snippets.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;This template will corrupt HTML character entities&amp;#039;&amp;#039;&amp;#039;, such as &amp;lt;code&amp;gt;&amp;amp;amp;nbsp;&amp;lt;/code&amp;gt;; if a special character much be used in its content, it must be encoded as a decimal character references (e.g. &amp;lt;code&amp;gt;&amp;amp;amp;#160;&amp;lt;/code&amp;gt;).&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Preferably do not subst: it&amp;#039;&amp;#039;&amp;#039; because the result will {{em|not}} be an uppercase source text but the original text wrapped in HTML code making it appear uppercase, so it is more efficient for this purpose to simply rewrite the text in uppercase, or use &amp;lt;nowiki&amp;gt;&amp;quot;{{subst:uc:&amp;amp;nbsp;...text...}}&amp;quot;&amp;lt;/nowiki&amp;gt; to store uppercase text into the page.  You can also use the template in edit mode, then copy-paste the result from preview mode into the editing field, replacing the original material and the template.&lt;br /&gt;
* [[Diacritic]]s (å, ç, é, ğ, ı, ñ, ø, ş, ü, etc.) are handled. However, because the job is performed by each reader&amp;#039;s browser, inconsistencies in [[CSS]] implementations can lead to some browsers not converting certain rare diacritics.&lt;br /&gt;
* Use of this template does not generate any automatic categorization. As with most templates, if the argument contains an &amp;lt;code&amp;gt;=&amp;lt;/code&amp;gt; sign, the sign should be replaced with {{[[Template:=|=]]}}, or the whole argument be prefixed with &amp;lt;kbd&amp;gt;1=&amp;lt;/kbd&amp;gt;. And for wikilinks, you need to use piping. There is a parsing problem with MediaWiki which causes unexpected behavior when a template with one style is used within a template with another style.&lt;br /&gt;
* There is a problem with [[dotted and dotless I]]. &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Lang|tr|{{&amp;lt;/nowiki&amp;gt;Smallcaps|ı i}}}}&amp;lt;/code&amp;gt; gives you {{Lang|tr|{{Smallcaps|ı i}}}}, although the language is set to Turkish.&lt;br /&gt;
* Do not use this inside {{cs1}} or {{cs2}} templates, or this template&amp;#039;s markup will be included in the [[COinS]] metadata. This means that [[reference management software]] such as [[Zotero]] will have entries corrupted by the markup. For example, if {{tl|smallcaps}} is used to format the surname of &amp;#039;&amp;#039;Bloggs, Joe&amp;#039;&amp;#039; in {{tl|cite journal}}, then Zotero will store the name as &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;span style=&amp;quot;font-variant:small-caps;&amp;quot;&amp;gt;Bloggs&amp;lt;/span&amp;gt;, Joe&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;. This is incorrect metadata. If the article that you are editing uses a citation style that includes small caps, either format the citation manually (see examples below) or use a citation template that specifically includes small caps in its formatting, like {{tl|Cite LSA}}.&lt;br /&gt;
&lt;br /&gt;
==Comparison of the case transformation templates==&lt;br /&gt;
{{Case templates table}}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
{{Case templates see also}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{Sandbox other||&amp;lt;!-- CATEGORIES AND INTERWIKIS HERE, THANKS --&amp;gt;&lt;br /&gt;
[[Category:Text-specific formatting and function templates]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wikipedia&gt;Eyesnore</name></author>
	</entry>
</feed>