Template:Wiki: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Rewrote documentation)
No edit summary
Line 1: Line 1:
[[Wiki:{{{1}}}|{{{1}}}]]<noinclude>
[[Wiki:{{{1}}}|{{#if:{{{2|}}}|{{{2}}}}|{{{1}}}}}]]<noinclude>
==Documentation==
==Documentation==
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>.


You can also use the expanded version of this template: <nowiki>{{Wikipedia|ARTICLE}}</nowiki>. </noinclude>
You can also use the expanded version of this template: <nowiki>{{Wikipedia|ARTICLE}}</nowiki>. </noinclude>

Revision as of 09:04, 8 October 2011

[[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}}.