Difference between revisions of "Template:Wikipedia"

From YTMND
Jump to: navigation, search
(Looks betta)
(plainlinking and explaining)
Line 1: Line 1:
<div style="width: 180px; border-style: solid; border-width: 1px; border-color: #eeeeee #000000 #000000 #eeeeee; background-color: #FFFFFF; padding: 8px 8px 8px 8px; margin: 5px 5px 5px 5px; float: right;">[http://en.wikipedia.org/wiki/{{{1|{{PAGENAME}}}}} {{{1|{{PAGENAME}}}}}] has an article at Wikipedia.</div>
+
<includeonly><div style="width: 180px; border-style: solid; border-width: 1px; border-color: #eeeeee #000000 #000000 #eeeeee; background-color: #FFFFFF; padding: 8px 8px 8px 8px; margin: 5px 5px 5px 5px; float: right;"><span class="plainlinks">[http://en.wikipedia.org/wiki/{{{1|{{PAGENAME}}}}} {{{2|{{{1|{{PAGENAME}}}}}}}}]</span> has an article at Wikipedia.</div></includeonly>
 +
 
 +
<noinclude>Use this template to link to an article at Wikipedia. There shouldn't be much overlap, but if there is, use this template.
 +
 
 +
 
 +
Remember to use an underscore ('''_''') instead of a space, as spaces break MediaWiki links (why couldn't they just pipe them??)
 +
 
 +
Um, basically, the use of the template is as follows: Adding {{tl|Wikipedia}} creates a link to an article with the same name at Wikipedia with the link caption being the page's name. Adding {{tl2|Wikipedia|Article_Name}} produces a link to Article_Name with the link caption Article_Name (as MediaWiki hates spaces). Adding a second parameter, an article caption {{tl3|Wikipedia|Article_Name|Article name}} produces a link to Article_Name with a caption of Article name. The caption can be anything you want, for example {{tl3|Wikipedia|YTMND|The best site ever}} produces
 +
 
 +
{{Wikipedia|YTMND|The best site ever}}
 +
 
 +
Enjoy!
 +
</noinclude>

Revision as of 08:41, June 2, 2006


Use this template to link to an article at Wikipedia. There shouldn't be much overlap, but if there is, use this template.


Remember to use an underscore (_) instead of a space, as spaces break MediaWiki links (why couldn't they just pipe them??)

Um, basically, the use of the template is as follows: Adding {{Wikipedia}} creates a link to an article with the same name at Wikipedia with the link caption being the page's name. Adding Template:Tl2 produces a link to Article_Name with the link caption Article_Name (as MediaWiki hates spaces). Adding a second parameter, an article caption Template:Tl3 produces a link to Article_Name with a caption of Article name. The caption can be anything you want, for example Template:Tl3 produces

Bouncy Wikipedia logo
Infatuated with facts? Wikipedia has an article about The best site ever. Go learn something.


Enjoy!