<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://elite.mistflux.co.uk/w/index.php?action=history&amp;feed=atom&amp;title=Template%3ACite_IETF%2Fmakelink%2Fdoc</id>
	<title>Template:Cite IETF/makelink/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://elite.mistflux.co.uk/w/index.php?action=history&amp;feed=atom&amp;title=Template%3ACite_IETF%2Fmakelink%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://elite.mistflux.co.uk/w/index.php?title=Template:Cite_IETF/makelink/doc&amp;action=history"/>
	<updated>2026-11-01T03:46:42Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.2</generator>
	<entry>
		<id>https://elite.mistflux.co.uk/w/index.php?title=Template:Cite_IETF/makelink/doc&amp;diff=132246&amp;oldid=prev</id>
		<title>Wikipedia&gt;GKNishimoto: /* Use */ interwiki removal</title>
		<link rel="alternate" type="text/html" href="https://elite.mistflux.co.uk/w/index.php?title=Template:Cite_IETF/makelink/doc&amp;diff=132246&amp;oldid=prev"/>
		<updated>2026-09-24T11:54:37Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Use: &lt;/span&gt; interwiki 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, add categories and interwikis at the bottom of this page. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This template is a &amp;quot;subroutine&amp;quot; of {{Tl|Cite IETF}} used for conditionally creating links for different types of documents.&lt;br /&gt;
