Template:Wiki: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(Sorry, not needed.)
Line 2: Line 2:


==Documentation==
==Documentation==
{{otherlang2
|title=
|de=Template:Wiki:de
|en=Template:Wiki
|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 14:34, 5 March 2021

[[Wiki:{{{1}}}|{{{1}}}]]

Documentation

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:Гейб Ньювелл|Гейб Ньювелл}} - Гейб Ньювелл