Jump to content

Template:Wikipedia: Difference between revisions

move documentation
(add float parameter)
(move documentation)
Line 1: Line 1:
<div class="noprint" style="clear: right; border: solid #aaa 1px; margin: 1em 0 1em 1em; font-size: 90%; background: #f9f9f9; width: 250px; padding: 4px; spacing: 0px; text-align: left; float: {{{float|right}}};">
<div class="noprint" style="clear: right; border: solid #aaa 1px; margin: 1em 0 1em 1em; font-size: 90%; background: #f9f9f9; width: 250px; padding: 4px; spacing: 0px; text-align: left; float: {{{align|right}}};">
<div style="float: left;">[[Image:Wikipedia-logo.png|50px|none|Wikipedia]]</div>
<div style="float: left;">[[Image:Wikipedia-logo.png|50px|none|Wikipedia]]</div>
<div style="margin-left: 60px;">{{Wpd|Wikipedia}} has more about this subject:
<div style="margin-left: 60px;">{{Wpd|Wikipedia}} has more about this subject:
Line 6: Line 6:
</div><noinclude>
</div><noinclude>


This template displays the box on the right, providing a link to an article on the {{Wpd|English Wikipedia}}.
{{documentation}}
 
== Usage ==
{{tlx|wikipedia|''Article title''|''Display title''}}
*<code>''Article title''</code> is the name of the article on Wikipedia (optional)
*<code>''Display title''</code> is the text you want the link to say (optional)
 
If you don't specify an <code>''article title''</code>, it will link to the name of the page you use this template on. In the example above, the link is '''{{Wpd|Wikipedia}}''', since this page's name is Template:'''Wikipedia'''.
 
[[Category:External link templates|Wikipedia]]
 
</noinclude>
</noinclude>
90,866

edits