Template:Linking

From Wikipedia, the free encyclopedia
Jump to: navigation, search

Linking to existing Wikipedia pages is done by placing doubled brackets around the name of the page. Thus, [[Wikipedia]] produces Wikipedia. A useful expansion of this is done by separating what you want linked, from what you want displayed, with a pipe character ("|"), to create a "piped link". Thus: [[Wikipedia|encyclopedia]] produces encyclopedia, with the displayed text linking to the article, Wikipedia. You can link to internal sections of pages in this way: Wikipedia#name of internal section of that article. By contrast, for external links: http://www.example.org produces http://www.example.org; [http://www.example.org] produces [1]; and [http://www.example.org example] produces example. For more information, see Help:Link and please consider taking a tour through the Wikipedia:Tutorial. Hope this has helped.

Documentation icon Template documentation[view] [edit] [history] [purge]

Usage[edit]

  • This template should always be substituted by prefixing "subst:" inside the template code. Thus use {{subst:Linking}} rather than {{Linking}}.
  • You can indent the template, by typing :{{subst:Linking}}.
  • The template does not include automatic signing. Please remember to sign by typing four tildes (~) after the template syntax.