<?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%3AEncodefirst%2Fdoc</id>
	<title>Template:Encodefirst/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%3AEncodefirst%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://safernicotine.wiki/mediawiki/index.php?title=Template:Encodefirst/doc&amp;action=history"/>
	<updated>2026-04-08T01:15:25Z</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:Encodefirst/doc&amp;diff=36535&amp;oldid=prev</id>
		<title>imported&gt;DB1729: Reverted 1 edit by 104.5.223.19 (talk): Unexplained removal</title>
		<link rel="alternate" type="text/html" href="https://safernicotine.wiki/mediawiki/index.php?title=Template:Encodefirst/doc&amp;diff=36535&amp;oldid=prev"/>
		<updated>2023-04-04T12:11:59Z</updated>

		<summary type="html">&lt;p&gt;Reverted 1 edit by &lt;a href=&quot;/mediawiki/index.php/Special:Contributions/104.5.223.19&quot; title=&quot;Special:Contributions/104.5.223.19&quot;&gt;104.5.223.19&lt;/a&gt; (&lt;a href=&quot;/mediawiki/index.php?title=User_talk:104.5.223.19&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;User talk:104.5.223.19 (page does not exist)&quot;&gt;talk&lt;/a&gt;): Unexplained removal&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;
&amp;lt;!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This template replaces the first character of the argument with its [[HTML entity]] if it is one of four wiki markup characters&amp;amp;nbsp;&amp;lt;code&amp;gt;:&amp;lt;/code&amp;gt;&amp;amp;nbsp;&amp;lt;code&amp;gt;;&amp;lt;/code&amp;gt;&amp;amp;nbsp;&amp;lt;code&amp;gt;*&amp;lt;/code&amp;gt;&amp;amp;nbsp;&amp;lt;code&amp;gt;#&amp;lt;/code&amp;gt;. This can sometimes fix the issue at [[Help:Template#Problems and workarounds]] where a character may be processed as though it were at the beginning of a line.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
{{Tlx|Encodefirst|&amp;lt;string&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
The output looks like the input whether a character is replaced or not.&lt;br /&gt;
&lt;br /&gt;
{{Tlx|Encodefirst|*Lisp}} produces: {{Encodefirst|*Lisp}}&lt;br /&gt;
&lt;br /&gt;
But the output will behave differently from the input in some situations where it is processed. For example, {{tl|la}} fails as of August 2017 if its argument starts with &amp;lt;code&amp;gt;*&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{la|*Lisp}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; causes the asterisk to be processed as [[Help:Wiki markup#Lists|list markup]] and produces broken display.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{la|{{Encodefirst|*Lisp}}}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; works correctly:&lt;br /&gt;
&lt;br /&gt;
{{la|{{Encodefirst|*Lisp}}}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{sandbox other||&lt;br /&gt;
&amp;lt;!-- Categories below this line, please; interwikis at Wikidata --&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;DB1729</name></author>
	</entry>
</feed>