Difference between revisions of "Template:w"

Explain xkcd: It's 'cause you're dumb.
Jump to: navigation, search
m (Protected "Template:w": High traffic page (‎[edit=autoconfirmed] (indefinite) ‎[move=autoconfirmed] (indefinite)))
m (code fomatting with... <code>)
Line 3: Line 3:
  
 
==Usage==
 
==Usage==
*<nowiki>{{w}}</nowiki> by itself links to the wikipedia page for the page you use the template on
+
*<code><nowiki>{{w}}</nowiki></code> by itself links to the wikipedia page for the page you use the template on
 
**{{w}}
 
**{{w}}
*<nowiki>{{w|Page}}</nowiki> links to the wikipedia article on "Page"
+
*<code><nowiki>{{w|Page}}</nowiki></code> 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"
+
*<code><nowiki>{{w|Page|Display}}</nowiki></code> prints "Display" which links to the wikipedia article on "Page"
 
**{{w|Page|Display}}
 
**{{w|Page|Display}}
  
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Revision as of 10:40, 31 January 2018

A template to make a link to Wikipedia.

Usage

  • {{w}} by itself links to the wikipedia page for the page you use the template on
  • {{w|Page}} links to the wikipedia article on "Page"
  • {{w|Page|Display}} prints "Display" which links to the wikipedia article on "Page"