Difference between revisions of "Template:w"

Explain xkcd: It's 'cause you're dumb.
Jump to: navigation, search
m (Waldir moved page Template:W to Template:w: page titles are case-sensitive now)
m (Protected "Template:w": High traffic page (‎[edit=autoconfirmed] (indefinite) ‎[move=autoconfirmed] (indefinite)))
(39 intermediate revisions by 8 users not shown)
Line 1: Line 1:
 
<includeonly>[[Wikipedia:{{#if:{{{1|}}}|{{{1}}}{{!}}{{{2|{{{1|}}}}}}]]|{{PAGENAME}}{{!}}{{PAGENAME}}]] at  [[Wikipedia:|Wikipedia]]}}</includeonly><noinclude>
 
<includeonly>[[Wikipedia:{{#if:{{{1|}}}|{{{1}}}{{!}}{{{2|{{{1|}}}}}}]]|{{PAGENAME}}{{!}}{{PAGENAME}}]] at  [[Wikipedia:|Wikipedia]]}}</includeonly><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.-->
  
 
==Usage==
 
==Usage==
Line 10: Line 10:
 
**{{w|Page|Display}}
 
**{{w|Page|Display}}
  
 +
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Revision as of 23:06, 25 June 2017

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"