Difference between revisions of "Template:From Wikipedia"
(Allow optional timestamp) |
(Added category) |
||
(3 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>This template is copied from Wikipedia{{#IF:{{{1}}}|on {{#time:r|{{{1}}}}}}}. [https://en.wikipedia.org/w/index.php?title={{urlencode:{{SUBJECTPAGENAME}}|WIKI}}{{#IF:{{{1|}}}|&offset={{#time:YmdHis|{{{1}}}}}}}&action=history Revision history]</includeonly><Noinclude> | + | <includeonly>This template is copied from Wikipedia{{#IF:{{{1|}}}| on {{#time:r|{{{1}}}}}}}. [https://en.wikipedia.org/w/index.php?title={{urlencode:{{SUBJECTPAGENAME}}|WIKI}}{{#IF:{{{1|}}}|&offset={{#time:YmdHis|{{{1}}}}}}}&action=history Revision history]</includeonly><Noinclude> |
− | This template should be added to the talk page of any template copied from Wikipedia to provide attribution, as required by the cc-by-sa licence.</Noinclude> | + | ==Usage== |
+ | <code><nowiki>{{From Wikipedia|</nowiki>''Optional time stamp''<nowiki>}}</nowiki></code> | ||
+ | |||
+ | This template should be added to the talk page of any template copied from Wikipedia to provide attribution, as required by the cc-by-sa licence. | ||
+ | [[Category: Wiki Templates]] | ||
+ | </Noinclude> |
Latest revision as of 21:59, 26 April 2024
Usage
{{From Wikipedia|Optional time stamp}}
This template should be added to the talk page of any template copied from Wikipedia to provide attribution, as required by the cc-by-sa licence.