Template:Code from Wikipedia
![]() | Some or all text used in this template, module, or documentation has been borrowed from Wikipedia and modified for Weezerpedia. View the original text at Wikipedia:Template:Code from Wikipedia.
This page was last edited on November 12, 2024. The version on Wikipedia may have updated since then. |
This template creates a message box at the top of a page which indicates that text or code used on it has been borrowed from Wikipedia. This satisfies Wikipedia's copyright policy and provides additional context to editors, who may otherwise be confused by the implementation of outsourced code.
Usage
This template should be included in the documentation of any page in the Template:
or Module:
namespaces whose code or documentation adapts a significant portion of text from Wikipedia. This includes, for example, a module which has been fully copied over with only minor changes to remove unnecessary features, or a documentation page which has been adapted for a template which already existed, undocumented, on Weezerpedia.
Note that this template should only be used for pages with the same name as the original on Wikipedia. This means that, when you copy content from Wikipedia, you should try to carry over the name as well. If a page serves a different purpose from the Wikipedia page it copies from, it need not use this message box.
This template automatically populates a link to the original Wikipedia article and the date of the last page edit. To add it to a page, simple include this code at the top of the documentation page for a template or module:
{{Code from Wikipedia}}
If documentation doesn't already exist for the page, it can be found at Template:PAGENAME/doc
or Module:PAGENAME/doc
.
- Note: For template pages, also ensure
<noinclude>{{Documentation}}</noinclude>
is included in the template code.