Template:Wikipedia: Difference between revisions

From electowiki
Content added Content deleted
(Trying to make a wikipedia template)
 
No edit summary
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="sister-wikipedia sister-project noprint floatright" style="border: 1px solid #aaa; font-size: 90%; background: #f9f9f9; width: 250px; padding: 4px; text-align: left;">
Wikipedia has an article on [[w:{{{1|{{PAGENAME}}}}}|]]
<div style="float: left;">[[File:Wikipedia-logo.png|44px|none|link=|alt=]]</div>
<div style="margin-left: 60px;">Wikipedia has an article on:
<div style="margin-left: 10px;"><b>[[w:{{{ 1 |{{PAGENAME}}}}}|{{{ 1 |{{PAGENAME}}}}}]]</b>
</div>
</div></div><!--
--><noinclude>{{documentation}}<templatedata>
{
"params": {
"1": {
"label": "Article title",
"description": "if not the same as the current article title"
}
},
"description": "Link to a Wikipedia article about the same topic. Article title is not needed if it's the same as current article title"
}
</templatedata></noinclude>

Latest revision as of 21:13, 8 August 2019

Wikipedia has an article on:
Template documentation[view] [edit] [history] [purge]

This template produces a link to the (English) Wikipedia article about the same topic. It can be used either as {{wikipedia}}, which will link to the Wikipedia page of the same name as the current article, or as {{wikipedia|Different name}}, which will link to "Different name".

Link to a Wikipedia article about the same topic. Article title is not needed if it's the same as current article title

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Article title1

if not the same as the current article title

Unknownoptional