Mediawiki Templates
Contents
Sandbox
Note
Reminder
Kbd
hello
key press
hello
Templates
Go to Wikipedia and copy the name of the template you're after, go to Special:Export and paste the name of the template in the big text box, e.g. Template:Infobox. Check "Include templates" and uncheck "Include only the current revision, not the full history". Click Export to dump a .xml file of the template. Then import this into the destination wiki.
- https://en.wikipedia.org/wiki/Special:Export
- wiki/index.php?title=Special:Import
After it has been imported open the template for editing, check the list below the edit box "Pages transcluded onto the current version of this page:". If there are any red links repeat the above steps for these templates as well. You might also need to copy styles in MediaWiki:Common.css page and Javascript in MediaWiki:Common.js before everything works. Finally edit the templates to customize for your wiki.
- If it still doesn't work and you have messy pages of braces and if statements, then you need to install the ParserFunctions extension.
- https://www.mediawiki.org/wiki/Extension:Scribunto#Installation