Help:Colon trick
  (Redirected from Wikipedia:COLON)
For the style guideline about using colon in articles, see MOS:COLON.
This help page is a how-to guide.
It details processes or procedures of some aspect(s) of Wikipedia's norms and practices. It is not one of Wikipedia's policies or guidelines, and may reflect varying levels of consensus and vetting.
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
With templates
A colon can also be used to transclude a page in mainspace, rather than template space. For example,
{{The Beatles}}
will transclude Template:The Beatles, but
{{:The Beatles}}
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 <noinclude> or <includeonly> tags to indicate the portion that should be included when the article is transcluded.
Last edited on 20 April 2021, at 22:34
Content is available under CC BY-SA 3.0 unless otherwise noted.
Privacy policy
Terms of Use
Desktop
HomeRandomNearbyLog inSettingsDonateAbout WikipediaDisclaimers
LanguageWatchEdit