Jump to content

Template:Wikipedia/doc: Difference between revisions

added limitations
(Created page with "The '''Wikipedia''' template allows editors to quickly generate a link to a Wikipedia page. This is useful when a subject is mentioned or covered, but is not notable enough to Weezer for a full page. ==Sample with explanation/place-holder text== <pre> {{Wikipedia|PAGE TITLE}} </pre> ==Real example== <pre> {{Wikipedia|Pink Floyd}} </pre> This gives you: {{Wikipedia|Pink Floyd}} This links to the Wikipedia page for {{Wikipedia|Pink Floyd}}. The slower way to write this...")
 
(added limitations)
 
Line 1: Line 1:
The '''Wikipedia''' template allows editors to quickly generate a link to a Wikipedia page. This is useful when a subject is mentioned or covered, but is not notable enough to Weezer for a full page.
The {{tl|Wikipedia}} template allows editors to quickly generate a link to a Wikipedia page. This is useful when a subject is mentioned or covered, but is not notable enough to Weezer for a full page.


==Sample with explanation/place-holder text==
==Sample with explanation/place-holder text==
Line 15: Line 15:
This links to the Wikipedia page for {{Wikipedia|Pink Floyd}}.
This links to the Wikipedia page for {{Wikipedia|Pink Floyd}}.


The slower way to write this out - without a template - would be to use a "piped link." It would look like this:
==Limitations==
The template only allows linking to Wikipedia pages using their exact titles as the display text. If you need a custom display text, use the piped link format instead:
<pre>
<pre>
[[Wikipedia:Pink Floyd|Pink Floyd]]
[[Wikipedia:Tom_Jones_(singer)|Tom Jones]]
</pre>
</pre>
Gives you:
[[Wikipedia:Tom_Jones_(singer)|Tom Jones]].