Template:Wikipedia: Difference between revisions

From Rosetta Code
Content added Content deleted
(use FULLPAGENAMEE so that special characters are %-encoded; so that e.g. Jensen's Device link will work)
(don't need to urlencode it)
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/w/index.php?title={{urlencode:{{{1|{{FULLPAGENAMEE}}}}}}} {{{1|{{FULLPAGENAME}}}}}]. The list of authors can be seen in the [http://{{{2|en}}}.wikipedia.org/w/index.php?title={{urlencode:{{{1|{{FULLPAGENAMEE}}}}}}}&action=history '''page history''']. As with [[Project:About|{{SITENAME}}]], the text of Wikipedia is available under the [[wikia:Text of the GNU Free Documentation License|GNU Free Documentation License]].
| 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/w/index.php?title={{{1|{{FULLPAGENAMEE}}}}} {{{1|{{FULLPAGENAME}}}}}]. The list of authors can be seen in the [http://{{{2|en}}}.wikipedia.org/w/index.php?title={{{1|{{FULLPAGENAMEE}}}}}&action=history '''page history''']. As with [[Project:About|{{SITENAME}}]], the text of Wikipedia is available under the [[wikia:Text of the GNU Free Documentation License|GNU Free Documentation License]].
|}<noinclude>
|}<noinclude>
== Usage ==
== Usage ==

Revision as of 22:27, 21 November 2008

This page uses content from Wikipedia. The original article was at Template: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 Free Documentation License.

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 is a template. There are many others. See Category:RCTemplates for a complete list of templates.