Template:Wiki

From Weezerpedia
Jump to: navigation, search
[edit] Template-info.svg.png Template documentation

The Wiki template allows users to generate external links to Wikipedia articles without having to copy and paste an entire Wikipedia url.

External links on Weezerpedia

First a little primer on external links. You can generate a link to an external website by placing brackets (i.e. [ ] ) around that link. Check it out:

[https://weezer.com/tour]

Gives you a link to the "Tour" page of Weezer's website: [1].

You can "name" that link by adding a space after the url, and then typing whatever words you want to display afterward. That looks like:

[https://weezer.com/tour The "Tour" page of Weezer's website]

Which gives you: The "Tour" page of Weezer's website.

If you wanted to display the url itself, merely type it twice, separated by a space, within the brackets:

[https://weezer.com/tour https://weezer.com/tour]

This gives you: https://weezer.com/tour.

Use

This template takes advantage of the fact that every Wikipedia page has a unique url. It merely places whatever the Wikipedia article's name is at the end of the following text:

https://en.wikipedia.org/wiki/

You can substitute any Wikipedia page name at the end of that url - https://en.wikipedia.org/wiki/Madonna, https://en.wikipedia.org/wiki/Baseball, etc. This is - more or less - how Google Chrome and Firefox allow you to search Wikipedia through their normal browser search bar.

The Wiki template is a shortcut to creating that url, by filling in the blank of the page name.

When you type:

{{Wiki|Weezer}}

You get an "unnamed" external link to the Wikipedia article for Weezer.

[2]


It's the same thing as if you typed:

[https://en.wikipedia.org/wiki/Weezer]

It gives you the same link ([3]), but without having to deal with the url.

Troubleshooting

  • To "name" the link, add a space after "Weezer" and type what you want to display. This looks like:
{{Wiki|Weezer Weezer's Wikipedia page}}

Weezer's Wikipedia page

Wikipedia articles with multiple-word titles

Most Wikipedia articles have more than one word in their title. https://en.wikipedia.org/wiki/The_Beatles is an easy example. Because this template fills in the blank of a url that your browser will navigate to, you need to replace to any space characters (i.e. a space between two words) with underscore symbols. See below:

{{Wiki|The_Beatles}}

Gives you an "unnamed" link to the Beatles' wikipedia page:

[4]


Without the underscore symbol, the template doesn't work:

{{Wiki|The Beatles}}

Gives you a link to the Wikipedia page for the word the, but "names" the link with the word after the space: "Beatles". Take a look:
Beatles


To "name" a link to a multi-word Wikipedia article, type the same article name twice - once with brackets, and once without.

{{Wiki|The_Beatles The Beatles}}

This gives you: The Beatles


See also

  • Template:Wiki2 - a template that does almost the same exact thing, but makes it a little easier to "name" links
  • Template:Wiki3 - a scarcely-used template that adds a super-score "W" after the link, to clarify to any reader that the link they're going to leads off of Weezerpedia.