Help:Editing/Links: Difference between revisions
mNo edit summary |
mNo edit summary |
||
| Line 17: | Line 17: | ||
<pre>This may not work for [[Langerhans Cells]], by the way, just for [[Langerhans cells]].</pre> | <pre>This may not work for [[Langerhans Cells]], by the way, just for [[Langerhans cells]].</pre> | ||
''Result:'' This may not work for [[Langerhans Cells]], by the way, just for [[Langerhans cells]]. | ''Result:'' This may not work for [[Langerhans Cells]], by the way, just for [[Langerhans cells]] and [[langerhans cells]], because only the first word of an article's title will be auto-capitalized for the link. | ||
'''Note:''' Here you see a red link, because the article '''Langerhans Cells''' doesn't exist. In IntactiWiki, we use '''sentence-style capitalization''' also to avoid internal link issues like this one. | '''Note:''' Here you see a red link, because the article '''Langerhans Cells''' doesn't exist. In IntactiWiki, we use '''sentence-style capitalization''' also to avoid internal link issues like this one. | ||
| Line 24: | Line 24: | ||
But of course, you can assign any text to an article link. Here are some examples. | But of course, you can assign any text to an article link. Here are some examples. | ||
<pre>With the | character, you can add the text to be shown as the link title, so the [[Langerhans cells|Langerhans Cells]] link may work like this. You can also use redirect pages when linking to a more complex article, like [[glans|this one]]. And you can use plural endings and stuff to have a nicer text, e.g. when you're talking about multiple [[foreskin]]s.</pre> | <pre>With the | character, you can add the text to be shown as the link title, so the [[Langerhans cells|Langerhans Cells]] link may work like this. You can also use redirect pages when linking to a more complex article, like [[glans|this one]]. And you can use plural endings and stuff to have a nicer text, e.g. when you're talking about multiple [[foreskin]]s.</pre> | ||
''Result:'' With the | | ''Result:'' With the '''|''' character<ref>Type the '''|''' character using [AltGr][<] on Windows keyboards, [alt][7] on Mac keyboards.</ref>, you can add the text to be shown as the link title, so the [[Langerhans cells|Langerhans Cells]] link may work like this. You can also use redirect pages when linking to a more complex article, like [[glans|this one]]. And you can use plural endings and stuff to have a nicer text, e.g. when you're talking about multiple [[foreskin]]s. | ||
== External links == | == External links == | ||
| Line 38: | Line 38: | ||
<pre>Have you ever visited the [https://www.mediawiki.org/wiki/MediaWiki MediaWiki]?</pre> | <pre>Have you ever visited the [https://www.mediawiki.org/wiki/MediaWiki MediaWiki]?</pre> | ||
''Result:'' Have you ever visited the [https://www.mediawiki.org/wiki/MediaWiki MediaWiki]? | ''Result:'' Have you ever visited the [https://www.mediawiki.org/wiki/MediaWiki MediaWiki]? | ||
'''Note:''' Please keep in mind that in external links, the link and the link text are not separated by a | character (like in internal links) but by a space character! | |||
=== Links with more information === | === Links with more information === | ||