Template:Elx/doc: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
No edit summary
Tag: sourceedit
m (SmallerOnTheOutside moved page Template:El/doc to Template:Elx/doc without leaving a redirect)
(No difference)

Revision as of 19:55, 21 June 2015

{{Elx/doc}}, short for external link, provides a template for a very general external link, designed for use in the section of the same name. It can be used in three different ways:

Method 1

The first method is completely free-form. You can type in just about anything, and the template will both bullet it and make sure that external links do not display a symbol to the top right, like this.

Input

{{el|This is completely free-form.}}

Output

  • This is completely free-form.

Input

{{el|An [http://www.mdtheatreguide.com/2013/11/a-quick-5-with-michael-goldsmith/ interview with '''Michael Goldsmith'''] at [http://www.mdtheatreguide.com/ MD Theatre Guide]}}

Output

Method 2

The second is a more automated template for links to sites outside of the scope of MediaWiki. page url defines the url of the page to which you want to link; page name, which defaults at {{PAGENAME}} — or whatever the page the template's on is called — is for the title of that page; and, optionally, website url and website name do the same for but for the website.

Input

{{el|page url=http://www.ibdb.com/person.php?id=494668|page name=Arthur Darvill|website url=http://www.ibdb.com/|website name=Internet Broadway Database}}

Output

Method 3

The third use of this template is for interwiki links, or links to pages on other Wikia wikis. For this, the first undefined variable — or 1 — is the name of the page on that wiki, and 2 is the name you want to pipeswitch it. If 2 is left undefined, it defaults to 1; if 1 is left undefined, it defaults to {{PAGENAME}}.

Meanwhile, wiki is for the name of the wiki you want to link to as you would type into the url bar. So whatever comes before the ".wikia.com". If you want the name that displays to be different to the one defined in wiki, use wiki name.

Please use the wiki description variable sparingly—if the name of the wiki says it all, as is the case with Queer as Folk Wiki, it's an unnecessary redundancy to use the variable.

Input

{{el|Jar Jar Binks|wiki=starwars|wiki name=Wookieepedia|wiki description=the wiki that covers all licensed ''Star Wars'' works}}

Output

Input

{{el|wiki=pybot|wiki name=Pybot Wiki}}

Output