Difference between revisions of "Template:From Wikipedia"

From Project-GC
Jump to: navigation, search
(action also needs to be outside urlencode)
(Added category)
 
(5 intermediate revisions by one other user not shown)
Line 1: Line 1:
This template is copied from Wikipedia. [https://en.wikipedia.org/w/index.php?title={{urlencode:{{SUBJECTPAGENAME}}|WIKI}}&action=history Revision history]<Noinclude>
+
<includeonly>This template is copied from Wikipedia{{#IF:{{{1|}}}|&nbsp;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 22: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.