Difference between revisions of "Template:w"

Explain xkcd: It's 'cause you're dumb.
Jump to: navigation, search
Line 4: Line 4:
  
 
==Usage==
 
==Usage==
*<nowiki>{{w}}</nowiki> by itself links to the Wikipedia main page
+
*<nowiki>{{w}}</nowiki> by itself links to the page the article the template substituted to is about.
 
**{{w}}
 
**{{w}}
*<nowiki>{{w|Page|}}</nowiki> links to the wikipedia article on "Page"
+
*<nowiki>{{w|Page}}</nowiki> links to the wikipedia article on "Page"
 
**{{w|Page}}
 
**{{w|Page}}
 
*<nowiki>{{w|Page|Display}}</nowiki> prints "Display" which links to the wikipedia article on "Page"
 
*<nowiki>{{w|Page|Display}}</nowiki> prints "Display" which links to the wikipedia article on "Page"

Revision as of 02:11, 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"