Difference between revisions of "Template:w"

Explain xkcd: It's 'cause you're dumb.
Jump to: navigation, search
(Reverting to Revision as of 01:59, 5 March 2013 by Davidy22)
(Undo revision 88553 by 141.101.98.177 (talk))
Line 1: Line 1:
<includeonly>[[Wikipedia:{{#if:{{{1|}}}|{{{1}}}{{!}}{{{2|{{{1|}}}}}}]]|{{PAGENAME}}{{!}}{{PAGENAME}}]] at  [[Wikipedia:|Wikipedia]]}}</includeonly><noinclude>
+
<includeonly>[http://www.wikipedia.org/wiki/{{#if:{{{1|}}}|{{{1}}}|{{PAGENAME}}{{#if:{{{2|}}}|{{{2}}}|}}]</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==
*<nowiki>{{w}}</nowiki> by itself links to the wikipedia page for the page you use the template on
+
*<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"

Revision as of 02:27, 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"
https://www.explainxkcd.com/wiki/index.php?title=Template:w&diff=prev&oldid=88557
www.explainxkcd.com
crawl=CC-MAIN-2020-10
26106
application/http; msgtype=response
sha1:CBWGWBWIGUUBR6O55IGWLC7TZD2R5ZIS
<urn:uuid:9e02c928-69d4-4f9c-95ef-f9985b1eeff0>
2020-02-25T15:24:06Z
104.28.23.60
text/html
sha1:7YYEHKGFD6H6IJA76DI46DPGNAV47LAF
<urn:uuid:9cfeefcd-cd39-4989-858f-c61d65ee82b5>
https://www.explainxkcd.com/wiki/index.php?title=Template:w&diff=prev&oldid=88557
response
<urn:uuid:aed9de24-eb1f-47bd-adf9-72e996d99cd5>
isPartOf: CC-MAIN-2020-10
publisher: Common Crawl
description: Wide crawl of the web for February 2020
operator: Common Crawl Admin (info@commoncrawl.org)
hostname: ip-10-67-67-10.ec2.internal
software: Apache Nutch 1.16 (modified, https://github.com/commoncrawl/nutch/)
robots: checked via crawler-commons 1.1-SNAPSHOT (https://github.com/crawler-commons/crawler-commons)
format: WARC File Format 1.1
conformsTo: http://iipc.github.io/warc-specifications/specifications/warc-format/warc-1.1/