Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Help:Interlanguage links
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Inline links (links in the text of the article)<span class="anchor" id="Inline links"></span> == {{shortcut|H:FOREIGNLINK}} {{see also|WP:External links#Non-English-language content|WP:MOSSIS|label 2=Guideline on use of inline links to sister projects}} :{{A note}} The syntax for the side bar and running text are slightly different. See prior section for the syntax within the side bar. When the English Wikipedia doesn't have an article, the links to it show up as [[WP:RED|red links]]. For example, we don't have an article on [[Erich Anders]] (it shows up as a red link), but the German Wikipedia does. There are a few options available: # The best practice is to use the template {{tl|interlanguage link}} which gives both a redlinked English link and a German blue link, but hides the German link if the English redlink turns blue when the article is created. For instance, by writing {{tlc|interlanguage link|Erich Anders|de}} we get "{{ill|Erich Anders|de}}"; however, if we write {{tlc|interlanguage link|Ludwig van Beethoven|de}} we get "{{ill|Ludwig van Beethoven|de}}", as the page does exist on the English Wikipedia. (Alternatively, the shortcut {{tl|ill}} may be used in place of {{tl|interlanguage link}}.) # If the foreign language article has a different title, use the following parameters: {{tlxi|ill|English article title|language code|Title in foreign language}} – for example, {{tlc|ill|Marivan and Sarvabad constituency|fa|حوزه_انتخابیه_مریوان_و_سروآباد}} gives {{ill|Marivan and Sarvabad constituency|fa|حوزه_انتخابیه_مریوان_و_سروآباد}}. # To show the language code and the link to the other language article: <code><nowiki>''[[:fr:Jeux olympiques]]''</nowiki></code> or <code><nowiki>[[:ja:東京都]]</nowiki></code> These links look like this: ''[[:fr:Jeux olympiques]]'' or [[:ja:東京都]]. The language abbreviation is displayed, so the reader knows that they are links to foreign language articles. # To show the ''name'' of the other language instead of its ''code'', which can be easier to read for less experienced readers, you can use the ''[[:Template:Lang|lang]]'' template or one of its class: <code><nowiki>{{langx|fr|[[:fr:Jeux olympiques|Jeux olympiques]]}}</nowiki></code> or <code><nowiki>{{langx|ja|[[:ja:東京都|東京都]]}}</nowiki></code> These links look like this: {{langx|fr|[[:fr:Jeux olympiques|Jeux olympiques]]}} or {{langx|ja|[[:ja:東京都|東京都]]}}. # To show only the title: <code><nowiki>''[[:fr:Jeux olympiques|Jeux olympiques]]''</nowiki></code> or <code><nowiki>[[:ja:東京都|東京都]]</nowiki></code> which would look like this in your text: ''[[:fr:Jeux olympiques|Jeux olympiques]]'' or [[:ja:東京都|東京都]]. # Using the [[Help:pipe trick|pipe trick]] to simplify methods 4 and 5: <code><nowiki>''[[:fr:Jeux olympiques|]]''</nowiki></code> or <code><nowiki>{{langx|fr|[[:fr:Jeux olympiques|]]}}</nowiki></code>. These give the same results: ''[[:fr:Jeux olympiques|Jeux olympiques]]'' or {{langx|fr|[[:fr:Jeux olympiques|Jeux olympiques]]}}. # To link to a [[WP:namespace|namespace]] other than the main article namespace, add the namespace after the language abbreviation. For example, the page for general discussions on the Japanese Wikipedia is located in the Wikipedia namespace. You can link to it as follows: <code><nowiki>[[:ja:Wikipedia:井戸端]]</nowiki></code> or <code><nowiki>[[:ja:Wikipedia:井戸端|]]</nowiki></code> giving [[:ja:Wikipedia:井戸端]] or [[:ja:Wikipedia:井戸端|Wikipedia:井戸端]]. # On [[Wikipedia:Talk pages|Talk pages]] and on [[Wikipedia:Meta|Meta]], you can omit the leading colon. An interlanguage link like <code><nowiki>[[fr:Jeux olympiques]]</nowiki></code> will appear inline in the text, like a regular link. # An inline link to a Wiktionary entry, such as <code><nowiki>[[wikt:model|]]</nowiki></code>, can be directed to another language's Wiktionary: <code><nowiki>''[[wikt:fr:modèle|]]''</nowiki></code> gives ''[[wikt:fr:modèle|fr:modèle]]''.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)