<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="vi">
	<id>https://bktt.vn/index.php?action=history&amp;feed=atom&amp;title=B%E1%BA%A3n_m%E1%BA%ABu%3APDFlink%2Fdoc</id>
	<title>Bản mẫu:PDFlink/doc - Lịch sử thay đổi</title>
	<link rel="self" type="application/atom+xml" href="https://bktt.vn/index.php?action=history&amp;feed=atom&amp;title=B%E1%BA%A3n_m%E1%BA%ABu%3APDFlink%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://bktt.vn/index.php?title=B%E1%BA%A3n_m%E1%BA%ABu:PDFlink/doc&amp;action=history"/>
	<updated>2026-04-28T10:50:26Z</updated>
	<subtitle>Lịch sử thay đổi của trang này ở wiki</subtitle>
	<generator>MediaWiki 1.35.0</generator>
	<entry>
		<id>https://bktt.vn/index.php?title=B%E1%BA%A3n_m%E1%BA%ABu:PDFlink/doc&amp;diff=5103&amp;oldid=prev</id>
		<title>Taitamtinh: Tạo trang mới với nội dung “&lt;includeonly&gt;{{pp-template|small=yes}}&lt;/includeonly&gt; {{Trang con tài liệu}} &lt;!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --&gt;  {…”</title>
		<link rel="alternate" type="text/html" href="https://bktt.vn/index.php?title=B%E1%BA%A3n_m%E1%BA%ABu:PDFlink/doc&amp;diff=5103&amp;oldid=prev"/>
		<updated>2020-10-28T14:05:28Z</updated>

		<summary type="html">&lt;p&gt;Tạo trang mới với nội dung “&amp;lt;includeonly&amp;gt;{{pp-template|small=yes}}&amp;lt;/includeonly&amp;gt; {{Trang con tài liệu}} &amp;lt;!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --&amp;gt;  {…”&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Trang mới&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;includeonly&amp;gt;{{pp-template|small=yes}}&amp;lt;/includeonly&amp;gt;&lt;br /&gt;
{{Trang con tài liệu}}&lt;br /&gt;
&amp;lt;!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{tl|{{PAGENAME}}}} highlights that a link points to a [[Portable Document Format|PDF]] document (on some systems PDF files may take time to download and display within the browser, and their use on many websites is not compliant with the [[Web Content Accessibility Guidelines]]).&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
The following lines:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- &amp;lt;nowiki&amp;gt;[http://www.example.org/Link.pdf Link] {{PDFlink}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
     No longer works in Internet Explorer with new site-wide CSS-based icon.  Please use the other forms  --&amp;gt;&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;{{PDFlink|[http://www.example.org/Link.pdf Link]}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;{{PDFlink|[http://www.example.org/Link.pdf Link]|32&amp;amp;amp;nbsp;KB}}&amp;lt;/nowiki&amp;gt; &amp;lt;!-- only use when the bot fails to update --&amp;gt;&lt;br /&gt;
&amp;lt;!-- &amp;lt;nowiki&amp;gt;{{PDFlink|[http://www.example.org/Link.pdf Link]|32&amp;amp;amp;nbsp;[[Kibibyte|KiB]]}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
     Deprecated.  See [[MOS:NUM#Binary prefixes]] --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
yield:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Does not work in Internet Explorer with new site-wide CSS-based icon.  Please use the other forms: [http://www.example.org/Link.pdf Link] {{PDFlink}} --&amp;gt;&lt;br /&gt;
:{{PDFlink|[http://www.example.org/Link.pdf Link]}}&lt;br /&gt;
:{{PDFlink|[http://www.example.org/Link.pdf Link]|32&amp;amp;nbsp;KB}}&lt;br /&gt;
&amp;lt;!-- :{{PDFlink|[http://www.example.org/Link.pdf Link]|32&amp;amp;nbsp;[[Kibibyte|KiB]]}} Deprecated --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Note:''' It was previously possible to add the icon with &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{PDFlink}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; by itself, but the functionality has changed, making this no longer work in [[Internet Explorer]].  You must surround it with the template as shown above to work correctly in Internet Explorer.&lt;br /&gt;
&lt;br /&gt;
=== PDFbot ===&lt;br /&gt;
An unassisted [[WP:Bot policy|bot]] ([[User:PDFbot]]) has been created to add and keep [[file size]] information current.  In addition, it will fix many mistakes and the limitation as described in the section below.  &lt;br /&gt;
&lt;br /&gt;
Note: the bot will '''replace''' the contents of the second parameter when updating the file size.&lt;br /&gt;
&lt;br /&gt;
== Icon ==&lt;br /&gt;
The icon is add using CSS and is found in [[MediaWiki:Common.css]], the relevant portion that applies the icon is:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;css&amp;quot;&amp;gt;&lt;br /&gt;
/* Change the external link icon to an Adobe icon anywhere the PDFlink class */&lt;br /&gt;
/* is used (notably Template:PDFlink). This works in IE5-6, unlike the above. */&lt;br /&gt;
span.PDFlink a {&lt;br /&gt;
    background: url(http://upload.wikimedia.org/wikipedia/commons/thumb/2/23/Icons-mini-file_acrobat.gif/15px-Icons-mini-file_acrobat.gif) center right no-repeat !important;&lt;br /&gt;
    padding-right: 17px !important;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Limitations ==&lt;br /&gt;
As this template uses [[m:Help:Templates#Restrictions on parameter values|unnamed parameters]], links containing &amp;lt;tt&amp;gt;=&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;|&amp;lt;/tt&amp;gt; will cause the link to not display at all.  The workaround is to either replace the entity with an indirect [[Numeric character reference|character reference]] as &amp;lt;code&amp;gt;&amp;amp;amp;#61;&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;&amp;amp;amp;#124;&amp;lt;/code&amp;gt;, respectively, or to use the numbered parameter (&amp;lt;code&amp;gt;1=&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;2=&amp;lt;/code&amp;gt;) for each parameter to take care of &amp;lt;tt&amp;gt;=&amp;lt;/tt&amp;gt;, or to use {{tl|!}} to take care of &amp;lt;tt&amp;gt;|&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;{{PDFlink|[http://example.org/bla?a=xy|Link.pdf Link to a PDF]|32&amp;amp;amp;nbsp;KB}}&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** {{PDFlink|[http://example.org/bla?a=xy/Link.pdf Link to a PDF]|32&amp;amp;nbsp;KB}}&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;{{PDFlink|[http://example.org/bla?a&amp;lt;/nowiki&amp;gt;&amp;lt;span style=&amp;quot;color: red;&amp;quot;&amp;gt;'''&amp;amp;amp;#61;'''&amp;lt;/span&amp;gt;xy&amp;lt;span style=&amp;quot;color: red;&amp;quot;&amp;gt;'''&amp;amp;amp;#124;'''&amp;lt;/span&amp;gt;Link.pdf Link to a PDF]|32&amp;amp;amp;nbsp;KB}}&amp;lt;/tt&amp;gt;&lt;br /&gt;
** {{PDFlink|[http://example.org/bla?a&amp;amp;#61;xy&amp;amp;#124;Link.pdf Link to a PDF]|32&amp;amp;nbsp;KB}}&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;{{PDFlink|&amp;lt;/nowiki&amp;gt;'''&amp;lt;span style=&amp;quot;color: red;&amp;quot;&amp;gt;1=&amp;lt;/span&amp;gt;'''&amp;lt;nowiki&amp;gt;[http://example.org/bla?a=xy&amp;lt;/nowiki&amp;gt;&amp;lt;span style=&amp;quot;color: red;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;{{!}}&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;Link.pdf Link to a PDF]|'''&amp;lt;span style=&amp;quot;color: red;&amp;quot;&amp;gt;2=&amp;lt;/span&amp;gt;'''32&amp;amp;amp;nbsp;KB}}&amp;lt;/tt&amp;gt;&lt;br /&gt;
** {{PDFlink|1=[http://example.org/bla?a=xy{{!}}Link.pdf Link to a PDF]|2=32&amp;amp;nbsp;KB}}&lt;br /&gt;
&amp;lt;!---&lt;br /&gt;
== See also ==&lt;br /&gt;
  Please, use the categorization system instead of the updating the linking in the See also section of these pages&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;&amp;lt;!-- CATEGORIES AND INTERWIKIS HERE, THANKS --&amp;gt;&lt;br /&gt;
[[Thể loại:External link file type templates|{{PAGENAME}}]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Taitamtinh</name></author>
	</entry>
</feed>