Board Thread:Support Requests - Getting Technical/@comment-24424249-20150723235653/@comment-3474542-20150812121854

If you do want to take a template from somewhere else, make sure that their license is compatible with yours and be sure to give proper credit.

Don't worry, doing this is typically easier and less painless than it sounds.

Most wikis list their license at the bottom of the page, and it includes a link to what the license means.

If you are planning to take your code from a wiki that doesn't have the same license as you do, you will need to either include information about the different license on the page (for example, CC-by-NC), or else get explicit permission from the license holder(s) (all of them!), to use their work for your wiki.

If you're dealing with Wikipedia, or most of Wikia, though it's even easier. Most of these wikis are CC-BY-SA. That means that all you need to do is include something like "Imported information from Template:Spoiler (revision 4278) found at http://templates.wikia.com" in the edit summary. Alternately, if you really want to emphasize where you got the template from, you can actually type something like "based on w:c:templates:Template:Spoiler from Wikia Templates ".