Template:Wikipedia link/doc: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
imported>A. Smithee  (Created page with "{{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, :{{tlx|Wikipedia link|Screen Gems}} will produce: :{{Wikipedia link|Screen Gems}}  The second parameter or <code>2=</code> changes the link text to be used. For example,  :{{tlx|Wikipedia link|Viac...")  | 
				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>  | ||
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>  | ||
}}</noinclude>  | }}</noinclude>  | ||
Revision as of 02:58, 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