Template:Wlink: Difference between revisions

Copypasted this template from another wiki I use, tho this one goes without an icon (we can add it later)
 
ArrowHead294 (talk | contribs)
mNo edit summary
 
(23 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{#if:{{{1|}}}
<includeonly>{{#if: {{{1|}}}
| [[Wikipedia: {{{1}}}|{{{2|{{{1}}}}}}]]
| [[Wikipedia:{{#if: {{{s|}}}|{{{s}}}{{colon}}|}}{{{1}}}|{{{2|{{{1}}}}}}]]
| [[Wikipedia: Main Page|Wikipedia]]
| [[Wikipedia:Main Page|Wikipedia]]
}}</includeonly><noinclude>
}}</includeonly><noinclude>
This template (shortcut: [[Template: W]]) is a faster way to link to Wikipedia articles. Normally if you want to link to a Wikipedia article such as [[Wikipedia: Just intonation|Just intonation]], you have to write the entire title twice <code><nowiki>[[Wikipedia: Just intonation|Just intonation]]</nowiki></code> 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.
{{documentation}}


== Parameters ==
[[Category:Formatting templates]]
; <code>1=</code>
: Full name of the article on Wikipedia.
; <code>2=</code>
: Alternative name of the link.
 
== See also ==
* [[Template: Wikipedia]]
 
[[Category:Templates]]
</noinclude>
</noinclude>