<?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%3AFormat_linkr%2Fdoc</id>
	<title>Template:Format linkr/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%3AFormat_linkr%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.pttlink.org/index.php?title=Template:Format_linkr/doc&amp;action=history"/>
	<updated>2026-05-05T06:27:27Z</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:Format_linkr/doc&amp;diff=5934&amp;oldid=prev</id>
		<title>Kg7qin: Created page with &quot;{{Template shortcut|flr}} {{Documentation subpage}} &lt;!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikipedia:Wikidata) --&gt;...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.pttlink.org/index.php?title=Template:Format_linkr/doc&amp;diff=5934&amp;oldid=prev"/>
		<updated>2022-01-20T23:08:25Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Template shortcut|flr}} {{Documentation subpage}} &amp;lt;!-- Add 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;...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Template shortcut|flr}}&lt;br /&gt;
{{Documentation subpage}}&lt;br /&gt;
&amp;lt;!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --&amp;gt;&lt;br /&gt;
{{Lua|Module:Format link|Module:Urldecode}}&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
This template does exactly what {{tl|format link}} does, and takes all the same arguments.&lt;br /&gt;
&lt;br /&gt;
This template is intended to lower editor workload when copying links from the URL bar and is not suitable for replacing {{tl|format link}}, because of the changes it makes to {{tl|format link}}'s output that could create ambiguity if automatically replaced.&lt;br /&gt;
&lt;br /&gt;
This template replaces any underscores with spaces and decodes any [[URL encoding|URL parts]] in {{tl|format link}}'s output. Some examples of why this may be useful—&lt;br /&gt;
&lt;br /&gt;
=== {{tl|format link}} ===&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{format link|People_of_the_Philippines_v._Santos,_Ressa_and_Rappler#Santos_Jr.'s_article|italicizepage=y}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
*: {{format link|People_of_the_Philippines_v._Santos,_Ressa_and_Rappler#Santos_Jr.'s_article|italicizepage=y}}&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{format link|%E6%9C%AA%E6%9D%A5%E6%97%A5%E8%A8%98#M%61nga}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
*: {{format link|%E6%9C%AA%E6%9D%A5%E6%97%A5%E8%A8%98#M%61nga}}&lt;br /&gt;
&lt;br /&gt;
=== {{tl|format linkr}} ===&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{format linkr|People_of_the_Philippines_v._Santos,_Ressa_and_Rappler#Santos_Jr.'s_article|italicizepage=y}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
: {{format linkr|People_of_the_Philippines_v._Santos,_Ressa_and_Rappler#Santos_Jr.'s_article|italicizepage=y}}&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{format linkr|%E6%9C%AA%E6%9D%A5%E6%97%A5%E8%A8%98#M%61nga}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
: {{format linkr|%E6%9C%AA%E6%9D%A5%E6%97%A5%E8%A8%98#M%61nga}}&lt;br /&gt;
* As shown in these examples, {{tl|format linkr}} also creates a way to use curly braces in links, which requires multiple templates with {{tl|format link}}:&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{hlist|{{format linkr|T#%7D}}|{{format linkr|#%7D}}}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
*: {{hlist|{{format linkr|T#%7B%7Bu%7D%7D}}|{{format linkr|#%7B%7Bu%7D%7D}}}}&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{hlist|{{format linkr|Template talk:T#%7B%7Bu%7D%7D}}|{{format linkr|#%7B%7Bu%7D%7D}}}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
*: {{hlist|{{format linkr|Template talk:T#%7B%7Bu%7D%7D}}|{{format linkr|#%7B%7Bu%7D%7D}}}}&lt;br /&gt;
&lt;br /&gt;
==== {{para|nud}} ====&lt;br /&gt;
{{para|nud}} ('''n'''o '''U'''RL '''d'''ecode) can be added to disable URL decoding but still get underscores replaced.&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{format linkr|%E6%9C%AA%E6%9D%A5%E6%97%A5%E8%A8%98#M%61_nga|nud=y}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
: {{format linkr|%E6%9C%AA%E6%9D%A5%E6%97%A5%E8%A8%98#M%61_nga|nud=y}}&lt;br /&gt;
&lt;br /&gt;
Note that you can achieve this through the [[HTML5 entity]] &amp;lt;code&amp;gt;&amp;amp;amp;UnderBar;&amp;lt;/code&amp;gt; just as well:&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{format linkr|pages%5Fcan&amp;amp;rsquo;t_contain_underscores#but%5Fsections&amp;amp;amp;UnderBar;may (though their anchors won&amp;amp;rsquo;t!)}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
: {{format linkr|pages%5Fcan&amp;amp;rsquo;t_contain_underscores#but%5Fsections&amp;amp;UnderBar;may (though their anchors won&amp;amp;rsquo;t!)}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{sandbox other||&lt;br /&gt;
&amp;lt;!-- Categories below this line; interwikis at Wikidata --&amp;gt;&lt;br /&gt;
[[Category:Internal link templates]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Kg7qin</name></author>
	</entry>
</feed>