Template:Wiki: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{Doc}} <includeonly> <!-- Uses "Wikipedia:", not "W:" or "WP:", as the latter break html fragments --> <onlyinclude><!-- -->{{yesno|{{{icon}}} |yes = <span style="user-select:none">16px|link=Wikipedia:{{{1|}}}|alt=Wikipedia icon </span> }}<!-- --><span class="plainlinks"><!-- -->{{#if:{{{1|}}} | {{#if:{{{section|}}} | [[Wikipedia:{{{1}}}#{{{section}}}|{{{2|{{{1}}} § {{{section}}}}}}]] | Wikipedia:{{{1}}}|{{{2|{...") |
(No difference)
|
Latest revision as of 03:12, 4 January 2025
Template Documentation [edit]
Description & Usage
This template is a faster way to link to Wikipedia articles. Normally if you want to link to a Wikipedia article such as Wikipedia icon IMI Desert Eagle, you have to write the entire title twice [[w:IMI Desert Eagle|IMI Desert Eagle]] 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, and it also adds a handy icon to make it clear to the reader that the link goes to Wikipedia, instead of somewhere internal.
To link to another language page of Wikipedia, use: {{Wiki|<lang-prefix>:ARTICLE}}, see the example below.
Parameters
| Parameter | Description | Example | Preview |
|---|---|---|---|
| No Parameters | Creates a link to Wikipedia Home page with language selection. | ||
{{{1}}}
|
Full name of the article on Wikipedia. | ||
{{{2}}}
|
Alternative name of the link. |
| |
{{{section}}}
|
The section to link to (also works with {{{2}}}). | ||
{{{icon}}}
|
Hide/shows the icon. Values: show (default), hide
|
See also