My own template from this wiki (the community wiki) to my Candy Crush wiki that I have to use. I have to bring a template from one wiki to another.
You can't. If you want to use templates on more than one wiki, you've got to create templates on more than one wiki. Sharing templates, so-called scary transclusion, is a needless strain on the servers.
The only exception here is Community Central, in which case it is possible using w:
as a prefix, just like any other template.
Tupka217, "shouldn't" and "can't" aren't the same thing.
Since your template is located here on CC, then you can transclude it on other wikis as Mendes2 mentioned. Let's say your template page here on CC is "Template:User:Evan0512/Template2". To transclude this on a different wiki, use this wikitext:
{{w:User:Evan0512/Template2}}
Andrewds1021 wrote: Tupka217, "shouldn't" and "can't" aren't the same thing.
Since your template is located here on CC, then you can transclude it on other wikis as Mendes2 mentioned. Let's say your template page here on CC is "Template:User:Evan0512/Template2". To transclude this on a different wiki, use this wikitext:
{{w:User:Evan0512/Template2}}
(Side question) Can you name a template like that? How would the interpreter differ it from transcluding a page in the User namespace?
I don't know the details but the interpreter does distinguish between them. In order to transclude a page outside of the template namespace, you need to place and extra ":" either before or after the "w". For example
{{:w:User:Evan0512/Template2}} {{w::User:Evan0512/Template2}}
You would need to use either one of those to translude "User:Evan0512/Template2" instead of "Template:User:Evan0512/Template2". So, basically the syntax for scary tranclusion is as follows.
{{w:Pagename}} {{w::Namepsace:Pagename}} {{:w:Namepsace:Pagename}}
Interesting. But in regular transclution, not interwiki, you don't need the : prefix when you specify a namespace, so how would it work then?
The two types of transclusion are handled differently by MediaWiki. As I said, I don't know the details. All I know is that, due to the difference in how they are handled, this is the resulting difference in how you use them.
Edit:
I am not even sure if this is a result of MediaWiki's built-in interwiki transclusion or some Fandom-custom solution they made for their wikis. For instance, interwiki links are a built-in Mediawiki feature but the ability to use "w:c:domain" to link to other Fandom wikis is custom code only Fandom has; not even Gamepedia has it (yet).
OK But I mean, forget about interwiki transclution for a moment. If I create a template named User:Andrewds1021, the expression {{User:Andrewds1021}} is now double-meaning.
No it doesn't. Because "User" is a namespace, internal tranclusion will assume "User:Andrewds1021". If you want "Template:User:Andrewds1021", then you need to explicitly specify the template namespace by using {{Template:User:Andrewds1021}}.