A | B | C | D | E | F | G | H | CH | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9
![]() | 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. |
Linking and page manipulation |
---|
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
Category:Help
would list this page in Category:Help, but:Category:Help
will produce a link to Category:Help.File:Wikipedia-logo.png
would display an image, but:File:Wikipedia-logo.png
will produce a link to File:Wikipedia-logo.png.pt:Internet
will create an interlanguage link, but:pt:Internet
will produce an interwiki link to pt:Internet (in the Portuguese Wikipedia).//Hus
will produce an (invalid) external link wrapped in brackets ("1"), but://Hus
will produce a link to //Hus.Computer
links to the Computer article; adding a colon like:Computer
can be done, but the colon is unneeded and makes no difference.
With templatesedit
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.
With edit summariesedit
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 "corrected typo by User:Example
" will ping User:Example, but "corrected typo by :User:Example
" will not.
Text je dostupný za podmienok Creative Commons Attribution/Share-Alike License 3.0 Unported; prípadne za ďalších podmienok. Podrobnejšie informácie nájdete na stránke Podmienky použitia.
Antropológia
Aplikované vedy
Bibliometria
Dejiny vedy
Encyklopédie
Filozofia vedy
Forenzné vedy
Humanitné vedy
Knižničná veda
Kryogenika
Kryptológia
Kulturológia
Literárna veda
Medzidisciplinárne oblasti
Metódy kvantitatívnej analýzy
Metavedy
Metodika
Text je dostupný za podmienok Creative
Commons Attribution/Share-Alike License 3.0 Unported; prípadne za ďalších
podmienok.
Podrobnejšie informácie nájdete na stránke Podmienky
použitia.
www.astronomia.sk | www.biologia.sk | www.botanika.sk | www.dejiny.sk | www.economy.sk | www.elektrotechnika.sk | www.estetika.sk | www.farmakologia.sk | www.filozofia.sk | Fyzika | www.futurologia.sk | www.genetika.sk | www.chemia.sk | www.lingvistika.sk | www.politologia.sk | www.psychologia.sk | www.sexuologia.sk | www.sociologia.sk | www.veda.sk I www.zoologia.sk