Jump to content

User:Make equable/Edit help/Linking

From Wikipedia, the free encyclopedia

Template for URL insertion[edit]

{{url|http://wikipedia.org|Wikipedia}}
renders as
Wikipedia

Linking to the Table Of Contents[edit]

Same page       : [[#toc|See here]]
Different page  : [[page name#toc|See here]]

renders as

Same page: See here
Different page: See here

Linking to non-English sites[edit]

Add the template {{Language icon|<language code>|<language name>}} after the url, and outside the url template. For example,

[http://fr.wikipedia.org Wikipedia in French]{{in lang|fr}}
renders as
Wikipedia in French(in French)

See also: List of ISO 639-1 codes

Linking to Wikipedia sister projects[edit]

Wikitionary[edit]

[[wiktionary:article]] renders as wiktionary:article
[[wiktionary:article|]] renders as article
[[wiktionary:article|Any text]] renders as Any text

Linking to emedicine[edit]

{{EMedicine|article|article number|article name|subsection, ex., treatment}}

Tips regardingExternal links section[edit]

  1. In the "External links" section, try to avoid separate links to multiple pages in the same website; instead, try to find an appropriate linking page within the site. See WP:ELPOINTS.
  2. A website on a specific subject should usually not be linked from an article about a general subject. See WP:LINKSTOAVOID.

Adding hatnote[edit]

"For other uses"[edit]

{{Other uses|Target (disambiguation)}}

renders as

Custom text[edit]

{{Hatnote|CUSTOM TEXT}}

"See also"[edit]

{{See also|TOPIC PAGE|OTHER TOPIC PAGE}}

renders as

"About"[edit]

{{About|USE1|USE2|PAGE2#SUBSECTION{{!}}PAGE2TITLE|USE3|USE3}}
(Using the {{!}} template to give the link a different title)

renders as

{{About|USE1|USE2|PAGE2|and|PAGE3}}

renders as

"For"[edit]

{{For}} can be used instead of {{About}} so as not to display "This page is about USE1".

This effect can also be achieved by using an empty first parameter in {{About}} as in:

{{About||OTHER TOPIC|PAGE1}}

"… redirects here. For other uses, see …"[edit]

{{Redirect|Disambiguation page}}

renders as

{{Redirect|REDIRECT||PAGE1}}

"Not to be confused with …"[edit]

{{Distinguish|PAGE1|PAGE2|PAGE3|PAGE4}}

Other templates[edit]