(←Created page with "<span style="float:right; border:2px solid; padding: 5px;"> 50px  '''Look up [[wikipedia:{{{1}}}|{{{1}}}]] on Wikipedia.''' </span>")
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<span style="float:right; border:2px solid; padding: 5px;">
<span class="extract-ignore" style="{{#switch:{{{align}}}|left=float:left|right=float:right|banner=display:block|float:right}}; border:2px solid; padding: 5px; margin: 4px;">
[[File:Wikipedia-logo.svg|50px]]&nbsp;&nbsp;'''Look up [[wikipedia:{{{1}}}|{{{1}}}]] on Wikipedia.'''
[[File:Wikipedia-logo.svg|50px|link=]]&nbsp;&nbsp;'''For more information, see [[wikipedia:{{{1|{{PAGENAME}}}}}|{{{2|{{{1|{{PAGENAME}}}}}}}}]] on Wikipedia.'''

Latest revision as of 22:41, 19 May 2022

Wikipedia-logo.svg  For more information, see Wikipedia link on Wikipedia.

[edit] [history] [purge] Documentation Template documentation

This documentation is transcluded from Template:Wikipedia link/doc.

Use this template at the top of articles to link to a corresponding article on Wikipedia.

Parameter Result
1 or first Name of the page to link to (default the page the template is on)
2 or second The text of the link (by default what it links to)
align How to align it (left, right(default), or banner)
Text Explanation Result
{{Wikipedia link|align=left}} Links to the same page title, but on Wikipedia because 1 is not defined. Shows text of where it links to because there are no second parameter. Align=left makes it Align left.

Wikipedia-logo.svg  For more information, see Wikipedia link on Wikipedia.

{{Wikipedia link|Scratch (programming language)|align=right}} Links to page about Scratch on Wikipedia because the first parameter is defined as Scratch. The link text is Scratch because there is no second parameter. align=right makes it align right.

Wikipedia-logo.svg  For more information, see Scratch (programming language) on Wikipedia.

{{Wikipedia link|Scratch (programming language)#Scratch Wiki|Scratch Wiki|align=banner}} The first parameter tells it where to link to, and the second makes the link text be Scratch Wiki. align=banner makes it be a banner.

Wikipedia-logo.svg  For more information, see scratch wiki on Wikipedia.

{{Wikipedia link|2=Custom Text}} Right align is default. 2= sets the 2nd parameter(link text) without setting the first(link). 

Wikipedia-logo.svg  For more information, see Custom Text on Wikipedia.

Cookies help us deliver our services. By using our services, you agree to our use of cookies.