Difference between revisions of "Template:Wikipedia"

From FamilySearch Wiki
Jump to navigation Jump to search
(use {{tlx}})
m (category)
(20 intermediate revisions by 4 users not shown)
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: right;">
<div class="noprint" style="line-height: 1.25em; border: 1px solid #AAA; margin: 4px 0px 4px 1em; font-size: 88%; background: #f9f9f9; width: 200px; padding: 2px; spacing: 0px; text-align: left; float: {{{align|right}}}; position: relative; z-index: 100;">
<div style="float: left;">[[Image:Wikipedia-logo.png|50px|none|Wikipedia]]</div>
{| style="margin-bottom: 0px;"
<div style="margin-left: 60px;">{{Wpd|Wikipedia}} has more about this subject:
|style="vertical-align: top;"|<div style="float: left;">[[Image:Wikipedia-logo.png|30px|none|Wikipedia]]</div>
<div style="margin-left: 10px;">'''''[[Wikipedia:{{ucfirst:{{{1|{{PAGENAME}}}}}}}|{{ucfirst:{{{2|{{{1|{{PAGENAME}}}}}}}}}}]]'''''</div>
|{{Wpd|Wikipedia}} has more about this subject: '''''[http://en.wikipedia.org/wiki/{{ucfirst:{{#replace:{{{1|{{PAGENAME}}}}}| |_}}}} {{ucfirst:{{{2|{{{1|{{PAGENAME}}}}}}}}}}]'''''
This template displays the box on the right, providing a link to an article on the {{Wpd|English Wikipedia}}.
== 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'''.

Latest revision as of 14:19, 21 July 2019

Wikipedia has more about this subject: Wikipedia
[view] [edit] [history] [purge] Documentation icon Template documentation