- You can import files from other wikis, for example templates and pages can be imported this way.
If you have import rights on the new wiki:
Go to Special:Export on the original wiki, and download an .xml file with the complete history of all necessary templates, as follows: Enter the name of the template in the big text box, e.g. "Template:Welcome". Pay special attention to capitalization and special characters — if the template name isn't exactly correct, the export may still occur but the .xml file will not have the expected data. Check the box "Include templates". Uncheck the box "Include only the current revision". Click Export.
Go to Special:Import on the new wiki and upload the .xml file.
From: Control Templates inclusion