Template:Wikipedia link/doc: Difference between revisions

From The Audiovisual Identity Database
Jump to navigation Jump to search
imported>A. Smithee
No edit summary
imported>A. Smithee
No edit summary
Line 4: Line 4:


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

Revision as of 03:02, 24 February 2023

Template documentation

Use this template to create links to 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