Difference between revisions of "Template:Wikipedia"
From DoomWiki.org
(trying this again per mw:Help:Automatic conversion of wikitext) |
(revert myself) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | ''This article incorporates text from the open-content [[Wikipedia]] online encyclopedia article [[Wikipedia:{{{1|{{{title|{{PAGENAMEE}}}}}}}}|{{{1|{{{title|{{PAGENAME}}}}}}}}]]{{#ifeq:{{{2}}}|date|, accessed {{{ | + | ''This article incorporates text from the open-content [[Wikipedia]] online encyclopedia article [[Wikipedia:{{{1|{{{title|{{PAGENAMEE}}}}}}}}|{{{1|{{{title|{{PAGENAME}}}}}}}}]]{{#ifeq:{{{2}}}|date|, accessed {{{3}}}|}}.''<noinclude><br><br><br> |
=== Instructions === | === Instructions === | ||
Line 8: | Line 8: | ||
: <tt><nowiki>{{</nowiki>Wikipedia|'''<span style="color:green">title</span>'''|'''date'''<nowiki>}}</nowiki></tt> | : <tt><nowiki>{{</nowiki>Wikipedia|'''<span style="color:green">title</span>'''|'''date'''<nowiki>}}</nowiki></tt> | ||
− | '''<span style="color:green">title</span>''' is the title of the Wikipedia article in question. You can optionally add the word '''date''' as a second argument, which appends a time stamp (making it easier to identify the revision you used). | + | '''<span style="color:green">title</span>''' is the title of the Wikipedia article in question. You can optionally add the word '''date''' as a second argument, '''imperatively''' followed by another pipe and five tildes, which appends a time stamp (making it easier to identify the revision you used). |
For example, if you typed | For example, if you typed | ||
− | : <tt><nowiki>{{Wikipedia|Hell|date}}</nowiki></tt> | + | : <tt><nowiki>{{Wikipedia|Hell|date|~~~~~}}</nowiki></tt> |
you would produce | you would produce | ||
− | : | + | : {{Wikipedia|Hell|date|12:10, 23 September 2011 (UTC)}} |
[[Category:External link templates]]</noinclude> | [[Category:External link templates]]</noinclude> |
Latest revision as of 13:40, 23 September 2011
This article incorporates text from the open-content Wikipedia online encyclopedia article Wikipedia.
Instructions[edit]
The purpose of this template is to cite a Wikipedia article as a source. For linking to Wikipedia within article text, see Template:Wp.
Syntax:
- {{Wikipedia|title|date}}
title is the title of the Wikipedia article in question. You can optionally add the word date as a second argument, imperatively followed by another pipe and five tildes, which appends a time stamp (making it easier to identify the revision you used).
For example, if you typed
- {{Wikipedia|Hell|date|~~~~~}}
you would produce