Template:Wikipedia: Difference between revisions

-redundant whitespaces
ArrowHead294 (talk | contribs)
Make documentation page
Line 1: Line 1:
<div class="floatright" style="border: 1px solid #aaa; font-size: 90%; background: #f9f9f9; width: 250px; padding: 4px; text-align: left;">
<div class="floatright" style="border: 1px solid #aaa; font-size: 90%; background: #f9f9f9; width: 250px; padding: 4px; text-align: left;">
<div style="float: left;">[[File:Wikipedia-logo.png|44px|none|link=|alt=]]</div>
    <div style="float: left;">[[File:Wikipedia-logo.png|44px|none|link=|alt=]]</div>
<div style="margin-left: 60px;">English [[Wikipedia:Main Page|Wikipedia]] has an article on:
    <div style="margin-left: 60px;">English [[Wikipedia:Main Page|Wikipedia]] has an article on:
<div style="margin-left: 10px;">'''[[Wikipedia:{{{1|{{FULLPAGENAME}}}}}|{{{1|{{FULLPAGENAME}}}}}]]'''</div>
        <div style="margin-left: 10px;">'''[[Wikipedia:{{{1|{{FULLPAGENAME}}}}}|{{{1|{{FULLPAGENAME}}}}}]]'''</div>
</div>
    </div>
</div>[[Category:Pages with Wikipedia articles]]<noinclude>
</div>[[Category:Pages with Wikipedia articles]]<noinclude>
The '''Wikipedia''' template shows a right-floating sister-project box with a link to a single English Wikipedia page.
The '''Wikipedia''' template shows a right-floating sister-project box with a link to a single English Wikipedia page. It was inspired by [[Wiktionary:Template:wikipedia|the corresponding template on the English Wiktionary]], which includes many more features that are not implemented in this simplified version of the template.


The template should be placed at the beginning of the page it refers to, immediately after hatnotes if there are any. If there are also images, box templates such as this should appear first. Alternatively, consider linking to Wikipedia in the "External links" section; see [[Special:Interwiki]] for tips on adding such links.
{{doc}}
 
The template can also be placed at the beginning of a section. In that case, the title of the Wikipedia page must be explicitly given as a [[#Parameters|parameter]].
 
This template was inspired by [[Wiktionary:Template:wikipedia|the corresponding template on the English Wiktionary]], which includes many more features that are not implemented in this simplified version of the template.
 
== Parameters ==
All parameters are optional.
; <code>1=</code>
: Specifies the Wikipedia page to link to. By default, this is the same as the name of the current Xenharmonic Wiki page.
 
[[Category:Templates]]
</noinclude>
</noinclude>