Template:Iwx/doc: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
(Created page with "{{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. '''F...")
Tag: sourceedit
 
No edit summary
Tag: sourceedit
Line 7: Line 7:
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>.  
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.
'''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 ====
==== Input ====

Revision as of 20:04, 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.

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