Template:Wikipedia link/doc: Difference between revisions

From the Audiovisual Identity Database, the motion graphics museum
Content deleted Content added
imported>A. Smithee
No edit summary
imported>A. Smithee
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
Use this template to create links to the English Wikipedia in a page's External Links section.
{{Documentation
| 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:{{#if:Screen Gems|Screen Gems|{{PAGENAME}}}}|{{#if:Screen Gems|Screen Gems|{{PAGENAME}}}}]] article on Wikipedia</span>
:[[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:{{#if:Viacom Productions|Viacom Productions|{{PAGENAME}}}}|Viacom]] article on Wikipedia</span>
:[[w:Viacom Productions|Viacom]] article on Wikipedia


== See also ==
}}</noinclude>
* {{tlx|W}}, for creating inline links to Wikipedia

Latest revision as of 16:59, 26 February 2023

Use this template to create links to the English Wikipedia in a page's External Links section.

The first parameter or 1= should contain the name of the Wikipedia article to be linked to. If left blank, the page's name will be used. For example,

{{Wikipedia link|Screen Gems}}

will produce:

Screen Gems article on Wikipedia

The second parameter or 2= changes the link text to be used. For example,

{{Wikipedia link|Viacom Productions|Viacom}}

will produce:

Viacom article on Wikipedia

See also

  • {{W}}, for creating inline links to Wikipedia
Cookies help us deliver our services. By using our services, you agree to our use of cookies.