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
Line 7: Line 7:
:{{tlx|Wikipedia link|Screen Gems}}
:{{tlx|Wikipedia link|Screen Gems}}
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}}
:{{tlx|Wikipedia link|Viacom Productions|Viacom}}
will produce:
will produce:
:[[w:{{#if:Viacom Productions|Viacom Productions|{{PAGENAME}}}}|Viacom]] article on Wikipedia</span>
:[[w:Viacom Productions||Viacom]] article on Wikipedia


}}</noinclude>
}}</noinclude>

Revision as of 02:59, 24 February 2023

{{Documentation

| content = 

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:

[[w:Screen Gems|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

}}

Cookies help us deliver our services. By using our services, you agree to our use of cookies.