Difference between revisions of "Template:Wikipedia-link"

From Hitchwiki
Jump to navigation Jump to search
Line 1: Line 1:
 
[[Image:WikipediaW.png]] ''[[Wikipedia:Main Page|Wikipedia]] has additional encyclopedic information on [[Wikipedia:{{{2|{{{1|{{PAGENAME}} }}} }}}|{{{2|{{{1|{{PAGENAME}} }}} }}}]]''<noinclude>
 
[[Image:WikipediaW.png]] ''[[Wikipedia:Main Page|Wikipedia]] has additional encyclopedic information on [[Wikipedia:{{{2|{{{1|{{PAGENAME}} }}} }}}|{{{2|{{{1|{{PAGENAME}} }}} }}}]]''<noinclude>
 +
 +
 +
----
 +
 +
This template can be used to link to a Wikipedia article.
 +
 +
== Usage ==
 +
; without parameters the articles name will be used – for the link as well as its label: <nowiki>{{Wikipedia-link}}</nowiki>
 +
; with one parameter the string from the parameter will be used – for the link as well as its label: <nowiki>{{Wikipedia-link|name of Wikipedia article}}</nowiki>
 +
; with two parameters the first parameter's string will be used for the Wikipedia link and the second for its label: <nowiki>{{Wikipedia-link|name of Wikipedia article|label}}</nowiki>
  
  

Revision as of 12:58, 15 February 2008

WikipediaW.png Wikipedia has additional encyclopedic information on Wikipedia-link



This template can be used to link to a Wikipedia article.

Usage

without parameters the articles name will be used – for the link as well as its label
{{Wikipedia-link}}
with one parameter the string from the parameter will be used – for the link as well as its label
{{Wikipedia-link|name of Wikipedia article}}
with two parameters the first parameter's string will be used for the Wikipedia link and the second for its label
{{Wikipedia-link|name of Wikipedia article|label}}