Template:Wiki: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
[[Wiki:{{{1}}}|{{#if:{{{2|}}}|{{{2}}}|{{{1}}}}}]]<noinclude> | |||
==Documentation== | |||
{{otherlang2 | {{otherlang2 | ||
|title= | |title= | ||
Line 5: | Line 8: | ||
|ru=Template:Wiki:ru | |ru=Template:Wiki:ru | ||
}} | }} | ||
This template is a faster way to link to Wikipedia articles. Normally if you want to link to a Wikipedia article such as [[Wikipedia:IMI Desert Eagle|IMI Desert Eagle]], you have to write the entire title twice (<nowiki>[[Wikipedia:IMI Desert Eagle|IMI Desert Eagle]]</nowiki> 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. Usage is <nowiki>{{wiki|ARTICLE}}</nowiki>. Example: <nowiki>{{wiki|IMI Desert Eagle}}</nowiki>. | This template is a faster way to link to Wikipedia articles. Normally if you want to link to a Wikipedia article such as [[Wikipedia:IMI Desert Eagle|IMI Desert Eagle]], you have to write the entire title twice (<nowiki>[[Wikipedia:IMI Desert Eagle|IMI Desert Eagle]]</nowiki> 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. Usage is <nowiki>{{wiki|ARTICLE}}</nowiki>. Example: <nowiki>{{wiki|IMI Desert Eagle}}</nowiki>. | ||
Revision as of 10:29, 5 March 2021
[[Wiki:{{{1}}}|{{{1}}}]]
Documentation
Template:Otherlang2 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. Usage is {{wiki|ARTICLE}}. Example: {{wiki|IMI Desert Eagle}}.
You can also use the expanded version of this template: {{Wikipedia|ARTICLE}}.
For link on another lang of Wikipedia use: {{Wiki|<lang-prefix>:ARTICLE}}. Example: {{Wiki|ru:Гейб Ньювелл|Гейб Ньювелл}} - Гейб Ньювелл