<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.pttlink.org/index.php?action=history&amp;feed=atom&amp;title=Template%3AUcfirstSwitch%2Fdoc</id>
	<title>Template:UcfirstSwitch/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.pttlink.org/index.php?action=history&amp;feed=atom&amp;title=Template%3AUcfirstSwitch%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.pttlink.org/index.php?title=Template:UcfirstSwitch/doc&amp;action=history"/>
	<updated>2026-05-04T17:44:14Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.5</generator>
	<entry>
		<id>https://wiki.pttlink.org/index.php?title=Template:UcfirstSwitch/doc&amp;diff=6225&amp;oldid=prev</id>
		<title>Kg7qin: Created page with &quot;{{TemplateBox |1         = 1 |1label-en = Text |1d-en     = The text to display (first letter lower case, otherwise useless) |1type     = content |1def      =  |1stat     = re...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.pttlink.org/index.php?title=Template:UcfirstSwitch/doc&amp;diff=6225&amp;oldid=prev"/>
		<updated>2022-01-21T10:51:15Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{TemplateBox |1         = 1 |1label-en = Text |1d-en     = The text to display (first letter lower case, otherwise useless) |1type     = content |1def      =  |1stat     = re...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{TemplateBox&lt;br /&gt;
|1         = 1&lt;br /&gt;
|1label-en = Text&lt;br /&gt;
|1d-en     = The text to display (first letter lower case, otherwise useless)&lt;br /&gt;
|1type     = content&lt;br /&gt;
|1def      = &lt;br /&gt;
|1stat     = required&lt;br /&gt;
&lt;br /&gt;
|2         = 2&lt;br /&gt;
|2label-en = switch&lt;br /&gt;
|2d-en     = Boolean value indicating whether the first letter of the text should be upper cased&lt;br /&gt;
|2type     = boolean&lt;br /&gt;
|2def      = 0 &lt;br /&gt;
|2stat     = suggested&lt;br /&gt;
&lt;br /&gt;
|name=UcfirstSwitch&lt;br /&gt;
|desc-en=This template converts a text’s first letter to upper case if the second parameter is truthy. It’s useful in templates, where the second parameter comes from a parameter of that template or some complex condition, so that the text needs to be given only once.&lt;br /&gt;
|namespace=template&lt;br /&gt;
|usergroup=all&lt;br /&gt;
|placement=&lt;br /&gt;
|usage-notes=&lt;br /&gt;
|type=&lt;br /&gt;
|example=&lt;br /&gt;
|i18n-method=-&lt;br /&gt;
|i18n-desc=&lt;br /&gt;
|seealso=&lt;br /&gt;
|setscats=&lt;br /&gt;
|lines=&lt;br /&gt;
|shorthand=&lt;br /&gt;
|relieson={{tl|boolean}}&lt;br /&gt;
|useTemplateData=only&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{UcfirstSwitch|text|0}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;  {{UcfirstSwitch|text|0}} &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{UcfirstSwitch|text|1}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;  {{UcfirstSwitch|text|y}}&lt;/div&gt;</summary>
		<author><name>Kg7qin</name></author>
	</entry>
</feed>