<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.tachyony.co.uk/w/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://wiki.tachyony.co.uk/w/index.php?action=history&amp;feed=atom&amp;title=Help%3AColon_trick"/>
	<link rel="alternate" type="text/html" href="https://wiki.tachyony.co.uk/w/index.php?title=Help:Colon_trick&amp;action=history"/>
	<updated>2026-05-15T12:59:17Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.5</generator>
	<entry>
		<id>https://wiki.tachyony.co.uk/w/index.php?title=Help:Colon_trick&amp;diff=2431&amp;oldid=prev</id>
		<title>Tachyony: Imported page</title>
		<link rel="alternate" type="text/html" href="https://wiki.tachyony.co.uk/w/index.php?title=Help:Colon_trick&amp;diff=2431&amp;oldid=prev"/>
		<updated>2021-12-06T16:03:16Z</updated>

		<summary type="html">&lt;p&gt;Imported page&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>Tachyony</name></author>
	</entry>
</feed>