<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.shadowrunwiki.com/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://www.shadowrunwiki.com/index.php?action=history&amp;feed=atom&amp;title=Template%3AEncodefirst%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://www.shadowrunwiki.com/index.php?title=Template:Encodefirst/doc&amp;action=history"/>
	<updated>2026-06-04T04:47:14Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://www.shadowrunwiki.com/index.php?title=Template:Encodefirst/doc&amp;diff=546&amp;oldid=prev</id>
		<title>Catrone3: Created page with &quot;{{Documentation subpage}} &lt;!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikipedia:Wikidata) --&gt;  This template replaces the first character of the argument with its HTML entity if it is one of four wiki markup characters&amp;nbsp;&lt;code&gt;:&lt;/code&gt;&amp;nbsp;&lt;code&gt;;&lt;/code&gt;&amp;nbsp;&lt;code&gt;*&lt;/code&gt;&amp;nbsp;&lt;code&gt;#&lt;/code&gt;. This can sometimes fix the issue at Help:Template#Problems and workarounds where a charac...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.shadowrunwiki.com/index.php?title=Template:Encodefirst/doc&amp;diff=546&amp;oldid=prev"/>
		<updated>2024-03-24T21:49:02Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Documentation subpage}} &amp;lt;!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see &lt;a href=&quot;https://en.wikipedia.org/wiki/Wikidata&quot; class=&quot;extiw&quot; title=&quot;wikipedia:Wikidata&quot;&gt;Wikipedia:Wikidata&lt;/a&gt;) --&amp;gt;  This template replaces the first character of the argument with its &lt;a href=&quot;https://en.wikipedia.org/wiki/HTML_entity&quot; class=&quot;extiw&quot; title=&quot;w:HTML entity&quot;&gt;HTML entity&lt;/a&gt; if it is one of four wiki markup characters &amp;lt;code&amp;gt;:&amp;lt;/code&amp;gt; &amp;lt;code&amp;gt;;&amp;lt;/code&amp;gt; &amp;lt;code&amp;gt;*&amp;lt;/code&amp;gt; &amp;lt;code&amp;gt;#&amp;lt;/code&amp;gt;. This can sometimes fix the issue at &lt;a href=&quot;/index.php?title=Help:Template&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Help:Template (page does not exist)&quot;&gt;Help:Template#Problems and workarounds&lt;/a&gt; where a charac...&amp;quot;&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 [[w:HTML entity|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 list 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>Catrone3</name></author>
	</entry>
</feed>