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