Template:W
		
		
		
		
		
		Jump to navigation
		Jump to search
		
		
	
Template code
Wikipedia: [[wikipedia:{{{1}}} |{{{1}}}]]
Usage
- 1. Target page at the English-language Wikipedia
 - |target=...
 - |article=...
 - |page=...
 - |...
 - 2. Title to be used for wikilink (optional)
 |title=...,|t=..., or|...
(Note: for best long-term reusability, this template should probably be only used to hard-code wikitext using subst)
Notes
- Importing templates directly from Wikipedia or other wikis (i.e. interwiki links) doesn't always (ever?) work
- Templates using Lua #include statements don't work (but I don't remember why - this probably requires module installation)
 - There is a page at mw:Global templates/Transition that discusses some of the issues. (see also the crosswiki tag at Wikipedia: Phabricator, as well as the [https://www.mediawiki.org/w/index.php?title=Global_templates parent of the first page mentioned)
- There has been an open MediaWiki issue to enable interwiki usage of templates; as of September 2025 there is little progress.
 
 
 - See also:
 
Example
To invoke with…
- No parameter names
 - {{w|Preboot Execution Environment}}
 - {{w|Preboot Execution Environment|Preboot Execution Environment (PXE)}}
 - Using parameter names
 - {{w |article=Preboot Execution Environment |title=Preboot Execution Environment (PXE)}}
 
Compare to:
- Native wikilink equivalent
 - Wikipedia: Preboot Execution Environment (using “[[wikipedia:Preboot Execution Environment|Wikipedia: Preboot Execution Environment]]”)
 - Native hybrid wikilink equivalent
 - Wikipedia: Preboot Execution Environment (using “Wikipedia: [[wikipedia:Preboot Execution Environment|Preboot Execution Environment]]”)
 - Native hybrid wikilink equivalent, using ‘pipe trick’
 - Wikipedia: Preboot Execution Environment (using “Wikipedia: [[wikipedia:Preboot Execution Environment|]]”)
 
Results:
- Template, default title
 - Wikipedia: Preboot Execution Environment (using “{{w|Preboot Execution Environment}}”)
 - Template, missing title
 - Wikipedia: Preboot Execution Environment (using “{{w|Preboot Execution Environment|}}”)
 - Template, null title
 - Wikipedia: Preboot Execution Environment (using “{{w|Preboot Execution Environment| }}”)
 - Template, custom title
 - Wikipedia: Preboot Execution Environment (PXE) (using “{{w|Preboot Execution Environment |Preboot Execution Environment (PXE)}}”)