Template:Wikipedia: Difference between revisions

(New page: <div class="sister-wikipedia"><div class="sister-project"><div class="noprint" style="clear: right; border: solid #aaa 1px; margin: 0 0 1em 1em; font-size: 90%; background: #f9f9f9; width:...)
 
No edit summary
Line 1: Line 1:
<div class="sister-wikipedia"><div class="sister-project"><div class="noprint" style="clear: right; border: solid #aaa 1px; margin: 0 0 1em 1em; font-size: 90%; background: #f9f9f9; width: 250px; padding: 4px; text-align: left; float: right;">
<noinclude>This template is used for linking to the Wikipedia article of a page.
 
Simply using <code><nowiki>{{wikipedia}}</nowiki></code> will place the box with an automatic link to the Wikipedia article of the same name.
 
{{wikipedia}}
<br clear="both">
Using <code><nowiki>{{wikipedia|Test}}</nowiki></code> allows you to specify the Wikipedia page it links to.
 
{{wikipedia|Test}}
<br clear="both">
This template should not be used where the article is empty or only a single sentence. [[Template:Redirect]] when used as <code><nowiki>{{redirect|wp:Test|Test|on Wikipedia}}</nowiki></code> will produce the following big link to the page.
{{redirect|wp:Test|Test|on Wikipedia}}
 
</noinclude><includeonly><div class="sister-wikipedia"><div class="sister-project"><div class="noprint" style="clear: right; border: solid #aaa 1px; margin: 0 0 1em 1em; font-size: 90%; background: #f9f9f9; width: 250px; padding: 4px; text-align: left; float: right;">
<div style="float: left;">[[Image:Wikipedia-logo-en.png|48px|none| ]]</div>
<div style="float: left;">[[Image:Wikipedia-logo-en.png|48px|none| ]]</div>
<div style="margin-left: 60px;">{{#if:{{{lang|}}}|{{{{{lang}}}}}&nbsp;}}'''[[wp:|Wikipedia]]''' has an article on:
<div style="margin-left: 60px;">{{#if:{{{lang|}}}|{{{{{lang}}}}}&nbsp;}}'''[[wp:|Wikipedia]]''' has an article on:
Line 5: Line 18:
</div>
</div>
</div>
</div>
</div></div><span class="interProject">[[wp:{{#if:{{{lang|}}}|{{{lang}}}:}}{{ucfirst:{{{1|{{PAGENAME}}}}}}}|Wikipedia]]</span>
</div></div><span class="interProject">[[wp:{{#if:{{{lang|}}}|{{{lang}}}:}}{{ucfirst:{{{1|{{PAGENAME}}}}}}}|Wikipedia]]</span></includeonly>

Revision as of 14:18, 16 June 2007

This template is used for linking to the Wikipedia article of a page.

Simply using {{wikipedia}} will place the box with an automatic link to the Wikipedia article of the same name.

Wikipedia has an article on:

Wikipedia


Using {{wikipedia|Test}} allows you to specify the Wikipedia page it links to.

Wikipedia has an article on:

Wikipedia


This template should not be used where the article is empty or only a single sentence. Template:Redirect when used as {{redirect|wp:Test|Test|on Wikipedia}} will produce the following big link to the page.

Click this link to go to Test on Wikipedia