Template:Elx/doc: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
476 bytes added ,  23 November 2016
no edit summary
No edit summary
Tag: sourceedit
No edit summary
Tag: sourceedit
Line 1: Line 1:
{{tlx|{{PAGENAME}}}}, short for '''external link x''', provides a template for a very general external link, designed for use in the section of the same name. It can be used in two different ways.
{{tlx|{{PAGENAME}}}}, short for '''external link x''', provides a template for a very general external link, designed for use in the section of the same name. It can be used in two different ways.


'''For inter-wiki links, that is, links to any other wiki, please use {{tlx|iwx}} instead.'''
'''If it's a simple link to a subject's official website, please use {{tlx|official website}} instead.'''
 
'''For inter-wiki links, that is, links to any other wiki, please use {{tlx|iwx}}.'''


=== Method 1 ===
=== Method 1 ===
Line 7: Line 9:


==== Input ====
==== Input ====
<pre>{{el|This is completely free-form.}}</pre>
<pre>{{elx|This is completely free-form.}}</pre>
==== Output ====
==== Output ====
{{el|This is completely free-form.}}
{{elx|This is completely free-form.}}


==== Input ====
==== Input ====
<pre>{{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]}}</pre>
<pre>{{elx|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]}}</pre>
==== Output ====
==== Output ====
{{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]}}
{{elx|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]}}


=== Method 2 ===
=== Method 2 ===
Line 20: Line 22:


==== Input ====
==== Input ====
<pre>{{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}}</pre>
<pre>{{elx|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}}</pre>
==== 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}}
{{elx|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}}
 
=== Doctor Who website ===
If you set <code>website name</code> to "<code>Doctor Who website</code>", it will be displayed like so:
{{elx|page url=http://www.bbc.co.uk/programmes/p01l1z04|page name=The Day of the Doctor|website name=Doctor Who website}}
The specification of <code>website url</code> is not necessary for the ''Doctor Who'' website, and will be ignored.


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