Template:Iwx/doc: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
No edit summary
Tag: sourceedit
No edit summary
Tag: sourceedit
Line 1: Line 1:
{{tlx|{{PAGENAME}}}}, short for '''interwiki x''', provides a template for a very general interwiki link, designed for use in the ''external links'' section on articles.
{{tlx|{{PAGENAME}}}}, short for '''interwiki x''', provides a template for a very general interwiki link, designed for use in the ''external links'' section on articles.


'''For external links, that is, links to websites other than wikis, please use {{tlx|elx}} instead.'''
'''For external links, that is, links to websites other than wikis, please use {{tlx|elx}} instead. For inline interwiki links, use {{tlx|iw}}.'''


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>.
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>.

Revision as of 20:06, 21 June 2015

{{Iwx/doc}}, short for interwiki x, provides a template for a very general interwiki link, designed for use in the external links section on articles.

For external links, that is, links to websites other than wikis, please use {{elx}} instead. For inline interwiki links, use {{iw}}.

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