Template:Elx/doc: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
1,253 bytes removed ,  21 June 2015
no edit summary
m (SmallerOnTheOutside moved page Template:El/doc to Template:Elx/doc without leaving a redirect)
No edit summary
Tag: sourceedit
Line 1: Line 1:
{{tlx|{{PAGENAME}}}}, 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:
{{tlx|{{PAGENAME}}}}, 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.
 
'''For inter-wiki links, that is, links to any other wiki, please use {{tlx|iwx}} instead.'''


=== Method 1 ===
=== Method 1 ===
Line 21: Line 23:
==== Output ====
==== Output ====
{{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}}
{{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}}
=== 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 <code>1</code> — is the name of the page on that wiki, and <code>2</code> is the name you want to pipeswitch it. If <code>2</code> is left undefined, it defaults to <code>1</code>; if <code>1</code> is left undefined, it defaults to <nowiki>{{PAGENAME}}</nowiki>.
Meanwhile, <code>wiki</code> 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 <code>wiki</code>, use <code>wiki name</code>.
Please use the <code>wiki description</code> variable sparingly—if the name of the wiki says it all, as is the case with [[w:c:queerasfolk|Queer as Folk Wiki]], it's an unnecessary redundancy to use the variable.
==== Input ====
<pre>{{el|Jar Jar Binks|wiki=starwars|wiki name=Wookieepedia|wiki description=the wiki that covers all licensed ''Star Wars'' works}}</pre>
==== Output ====
{{el|Jar Jar Binks|wiki=starwars|wiki name=Wookieepedia|wiki description=the wiki that covers all licensed ''Star Wars'' works}}
==== Input ====
<pre>{{el|wiki=pybot|wiki name=Pybot Wiki}}</pre>
==== Output ====
{{el|wiki=pybot|wiki name=Pybot Wiki}}


[[Category:Template documentation]]
[[Category:Template documentation]]
Cookies help us deliver our services. By using our services, you agree to our use of cookies.