Difference between revisions of "Template:Wikipedia"

From Yugipedia
Jump to: navigation, search
(switch to SVG image)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="box message padded colored bordered type-basic"
+
{{ #vardefine: $wikipedia-page | {{ #if: {{{1|}}} | {{{1}}} | {{FULLPAGENAME}} }}
|-
+
}}{{ #vardefine: $wikipedia-type | {{ #switch: {{NAMESPACEE}} | {{ns:Template}} = template | {{ns:File}} = file | {{ns:Project}} = page | article }}
| class="cell-icon-35" | [[Image:Wikipedia-logo.png|35px|Wikipedia]]
+
}}{{Mbox
| class="text-medium" | This {{#switch:{{NAMESPACEE}}|{{ns:Template}}=template|{{ns:File}}=file|{{ns:Project}}=page|article}} uses [[w:Licensing|Creative Commons licensed]] content from{{#if:{{{2|}}}|<nowiki/> [http://en.wikipedia.org/w/index.php?title={{urlencode:{{var|{{{1|}}}|{{FULLPAGENAME}}}}}}&oldid={{urlencode:{{{2|}}}}} '''''revision {{{2|}}}'''''] of}} [[Wikipedia:|Wikipedia]]'s [[Wikipedia:{{var|{{{1|}}}|{{FULLPAGENAME}}}}|{{var|{{{1|}}}|{{FULLPAGENAME}}}}]] {{#switch:{{NAMESPACEE}}|{{ns:Template}}=template|{{ns:File}}=file|{{ns:Project}}=page|article}}.
+
| image = [[File:Wikipedia-logo-v2.svg|60px]]
 +
| text  = This {{ #var: $wikipedia-type }} uses [https://creativecommons.org/licenses/by-sa/3.0/ Creative Commons licensed] content from {{ #if: {{{2|}}} | [https://en.wikipedia.org/w/index.php?title={{urlencode:{{ #var: $wikipedia-page }}}}&oldid={{urlencode:{{{2}}}}} '''''revision {{{2}}}'''''] of }} Wikipedia's [[wikipedia:{{ #var: $wikipedia-page }}|{{ #var: $wikipedia-page }}]] {{ #var: $wikipedia-type }}.
  
The list of authors can be seen in the [http://en.wikipedia.org/w/index.php?title={{urlencode:{{var|{{{1|}}}|{{FULLPAGENAME}}}}}}&action=history '''page history'''] there.
+
The list of authors can be seen in the [https://en.wikipedia.org/w/index.php?title={{urlencode:{{ #var: $wikipedia-page }}}}&action=history '''page history'''] there.
|}<noinclude>{{Tlx|Wikipedia}} is placed at the top of the page whenever a page is copied from Wikipedia to be then expanded and modified to fit the wiki.
+
<small>See Wikipedia's [[wikipedia:Wikipedia:Copyrights|copyrights page]] for more information.</small>
 
+
}}<noinclude>{{Documentation}}</noinclude>
==Usage==
 
{{Tlx|Wikipedia|''Article Title''|''Revision ID''}}
 
 
 
* ''Article Title'' is specified when the name of the article on Wikipedia you copied from is different from the name of the article you copied it to. This parameter is optional and defaults to the title of the current page, but it is always good to specify this parameter to avoid issues with page moves.
 
* ''Revision ID'' is the numerical revision id of the revision you copied from if you wish to identify exactly which revision was copied.
 
 
 
[[Category:Templates/copied media|{{PAGENAME}}]]</noinclude>
 

Latest revision as of 01:21, 31 October 2018