<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://safernicotine.wiki/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Template%3ASmallcaps_all%2Fdoc</id>
	<title>Template:Smallcaps all/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://safernicotine.wiki/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Template%3ASmallcaps_all%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://safernicotine.wiki/mediawiki/index.php?title=Template:Smallcaps_all/doc&amp;action=history"/>
	<updated>2026-04-13T09:42:29Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>https://safernicotine.wiki/mediawiki/index.php?title=Template:Smallcaps_all/doc&amp;diff=40639&amp;oldid=prev</id>
		<title>imported&gt;Kwamikagami: /* top */ converted to upper case, not lower</title>
		<link rel="alternate" type="text/html" href="https://safernicotine.wiki/mediawiki/index.php?title=Template:Smallcaps_all/doc&amp;diff=40639&amp;oldid=prev"/>
		<updated>2022-06-23T19:30:29Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;top: &lt;/span&gt; converted to upper case, not lower&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;
{{template shortcut|sc}}&lt;br /&gt;
{{Notice|title=This is probably not the template you are looking for.|1=This template is for special coding purposes. You are most likely looking for:&lt;br /&gt;
{{Deprecated template}}&lt;br /&gt;
* {{tl|Smallcaps}} a.k.a. {{tl|sc1}} – present mixed case in smallcaps: {{smallcaps|The Sun Also Rises}}&lt;br /&gt;
* {{tl|Smallcaps2}} a.k.a. {{tl|sc2}} – given acronyms is smaller all-caps: {{smallcaps2|UNESCO}}&lt;br /&gt;
|left=y}}&lt;br /&gt;
This text changes most letters, both upper and lower case, to small capitals, though half of the Greek alphabet is instead converted to lower case (namely the letters Α Β Γ Δ Θ Λ Μ Ρ Σ Φ Χ Ω and their accented forms apart from Ώ). With those exceptions, the text is hard-coded as upper case.&lt;br /&gt;
&lt;br /&gt;
This template substitutes letters with their capital variants, then displays them as {{smallcaps|small caps}}, about the same height as lower-case letters. The upper-case conversion happens regardless of user preferences, and the content will copy-paste as upper case. For this reason, it is usually not suitable for article text, and is intended for specialized purposes. It is primarily for use in other templates, to correct mixed- or lower-case input.&lt;br /&gt;
&lt;br /&gt;
Other templates have been developed to handle content that should remain lower or mixed-case, as detailed in [[#Deprecated uses|§&amp;amp;nbsp;Deprecated uses]], below.&lt;br /&gt;
&lt;br /&gt;
This template should not be used for emphasis in articles. See [[Wikipedia:Manual of Style/Capital letters]] (shortcut: [[MOS:CAPS]]), especially the section [[Wikipedia:Manual of Style/Capital letters#All caps and small caps|§&amp;amp;nbsp;All caps and small caps]] (direct shortcut to the section: [[MOS:SMALLCAPS]]).&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
{{COinS safe|n}}&lt;br /&gt;
&lt;br /&gt;
; Code     : &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{smallcaps all|Hello World}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
; Displayed: {{smallcaps all|Hello World}}&lt;br /&gt;
; Pasted   : Correctly as &amp;quot;Hello World&amp;quot; in a few browsers, but incorrectly as &amp;quot;hello world&amp;quot; in many.&lt;br /&gt;
&lt;br /&gt;
{{Notice|title={{error|Warning: Default use of this template will corrupt upper- or mixed-case data,}}|1=by permanently converting it to lowercase for users of many browsers, including Chrome, Chromium, Safari (12.1), Opera, and any text-only browser (Lynx, Lynx, W3M, etc), from which copy-pasted output will be all-lowercase.|image=Stop hand nuvola.svg|left=y}}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;To maintain initial full capitals, a second parameter is used&amp;#039;&amp;#039;&amp;#039;. Example:&lt;br /&gt;
; Code: {{tlx|smallcaps all|H|ello}} {{tlx|smallcaps all|W|orld}}&lt;br /&gt;
; Displayed: {{smallcaps all|H|ello}} {{smallcaps all|W|orld}}&lt;br /&gt;
; Pasted   : Correctly as &amp;quot;Hello World&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
This style is [[MOS:ALLCAPS|not usually used in Wikipedia]]. For cases where it is needed, use {{tlx|Smallcaps}} (and {{tlx|Smallcaps2}} for smaller output), which produce this result without need of additional parameters, and for entire spans of text.&lt;br /&gt;
&lt;br /&gt;
If the template is placed outside a link, it will capitalize the link itself, so in some cases it needs to be placed inside the link.&lt;br /&gt;
&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 must be used in its content, it must be encoded as a decimal character reference (e.g. &amp;lt;code&amp;gt;&amp;amp;amp;#160;&amp;lt;/code&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
If either parameter&amp;#039;s content contains an equals sign (&amp;lt;code&amp;gt;=&amp;lt;/code&amp;gt;) the parameters need to be numbered, {{para|1}} and (if two are used) {{para|2}}, or the template will break. This is a general limitation of [[MediaWiki]] syntax.&lt;br /&gt;
&lt;br /&gt;
===Legitimate uses===&lt;br /&gt;
This template should only be used for text that is normally all-lowercase regardless of typographic style, but which is desired to be shown in smallcaps for display purposes. An example is indication of stressed syllables in the {{tl|Respell}} template.&lt;br /&gt;
&lt;br /&gt;
It is also capable of mixed-case display with additional parameters, but is rarely needed for this purpose since {{tl|Smallcaps}} and {{tl|Smallcaps2}} do this more robustly.&lt;br /&gt;
&lt;br /&gt;
===Deprecated uses===&lt;br /&gt;
The default parameter of this template &amp;#039;&amp;#039;should never&amp;#039;&amp;#039; be used for strings that should be capitalized regardless of typographic style, such as acronyms. As noted above, while it has the capability of being used with additional parameters to represent mixed-case text, this is better done with {{tl|Smallcaps2}} (e.g., {{smallcaps2|TCMoS}}), or {{tl|Smallcaps}} (e.g., {{smallcaps|Hello World}}), both of which work on entire spans of mixed-case text, and  without the complication of requiring additional parameters.&lt;br /&gt;
&lt;br /&gt;
Several of the following attempts to lighten all-caps words, abbreviations, or [[acronym]]s, as a matter of typographic style, will corrupt the data. Many of them violate the [[WP:MOS|Manual of Style]] if used in articles and those that do not are better done with other templates:&lt;br /&gt;
&lt;br /&gt;
* To quasi-mix the case of acronyms, as in {{smallcaps all|U|nesco}} (instead of UNESCO) – {{hatnote inline|This is not done in Wikipedia articles; see [[MOS:CAPS]], [[MOS:ACRONYMS]].}}&lt;br /&gt;
* To make acronyms and initialisms, and other all-caps strings like Unicode character names, smaller, as in {{smallcaps all|UNESCO}} and {{smallcaps all|IDEOGRAPHIC COMMA}} – {{hatnote inline|This is better done with {{tl|Smallcaps2}}, because the data will not be corrupted and the display will be more legible.}}&lt;br /&gt;
* A trademark like [[Time (magazine)|{{smallcaps all|T|ime}}]] (instead of TIME) – {{hatnote inline|Do not use this in articles, per [[MOS:TM]].}}&lt;br /&gt;
* To present smallcaps titles of works, in citation styles that use this format – {{hatnote inline|Use {{tl|Smallcaps}} for this purpose since it can be done in one parameter and with more legible results; don&amp;#039;t do it at all in articles outside of such citation styles, nor for headings, table headers, etc. (see [[MOS:CAPS]], [[WP:CITE]]).}}&lt;br /&gt;
* Era abbreviations in dates such as 625&amp;amp;nbsp;{{smallcaps all|BCE}} – {{hatnote inline|Use {{tl|Smallcaps2}} for this purpose, as it will be more legible.}}&lt;br /&gt;
* The special case of transliterating [[tetragrammaton|&amp;#039;&amp;#039;{{smallcaps all|Y|HWH}}&amp;#039;&amp;#039;]] as &amp;quot;the {{smallcaps all|L|ORD}}&amp;quot;, as in the King James Bible – {{hatnote inline|There is a dedicated template for this, {{tl|LORD}}, with more legible output.}}&lt;br /&gt;
&lt;br /&gt;
== Technical notes ==&lt;br /&gt;
{{anchor|Note}}&lt;br /&gt;
* This template is based on {{tl|smallcaps}}, including additional wrapper for &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;span style=&amp;quot;text-transform: lowercase;&amp;quot;&amp;gt;...&amp;lt;/span&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; – This method cannot be relied upon because it does not work at least in Internet Explorer 5 and 6, which are still fairly common browsers, and it is implemented inconsistently in others, such that it copy-pastes as the original text in Firefox, but as the altered text in Chrome, Safari, Opera, and text-only browsers.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;This template should not be directly [[WP:SUBST|substituted]]&amp;#039;&amp;#039;&amp;#039; because the result will {{em|not}} be just the intended text, but the original text wrapped in HTML and wikitemplate code. It is better to use other templates like {{tl|smallcaps}}, {{tl|smallcaps2}}, or a combination of them, to achieve the desired result, and to correct the actual case of the content while doing so.&lt;br /&gt;
* [[Diacritic]]s (å, ç, é, ğ, ı, ñ, ø, ş, ü, etc.) are handled. However, because the job is performed by each reader&amp;#039;s browser and fonts, 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 {{mono|1{{=}}}}. 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 all|ı i}}}}&amp;lt;/code&amp;gt; may gives you {{Lang|tr|{{Smallcaps all|ı ı}}}}, although the language is set to Turkish, unless the font includes localized glyphs for small caps variant.&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;
* This template will not affect the use of HTML character entities like &amp;lt;code&amp;gt;&amp;amp;amp;nbsp;&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Comparison of the case transformation templates==&lt;br /&gt;
{{anchor|Comparison of the small caps templates}}&lt;br /&gt;
{{Case templates table}}&lt;br /&gt;
&lt;br /&gt;
==TemplateData==&lt;br /&gt;
{{TemplateData header}}&lt;br /&gt;
&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;2&amp;quot;: {}&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/templatedata&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* {{tl|Smallcaps}}&lt;br /&gt;
* {{tl|Smallcaps2}}&lt;br /&gt;
{{Case templates see also}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{Sandbox other||&lt;br /&gt;
&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>imported&gt;Kwamikagami</name></author>
	</entry>
</feed>