Help:Colon trick
{{For|the style guideline about using colon in articles|MOS:COLON}}
{{Wikipedia how-to|WP:COLON|WP:COLONTRICK|H::}}
{{Linking and page manipulation|linking and diffs}}
The colon trick is a method of providing a link to a category, image or interwiki link without adding the page to the category, displaying the image or adding the interwiki link to the interlanguage links. It also allows for linking to pages with titles beginning with a recognized external link prefix, such as :http:// or ://Hus.
By adding a 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 wikilink.
Examples
would list this page in Category:Help, butCategory:Help
will produce a link to :Category:Help.:Category:Help
would display an image, butFile:Wikipedia-logo.png
will produce a link to :File:Wikipedia-logo.png.:File:Wikipedia-logo.png
will create an interlanguage link, butpt:Internet
will produce an interwiki link to :pt:Internet (in the Portuguese Wikipedia).:pt:Internet
will produce an (invalid) external link wrapped in brackets ("//Hus"), but//Hus
will produce a link to ://Hus.://Hus
links to the Computer article; adding a colon likeComputer
can be done, but the colon is unneeded and makes no difference.:Computer
With templates
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
With edit summaries
Normally, linking to a user page in an edit summary sends a notification to the user. A colon can be used to escape this behaviour. For example, the edit summary "
" will ping User:Example, but "
" will not.
{{Wikipedia technical help|collapsed}}