&lt;br /&gt;
This &amp;quot;subroutine&amp;quot; is designed for {{Tl|Cite IETF}} and makes assumptions that may not be valid elsewhere.&lt;br /&gt;
&lt;br /&gt;
=== Background ===&lt;br /&gt;
&lt;br /&gt;
It uses the following algorithm:&lt;br /&gt;
# If the {{Para|Url}} parameter is given the template will simply display that value along with an optional anchor generated from {{Para|Anchor}} appended.&lt;br /&gt;
# If the {{Para|Url}} parameter is not given and the {{Para|Autolink}} parameter evaluates to anything other than &amp;lt;code&amp;gt;no&amp;lt;/code&amp;gt;, then the template attempts to generate a URL:&lt;br /&gt;
#* In the order of {{Para|Rfc}}, {{Para|Std}}, {{Para|Bcp}}, {{Para|Fyi}}, {{Para|Draft}}, {{Para|Ien}}, or {{Para|Rtr}}, the template looks for the first nonempty parameter and create a link with it.&lt;br /&gt;
#** In the case of {{Para|Rfc}}, if {{Para|Style}} is set to &amp;quot;html&amp;quot; or empty, it uses the new-style rfc-editor.org website. This new website provides a true HTML rendering with proportional text for the newer RFC pages and provides a simple &amp;quot;htmlized&amp;quot; view for the older pages with monospace font. Otherwise it uses the datatracker.ietf.org website, which always provides an &amp;quot;htmlized&amp;quot; view but offers a helpful sidebar.&lt;br /&gt;
#** In the case of {{Para|Draft}}, if {{Para|Style}} is set to &amp;quot;text&amp;quot; or empty, it uses the old-style datatracker.ietf.org rendering. Otherwise it uses the new-style www.ietf.org/archive website, which offers a true HTML rendering for the newer pages but returns 404 Not Found for the older pages.&lt;br /&gt;
#* If the {{Para|Anchor}} parameter is given, it will be appended to the generated url.&lt;br /&gt;
# If the {{Para|Anchor}} parameter is given but no Url is provided or auto-generated, a {{tlx|preview warning}} is produced. It may still end up invisible when passed to the bowels of {{tlx|Cite IETF}}.&lt;br /&gt;
&lt;br /&gt;
== Use ==&lt;br /&gt;
&lt;br /&gt;
It is invoked as:&lt;br /&gt;
: &amp;lt;kbd&amp;gt;&amp;lt;nowiki&amp;gt;{{Cite IETF/makelink&amp;lt;/nowiki&amp;gt;&amp;lt;/kbd&amp;gt;&lt;br /&gt;
:: | &amp;lt;kbd&amp;gt;Url&amp;lt;/kbd&amp;gt; = &amp;#039;&amp;#039;&amp;lt;value of &amp;#039;&amp;#039;{{Para|url}}&amp;#039;&amp;#039; or &amp;#039;&amp;#039;{{Para|archiveurl}}&amp;#039;&amp;#039; parameters&amp;gt;&amp;#039;&amp;#039;&lt;br /&gt;
:: | &amp;lt;kbd&amp;gt;Anchor&amp;lt;/kbd&amp;gt; = &amp;#039;&amp;#039;&amp;amp;lt;section or page anchor generated from the value of the &amp;#039;&amp;#039;{{Para|section}}&amp;#039;&amp;#039; or &amp;#039;&amp;#039;{{Para|page}}&amp;#039;&amp;#039; parameters&amp;amp;gt;&amp;#039;&amp;#039;&lt;br /&gt;
:: | &amp;lt;kbd&amp;gt;Autolink&amp;lt;/kbd&amp;gt; = &amp;#039;&amp;#039;&amp;lt;value of &amp;#039;&amp;#039;{{Para|autolink}}&amp;#039;&amp;#039; parameter&amp;gt;&amp;#039;&amp;#039;&lt;br /&gt;
:: | &amp;lt;kbd&amp;gt;Rfc&amp;lt;/kbd&amp;gt; = &amp;#039;&amp;#039;&amp;lt;value of &amp;#039;&amp;#039;{{Para|rfc}}&amp;#039;&amp;#039; parameter&amp;gt;&amp;#039;&amp;#039;&lt;br /&gt;
:: | &amp;lt;kbd&amp;gt;Std&amp;lt;/kbd&amp;gt; = &amp;#039;&amp;#039;&amp;lt;value of &amp;#039;&amp;#039;{{Para|std}}&amp;#039;&amp;#039; parameter&amp;gt;&amp;#039;&amp;#039;&lt;br /&gt;
:: | &amp;lt;kbd&amp;gt;Bcp&amp;lt;/kbd&amp;gt; = &amp;#039;&amp;#039;&amp;lt;value of &amp;#039;&amp;#039;{{Para|bcp}}&amp;#039;&amp;#039; parameter&amp;gt;&amp;#039;&amp;#039;&lt;br /&gt;
:: | &amp;lt;kbd&amp;gt;Fyi&amp;lt;/kbd&amp;gt; = &amp;#039;&amp;#039;&amp;lt;value of &amp;#039;&amp;#039;{{Para|fyi}}&amp;#039;&amp;#039; parameter&amp;gt;&amp;#039;&amp;#039;&lt;br /&gt;
:: | &amp;lt;kbd&amp;gt;Draft&amp;lt;/kbd&amp;gt; = &amp;#039;&amp;#039;&amp;lt;value of &amp;#039;&amp;#039;{{Para|draft}}&amp;#039;&amp;#039; parameter&amp;gt;&amp;#039;&amp;#039;&lt;br /&gt;
:: | &amp;lt;kbd&amp;gt;Ien&amp;lt;/kbd&amp;gt; = &amp;#039;&amp;#039;&amp;lt;value of &amp;#039;&amp;#039;{{Para|ien}}&amp;#039;&amp;#039; parameter&amp;gt;&amp;#039;&amp;#039;&lt;br /&gt;
:: | &amp;lt;kbd&amp;gt;Rtr&amp;lt;/kbd&amp;gt; = &amp;#039;&amp;#039;&amp;lt;value of &amp;#039;&amp;#039;{{Para|rtr}}&amp;#039;&amp;#039; parameter&amp;gt;&amp;#039;&amp;#039;&lt;br /&gt;
: &amp;lt;kbd&amp;gt;&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;&amp;lt;/kbd&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Examples ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot;&amp;gt;{{Cite IETF/makelink |Fyi=17 |Anchor=&amp;amp;#035;page-5}}&amp;lt;/syntaxhighlight&amp;gt; produces &amp;quot;{{Cite IETF/makelink |Fyi=17 |Anchor=&amp;amp;#035;page-5}}&amp;quot; (sandbox currently gives: {{Cite IETF/makelink/sandbox |Fyi=17 |Anchor=&amp;amp;#035;page-5}}).&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot;&amp;gt;{{Cite IETF/makelink |Url=https://datatracker.ietf.org/doc/html/rfc2119 |Anchor=&amp;amp;#035;section-1}}&amp;lt;/syntaxhighlight&amp;gt; produces &amp;quot;{{Cite IETF/makelink |Url=https://datatracker.ietf.org/doc/html/rfc2119 |Anchor=&amp;amp;#035;section-1}}&amp;quot; (sandbox currently gives: {{Cite IETF/makelink/sandbox |Url=https://datatracker.ietf.org/doc/html/rfc2119 |Anchor=&amp;amp;#035;section-1}}).&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot;&amp;gt;{{Cite IETF/makelink |Rfc=1122 |Std=3}}&amp;lt;/syntaxhighlight&amp;gt; produces &amp;quot;{{Cite IETF/makelink |Rfc=1122 |Std=3}}&amp;quot; (sandbox says: {{Cite IETF/makelink/sandbox |Rfc=1122 |Std=3}}).&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot;&amp;gt;{{Cite IETF/makelink |Rfc=822 |Std=11 |Anchor=&amp;amp;#035;section-4}}&amp;lt;/syntaxhighlight&amp;gt; produces &amp;quot;{{Cite IETF/makelink |Rfc=822 |Std=11 |Anchor=&amp;amp;#035;section-4}}&amp;quot; (sandbox says: {{Cite IETF/makelink/sandbox |Rfc=822 |Std=11 |Anchor=&amp;amp;#035;section-4}}).&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot;&amp;gt;{{Cite IETF/makelink |Rfc=854 |Std=8}}&amp;lt;/syntaxhighlight&amp;gt; produces &amp;quot;{{Cite IETF/makelink |Rfc=854 |Std=8}}&amp;quot; (sandbox says: {{Cite IETF/makelink/sandbox |Rfc=854 |Std=8}}&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot;&amp;gt;{{Cite IETF/makelink |Anchor=&amp;amp;#035;section-4}}&amp;lt;/syntaxhighlight&amp;gt; produces &amp;quot;{{Cite IETF/makelink |Anchor=&amp;amp;#035;section-4}}&amp;quot; (sandbox says: {{Cite IETF/makelink/sandbox |Anchor=&amp;amp;#035;section-4}}&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot;&amp;gt;{{Cite IETF/makelink |Autolink=no |Anchor=&amp;amp;#035;section-4}}&amp;lt;/syntaxhighlight&amp;gt; produces &amp;quot;{{Cite IETF/makelink |Autolink=no |Anchor=&amp;amp;#035;section-4}}&amp;quot; (sandbox says: {{Cite IETF/makelink/sandbox |Autolink=no |Anchor=&amp;amp;#035;section-4}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{Sandbox other||&lt;br /&gt;
&amp;lt;!-- Categories and interwikis here, thanks. --&amp;gt;&lt;br /&gt;
[[Category:Specific-source templates]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wikipedia&gt;GKNishimoto</name></author>
	</entry>
</feed>