Template:Wlink/doc: Difference between revisions
Jump to navigation
Jump to search
ArrowHead294 (talk | contribs) mNo edit summary |
ArrowHead294 (talk | contribs) mNo edit summary |
||
Line 6: | Line 6: | ||
=== Parameters === | === Parameters === | ||
This parameter takes one or two unnamed parameters. | This parameter takes one or two unnamed parameters. | ||
; <code>{{{<nowiki />1}}}</code> | ; <code>{{{<nowiki />1}}}</code> (required) | ||
: Full name of the article on Wikipedia. | : Full name of the article on Wikipedia. | ||
; <code>{{{<nowiki />2}}}</code> | ; <code>{{{<nowiki />2}}}</code> (optional) | ||
: Alternative name of the link. | : Alternative name of the link. | ||
; <code>{{{<nowiki />s}}}</code> (optional) | |||
: A named parameter used to specify Wikipedia sites in different languages, or namespaces on Wikipedia such as <code>wp</code> (Wikipedia project pages), <code>help</code> (help pages), etc. | |||
: The two can be combined; for example, <code>fr:wp</code> links to project pages ("wp") on the French Wikipedia ("fr"). | |||
=== See also === | === See also === | ||
* [[Template:Wikipedia]] | * [[Template:Wikipedia]] – another template used to display a small navigation box linking to the English Wikipedia |
Revision as of 17:08, 19 May 2025
Normally, if you want to link to a Wikipedia article such as just intonation, you have to write the entire title twice ([[Wikipedia:Just intonation|Just intonation]]
), and it's a hassle. This template skips that step when the displayed text will be the same as the title of the article you are linking to.
Note: You can use {{w}}
as a shortcut.
Parameters
This parameter takes one or two unnamed parameters.
{{{1}}}
(required)- Full name of the article on Wikipedia.
{{{2}}}
(optional)- Alternative name of the link.
{{{s}}}
(optional)- A named parameter used to specify Wikipedia sites in different languages, or namespaces on Wikipedia such as
wp
(Wikipedia project pages),help
(help pages), etc. - The two can be combined; for example,
fr:wp
links to project pages ("wp") on the French Wikipedia ("fr").
See also
- Template:Wikipedia – another template used to display a small navigation box linking to the English Wikipedia