Difference between revisions of "Template:Wikipedia"

From YTMND
Jump to: navigation, search
(again?)
(Wikilinking Yeeh!)
Line 1: Line 1:
 
<includeonly><div class="noprint" style="clear: right; border: solid #aaa 1px; margin: 0 0 1em 1em; font-size: 90%; background: #f9f9f9; width: 250px; padding: 4px; spacing: 0px; text-align: left; float: {{{3|right}}};"><div style="float: left">[[Image:Bouncy Wikipedia Logo.gif|55px|Bouncy Wikipedia logo]]</div>
 
<includeonly><div class="noprint" style="clear: right; border: solid #aaa 1px; margin: 0 0 1em 1em; font-size: 90%; background: #f9f9f9; width: 250px; padding: 4px; spacing: 0px; text-align: left; float: {{{3|right}}};"><div style="float: left">[[Image:Bouncy Wikipedia Logo.gif|55px|Bouncy Wikipedia logo]]</div>
<div style="margin-left: 60px;">Infatuated with facts? Wikipedia has an article about '''<span class="plainlinks">[http://en.wikipedia.org/wiki/{{{1|{{PAGENAME}}}}} {{{2|{{{1|{{PAGENAME}}}}}}}}]</span>'''. Go learn something.</div></includeonly>
+
<div style="margin-left: 60px;">Infatuated with facts? Wikipedia has an article about '''[[w:{{{1|{{PAGENAME}}}}}|{{{2|{{{1|{{PAGENAME}}}}}}}}]]</span>'''. Go learn something.</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.
 
<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 {{tlp|Wikipedia|Article Name}} produces a link to Article Name with the link caption Article Name . Adding a second parameter, an article caption {{tlp2|Wikipedia|Article Name|Caption}} produces a link to Article_Name with a caption of Caption. The caption can be anything you want, for example {{tlp2|Wikipedia|YTMND|The best site ever}} produces
 
+
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 {{tlp|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 {{tlp2|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 {{tlp2|Wikipedia|YTMND|The best site ever}} produces
+
  
 
{{Wikipedia|YTMND|The best site ever}}
 
{{Wikipedia|YTMND|The best site ever}}
  
 
Enjoy!
 
Enjoy!
 
 
  
 
One last thing: because so many templates are right-aligned, you can add a 3rd parameter (the position, with a default value of right-aligned).  
 
One last thing: because so many templates are right-aligned, you can add a 3rd parameter (the position, with a default value of right-aligned).  

Revision as of 09:58, July 11, 2006


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


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 {{Wikipedia|Article Name}} produces a link to Article Name with the link caption Article Name . Adding a second parameter, an article caption {{Wikipedia|Article Name|Caption}} produces a link to Article_Name with a caption of Caption. The caption can be anything you want, for example {{Wikipedia|YTMND|The best site ever}} produces

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


Enjoy!

One last thing: because so many templates are right-aligned, you can add a 3rd parameter (the position, with a default value of right-aligned).

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