Template:W: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
m Changed protection level for "Template:W": Undo cascade [edit=sysop:move=sysop] |
m Reverted edit by Koavf (talk) to last revision by Billinghurst Tag: Rollback |
||
(21 intermediate revisions by 13 users not shown) | |||
Line 1: | Line 1: | ||
[[ |
[[w:{{{1}}}|{{{2|{{{1}}}}}}]]<noinclude> |
||
{{documentation}} |
|||
---- |
|||
This is used to help create interwiki links to Wikipedia. |
|||
* The default prefix default is simply <tt>w:</tt> however the language can be specified in the third parameter. |
|||
====Usage==== |
|||
<nowiki>{{</nowiki>w|Page name}} → {{w|Page name}} |
|||
<nowiki>{{</nowiki>w|Page name|Display name}} → {{w|Page name|Display name}} |
|||
<nowiki>{{</nowiki>w|Page name|Display name|de}} → {{w|Page name|Display name|de}} |
|||
[[Category:Interwiki link templates|{{PAGENAME}}]] |
|||
</noinclude> |
</noinclude> |
Latest revision as of 07:45, 20 February 2024
[[w:{{{1}}}|{{{1}}}]]
Usage
[edit]This template allows editors to link to Wikipedia without having always to use a second parameter.
An optional second parameter, if supplied, changes the appearance of the link.
It is also helpful when the pipe character "|" might interfere with conditional statements (see Conditional tables)
Example
[edit]{{w|United States}}
(Vereinigte Staaten) is equivalent to[[w:United States|United States]]
(Vereinigte Staaten).
No description.
Parameter | Description | Typ | Status | |
---|---|---|---|---|
1 | 1 | Name of wikipedia page to link | Page name | required |
2 | 2 | Display text for link. | Unknown | optional |