For more information, see Wikipedia link on Wikipedia.
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 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 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 link|2=Custom Text}} | Right align is default. 2= sets the 2nd parameter(link text) without setting the first(link). |
|