Help:Formatting: Difference between revisions

Jump to navigation Jump to search
→‎Links: +Interwiki links
m (→‎Syntax highlighting: Clarification)
(→‎Links: +Interwiki links)
Line 349: Line 349:


=== Links to categories, files and other language versions ===
=== Links to categories, files and other language versions ===
A preceding colon (''':''') vae to be used if you want to add links to categories, files or articles in another language.  Otherwisw you would add the category, image or language link to a page.  These links can be piped links just as normal links by adding a vertical stroke or pipe ('''<nowiki>|</nowiki>''').
A preceding colon (''':''') must be used if you want to add links to categories, files or articles in another language.  Otherwise you would add the category, image or language link to a page.  These links can be piped links just as normal links by adding a vertical stroke or pipe ('''<nowiki>|</nowiki>''').
{| class="wikitable" width="100%"
{| class="wikitable" width="100%"
! Description
! Description
Line 369: Line 369:
  <pre style="white-space: pre-wrap;">See also the [[:de:Help:Übersetzen|German page]].</pre>
  <pre style="white-space: pre-wrap;">See also the [[:de:Help:Übersetzen|German page]].</pre>
| See also the [[:de:Help:Übersetzen|German page]].
| See also the [[:de:Help:Übersetzen|German page]].
|}
=== Interwiki links ===
''Interwiki links'', links to other wikis and a few other web sites, in a shorter way than regular external links, are marked up in a similar way to ordinary wiki links with the addition of an  lowercase interwiki prefix and a colon ('''<nowiki>[[</nowiki>''prefix'':''Article''<nowiki>]]</nowiki>''').  There are many, many interwiki prefixes.  For a complete list see [[Special:Interwiki]].
{| class="wikitable" width="100%"
! Description
! width="30%" | What you type
! width="30%" | What you get
|-
| Interwiki link
|
<nowiki>[[wikipedia:FlightGear]]</nowiki>
| [[wikipedia:FlightGear]]
|-
| Piped links can be used as well
|
<nowiki>[[mediawikiwiki:Help:Links|Link]] help at MediaWiki</nowiki>
| [[mediawikiwiki:Help:Links|Link]] help at MediaWiki
|-
| Piped link with no alternative link title will only show the article name
|
<nowiki>[[meta:Help:Page name|]] on Wikimedia Meta-Wiki</nowiki>
| [[meta:Help:Page name|Help:Page name]] on Wikimedia Meta-Wiki
|}
|}


Navigation menu