<?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=Help%3AColon_trick</id>
	<title>Help:Colon trick - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://safernicotine.wiki/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Help%3AColon_trick"/>
	<link rel="alternate" type="text/html" href="https://safernicotine.wiki/mediawiki/index.php?title=Help:Colon_trick&amp;action=history"/>
	<updated>2026-05-14T16:20:06Z</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=Help:Colon_trick&amp;diff=22628&amp;oldid=prev</id>
		<title>Richardpruen: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://safernicotine.wiki/mediawiki/index.php?title=Help:Colon_trick&amp;diff=22628&amp;oldid=prev"/>
		<updated>2022-01-02T17:18:02Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en-GB&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 18:18, 2 January 2022&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&quot; class=&quot;diff-notice&quot; lang=&quot;en-GB&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key uk_vapewiki:diff:1.41:old-22627:rev-22628 --&gt;
&lt;/table&gt;</summary>
		<author><name>Richardpruen</name></author>
	</entry>
	<entry>
		<id>https://safernicotine.wiki/mediawiki/index.php?title=Help:Colon_trick&amp;diff=22627&amp;oldid=prev</id>
		<title>Wikipedia&gt;Illuminati42: Added periods after the sentences in Examples for consistency since the ://Hus sentence has a period.</title>
		<link rel="alternate" type="text/html" href="https://safernicotine.wiki/mediawiki/index.php?title=Help:Colon_trick&amp;diff=22627&amp;oldid=prev"/>
		<updated>2021-04-20T22:34:02Z</updated>

		<summary type="html">&lt;p&gt;Added periods after the sentences in Examples for consistency since the ://Hus sentence has a period.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{For|the style guideline about using colon in articles|MOS:COLON}}&lt;br /&gt;
{{Wikipedia how-to|WP:COLON|WP:COLONTRICK}}&lt;br /&gt;
{{Linking and page manipulation|linking and diffs}}&lt;br /&gt;
The &amp;#039;&amp;#039;&amp;#039;colon trick&amp;#039;&amp;#039;&amp;#039; is a method of providing a link to a [[Wikipedia:Category|category]], [[Help:Images|image]] or [[Help:Interwiki linking|interwiki link]] without adding the page to the category, displaying the image or adding the interwiki link to the [[Help:Interlanguage links|interlanguage links]]. It also allows for linking to pages with titles beginning with a recognized external link prefix, such as [[:http://]] or [[://Hus]].&lt;br /&gt;
&lt;br /&gt;
By adding a [[Colon (punctuation)|colon]] just inside the opening double square brackets of the link, the default behaviour of the [[MediaWiki software]] will be bypassed. It will appear as a conventional [[Help:Link|wikilink]].&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;[[Category:Help]]&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; would list this page in Category:Help, but &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;[[:Category:Help]]&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; will produce a link to [[:Category:Help]].&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;[[File:Wikipedia-logo.png]]&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; would display an image, but &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;[[:File:Wikipedia-logo.png]]&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; will produce a link to [[:File:Wikipedia-logo.png]].&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;[[pt:Internet]]&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; will create an interlanguage link, but &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;[[:pt:Internet]]&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; will produce an interwiki link to [[:pt:Internet]] (in the Portuguese Wikipedia).&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;[[//Hus]]&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; will produce an (invalid) external link wrapped in brackets (&amp;quot;[[//Hus]]&amp;quot;), but &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;[[://Hus]]&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; will produce a link to [[://Hus]].&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;[[Computer]]&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; links to the [[Computer]] article; adding a colon like &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;[[:Computer]]&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; can be done, but the colon is unneeded and makes no difference.&lt;br /&gt;
&lt;br /&gt;
==With templates==&lt;br /&gt;
A colon can also be used to transclude a page in mainspace, rather than template space. For example, {{tlx|The Beatles}} will transclude [[Template:The Beatles]], but &amp;lt;samp&amp;gt;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;[[The Beatles|:The&amp;amp;nbsp;Beatles]]}}&amp;lt;/samp&amp;gt; will transclude the mainspace article [[The Beatles]]. This is useful when the mainspace article has been specially formatted to be transcluded in other articles, by using &amp;amp;lt;noinclude&amp;amp;gt; or &amp;amp;lt;includeonly&amp;amp;gt; tags to indicate the portion that should be included when the article is transcluded.&lt;br /&gt;
&lt;br /&gt;
{{Wikipedia technical help|collapsed}}&lt;br /&gt;
[[Category:Wikipedia link help|Colon trick]]&lt;/div&gt;</summary>
		<author><name>Wikipedia&gt;Illuminati42</name></author>
	</entry>
</feed>