Template:Wikipedia link/doc: Difference between revisions

Jump to navigation Jump to search
no edit summary
imported>A. Smithee
No edit summary
imported>A. Smithee
No edit summary
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Documentation
Use this template to create links to the English Wikipedia in a page's External Links section.
| content =  Use this template to create links to Wikipedia in a page's External Links section.


The first parameter or <code>1=</code> should contain the name of the Wikipedia article to be linked to. If left blank, the page's name will be used. For example,
The first parameter or <code>1=</code> should contain the name of the Wikipedia article to be linked to. If left blank, the page's name will be used. For example,
:{{tlx|Wikipedia link|Screen Gems}}
:<code><nowiki>{{Wikipedia link|Screen Gems}}</nowiki></code>
will produce:
will produce:
:[[w:Screen Gems|Screen Gems] article on Wikipedia
:[[w:Screen Gems|Screen Gems]] article on Wikipedia


The second parameter or <code>2=</code> changes the link text to be used. For example,  
The second parameter or <code>2=</code> changes the link text to be used. For example,  
:{{tlx|Wikipedia link|Viacom Productions|Viacom}}
:<code><nowiki>{{Wikipedia link|Viacom Productions|Viacom}}</nowiki></code>
will produce:
will produce:
:[[w:Viacom Productions||Viacom]] article on Wikipedia
:[[w:Viacom Productions|Viacom]] article on Wikipedia
}}
 
== See also ==
* {{tlx|W}}, for creating inline links to Wikipedia
Anonymous user

Navigation menu