Difference between revisions of "Help:Hyperlinks"
From LinuxMCE
(Created page with "{{nav}} This article shows you how interlink your pages. ==Symbols== :The link symbols are the square bracket: <nowiki>[ ]</nowiki> :To link to articles, use the double squa...") |
(→Symbols) |
||
Line 18: | Line 18: | ||
"file://" does not work by default. If enabled it only works in MSIE. To enable it, add a $wgUrlProtocols entry to [http://meta.wikimedia.org/wiki/LocalSettings.php LocalSettings.php]; see the $wgUrlProtocols in [http://meta.wikimedia.org/wiki/DefaultSettings.php DefaultSettings.php] for example. | "file://" does not work by default. If enabled it only works in MSIE. To enable it, add a $wgUrlProtocols entry to [http://meta.wikimedia.org/wiki/LocalSettings.php LocalSettings.php]; see the $wgUrlProtocols in [http://meta.wikimedia.org/wiki/DefaultSettings.php DefaultSettings.php] for example. | ||
{{p}} | {{p}} | ||
+ | |||
+ | ==How to create hyperlinks== | ||
+ | :You can use the Internal Link button from the Edit Toolbar to insert a link on the page. | ||
+ | :To manualy create a link, enclose the URL within square brackets (<nowiki> [[ ]]</nowiki> ). <br> | ||
+ | ::*To link to a page on the wiki, use "<nowiki>[[Page_Name]] </nowiki>"<br> | ||
+ | ::*Use "<nowiki> [URL Text to display]</nowiki>" for external links.<br> | ||
+ | <br> |
Revision as of 06:12, 30 September 2012
This article shows you how interlink your pages.
Symbols
- The link symbols are the square bracket: [ ]
- To link to articles, use the double square brackets: [[ ]].
- For URLs, single brackets are used: [ ]
- The pipe symbol ( | ) is the separator between the page name and the text to display for internal links.
A link in external link style can be of the forms:
- target: http://meta.wikimedia.org/ is rendered as http://meta.wikimedia.org/
- [ target label ], with a blank space in between: [http://meta.wikimedia.org/ wikimedia] which gives wikimedia
- [ target ] - these are automatically labelled with serial numbers 1, 2, 3, ...: [http://meta.wikimedia.org/] gives [1]
The target is a URL which can start with "http://" or "ftp://";
"file://" does not work by default. If enabled it only works in MSIE. To enable it, add a $wgUrlProtocols entry to LocalSettings.php; see the $wgUrlProtocols in DefaultSettings.php for example.
How to create hyperlinks
- You can use the Internal Link button from the Edit Toolbar to insert a link on the page.
- To manualy create a link, enclose the URL within square brackets ( [[ ]] ).
- To link to a page on the wiki, use "[[Page_Name]] "
- Use " [URL Text to display]" for external links.
- To link to a page on the wiki, use "[[Page_Name]] "