Template:Wikipedia: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
mNo edit summary
mNo edit summary
 
(30 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<div class="noprint floatright" style="border:solid #aaa 1px; font-size:90%; background:#f9f9f9; width:250px; padding:5px; margin-bottom:10px;">
<includeonly>{| class="nav-right noprint" style="width:262px;background:#f9f9f9;border:1px solid #aaa;padding:2px"
<div style="float:left;">[[File:Wikipedia-logo-en.png|44px]]</div>
| style="padding-right:10px" | [[File:English Wikipedia Logo.svg|x40px]]
<div style="margin-left:60px;">[[Wikipedia:Main Page|Wikipedia]] has an article on {{wp|{{#if:{{{1|}}}|{{{1}}}|{{FULLPAGENAME}}}}|{{#if:{{{1|}}}|{{{1}}}|{{FULLPAGENAME}}}}}}</div></div><noinclude>
| [[wikipedia:Main Page|Wikipedia]] has an article on '''[[wikipedia:{{{1|{{FULLPAGENAME}}}}}|{{{2|{{#if:{{#pos:{{{1|{{FULLPAGENAME}}}}}|<nowiki/> (}}|{{#sub:{{{1|{{FULLPAGENAME}}}}}|0|{{#rpos:{{{1|{{FULLPAGENAME}}}}}|<nowiki/> (}}}}|{{{1|{{FULLPAGENAME}}}}}}}}}}]]'''{{#rmatch:{{{2|{{#if:{{#pos:{{{1|{{FULLPAGENAME}}}}}|<nowiki/> (}}|{{#sub:{{{1|{{FULLPAGENAME}}}}}|0|{{#rpos:{{{1|{{FULLPAGENAME}}}}}|<nowiki/> (}}}}|{{{1|{{FULLPAGENAME}}}}}}}}}}|[.!?]'*$||.}}
{{br}}
|}</includeonly><noinclude>{{Wikipedia|Super Mario Bros.}}
The '''Wikipedia Template''' creates a box that links to the appropriate page on [[wikipedia:Main Page|Wikipedia]].  This template is not original to the [[Main Page|Super Mario Wiki]], but rather was originally created for use on [[Wiktionary:Main Page|Wikitionary]] and has since been used on many other specialty Wikis such as our own.  The template is for use on articles which exceed our scope.  For example, [[Kirby]] only makes several appearances in the ''[[Mario (franchise)|Mario]]'' franchise, but makes many more in his own series.  This allows interested readers to expand their knowledge further.  Another possible use is on articles for subjects which are fictional versions of non-fictional subjects.  For example, one could place the template on both [[Earth]] and [[banana]].  However, the template should '''not''' be placed on an article that falls entirely in our scope, such as [[Mario]] or ''[[Super Mario Galaxy]]''.
The '''Wikipedia template''' creates a box that links to the appropriate page on [[wikipedia:Main Page|Wikipedia]].


==How to Use==
== Parameters ==
To use, simply type the following on the article page:
An optional first parameter is the article title on Wikipedia and an optional second parameter is the link display text. The template defaults to the current page title.
<pre>{{wikipedia}}</pre>
{{Wikipedia}}
{{br}}
Please keep in that in mind with articles like [[Banjo]], for that will link you to {{wp|Banjo|the musical instrument}}. In this case, you would write:
<pre>{{wikipedia|Banjo-Kazooie (series)}}</pre>


Writing that would link you to {{wp|Banjo-Kazooie (series)|the video game series}}.
== Usage ==
{{Wikipedia|Banjo-Kazooie (series)}}
The template should be placed underneath {{tem|NIWA}}, if present. If not, it should be placed at the top of the external links section if it exists, otherwise it should be placed at the top of the last main section (immediately underneath the second-level heading).
[[Category:Infobox templates|W]]</noinclude>
 
[[Category:Sidebar templates]]</noinclude>

Latest revision as of 17:24, June 20, 2024

The Wikipedia template creates a box that links to the appropriate page on Wikipedia.

Parameters

An optional first parameter is the article title on Wikipedia and an optional second parameter is the link display text. The template defaults to the current page title.

Usage

The template should be placed underneath {{NIWA}}, if present. If not, it should be placed at the top of the external links section if it exists, otherwise it should be placed at the top of the last main section (immediately underneath the second-level heading).