Difference between revisions of "Template:Wikipedia-link"

From Hitchwiki
Jump to navigation Jump to search
 
m
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Wikipedia:Hauptseite|Wikipedia]] has additional encyclopedic information on [[Wikipedia:{{#if:{{{2|}}}|{{{2}}}|{{#if:{{{1|}}}|{{{1}}}|{{PAGENAME}}}}}}|{{#if:{{{2|}}}|{{{2}}}|{{#if:{{{1|}}}|{{{1}}}|{{PAGENAME}}}}}}]]
+
<div>[[Image:WikipediaW.png]] ''[[:Wikipedia:Main Page|Wikipedia]] has additional encyclopedic information on [[:Wikipedia:{{{1|{{PAGENAME}} }}}|{{{2|{{{1|{{PAGENAME}} }}} }}}]]''</div>
 
<noinclude>
 
<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>
  
  

Latest revision as of 18:05, 23 April 2009

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}}