Template:Wikipedia: Difference between revisions

From Rosetta Code
Content added Content deleted
(Don't use FULLPAGENAME because it brings the namespace with it)
m (Should probably use the URL encoded version for the link just in case)
 
Line 1: Line 1:
{| align=center border=0 cellpadding=3 cellspacing=3 style="border: 1px solid #E0E0E0; background-color: #F8F8F8; color:black;"
{| align=center border=0 cellpadding=3 cellspacing=3 style="border: 1px solid #E0E0E0; background-color: #F8F8F8; color:black;"
| style="font-size: 90%" | This page uses content from '''[http://{{{2|en}}}.wikipedia.org Wikipedia]'''. The original article was at [http://{{{2|en}}}.wikipedia.org/wiki/{{PAGENAMEE:{{{1|{{PAGENAME}}}}} }} {{{1|{{PAGENAME}}}}}]. The list of authors can be seen in the [http://{{{2|en}}}.wikipedia.org/w/index.php?title={{urlencode:{{{1|{{PAGENAME}}}}} }}&action=history '''page history''']. [[Project:Copyrights|As with {{SITENAME}}]], the text of Wikipedia [[wp:Project:Copyrights|is available]] under the [http://www.gnu.org/licenses/fdl.html GNU FDL]. (See links for details on variance)
| style="font-size: 90%" | This page uses content from '''[http://{{{2|en}}}.wikipedia.org Wikipedia]'''. The original article was at [http://{{{2|en}}}.wikipedia.org/wiki/{{PAGENAMEE:{{{1|{{PAGENAMEE}}}}} }} {{{1|{{PAGENAME}}}}}]. The list of authors can be seen in the [http://{{{2|en}}}.wikipedia.org/w/index.php?title={{urlencode:{{{1|{{PAGENAMEE}}}}} }}&action=history '''page history''']. [[Project:Copyrights|As with {{SITENAME}}]], the text of Wikipedia [[wp:Project:Copyrights|is available]] under the [http://www.gnu.org/licenses/fdl.html GNU FDL]. (See links for details on variance)
|}<includeonly>[[Category:WikipediaSourced]]</includeonly><noinclude>
|}<includeonly>[[Category:WikipediaSourced]]</includeonly><noinclude>
== Usage ==
== Usage ==

Latest revision as of 22:01, 29 November 2011

This page uses content from Wikipedia. The original article was at Wikipedia. The list of authors can be seen in the page history. As with Rosetta Code, the text of Wikipedia is available under the GNU FDL. (See links for details on variance)

Usage

{{Wikipedia|article|en}}
  • first parameter article name (default is same as rosettacode article name)
  • second is Wikipedia language code (default is en for English Wikipedia)

This template adds the page to Category:WikipediaSourced.


This is a template. There are many others. See Category:RCTemplates for a complete list of templates.