Template:Wiki/doc
Jump to navigation
Jump to search
Note:The
pipe trick can also be used, but it will be less clear that the link goes to Wikipedia. See also: Help:Linking.

This is a documentation subpage for Template:Wiki.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
Usage


This template is a faster way to link to Wikipedia articles. Normally if you want to link to a Wikipedia article such as IMI Desert Eagle, you have to write the entire title twice
[[Wikipedia: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
- {{{1}}} – The wikipedia article name to link to.
- {{{2}}} – Optional: The display text for the link.
Examples
{{Wiki}} |
→ | ![]() |
{{Wiki|IMI Desert Eagle}} |
→ | ![]() |
{{Wiki|IMI Desert Eagle|Deagle}} |
→ | ![]() |
{{Wiki|ru:Гейб Ньювелл|Гейб Ньювелл}} |
→ | ![]() |
See also