Difference between revisions of "Template:w"

Explain xkcd: It's 'cause you're dumb.
Jump to: navigation, search
Line 1: Line 1:
<includeonly>[http://www.wikipedia.org/wiki/{{#if:{{{1|}}}|{{{1}}}|{{PAGENAME}}}} {{#if:{{{2|}}}|{{{2}}}|{{#if:{{{1|}}|{{{1}}}|}}}}]</includeonly>
+
<includeonly>[http://www.wikipedia.org/wiki/{{#if:{{{1|}}}|{{{1}}}|{{PAGENAME}}}} {{#if:{{{2|}}}|{{{2}}}|{{#if:{{{1|}}|{{{1}}}|{{PAGENAME}}}}}}]</includeonly>
 
<noinclude>
 
<noinclude>
 
A template to make a link to wikipedia.<!-- For a tag to have "at [[Wikipedia:|Wikipedia]]" without being a link to the page name, use {{Tl|wat}} - this is useful for see-also lists.-->
 
A template to make a link to wikipedia.<!-- For a tag to have "at [[Wikipedia:|Wikipedia]]" without being a link to the page name, use {{Tl|wat}} - this is useful for see-also lists.-->

Revision as of 02:40, 6 April 2015


A template to make a link to wikipedia.

Usage

  • {{w}} by itself links to the page the article the template substituted to is about.
  • {{w|Page}} links to the wikipedia article on "Page"
  • {{w|Page|Display}} prints "Display" which links to the wikipedia article on "Page"