Hacks Guide Wiki:Importing templates from Wikipedia

Wikipedia has a lot of nice templates, but they are also a huge mix of other templates and Lua modules. So I made this to keep track of what needs to be exported.

If someone repeats this, you should import all of the templates mentioned if you want this to be easy. Some of the later ones depend on templates or modules that were already imported.

Big list of templates and modules
All of the templates here can be updated by exporting them at wikipedia:Special:Export and imported here at Special:Import.

Some templates are not listed here because they were modified. See Module:Yesno Module:Arguments Module:No globals Module:TableTools Module:List Module:TNT Module:String Module:MultiReplace

Template:Documentation Module:Documentation Module:Documentation/styles.css Module:Documentation/config Module:Protection banner Module:Protection banner/config Module:File link Module:Effective protection level Module:Effective protection expiry

Template:Mbox Template:Ambox Template:Cmbox Template:Imbox Template:Tmbox Template:Fmbox Template:Ombox Module:Message box Module:Message box/ambox.css Module:Message box/cmbox.css Module:Message box/fmbox.css Module:Message box/imbox.css Module:Message box/ombox.css Module:Message box/tmbox.css Module:Message box/configuration Module:Category handler Module:Category handler/blacklist Module:Category handler/config Module:Category handler/data Module:Category handler/shared Module:Namespace detect Module:Namespace detect/data Module:Namespace detect/config Module:Exponential search

Template:Uses TemplateStyles Module:Uses TemplateStyles Module:Uses TemplateStyles/config

Template:Lua Module:Lua banner

Template:Error Module:Error

Template:Yesno

Template:Hatnote Module:Hatnote

Template:Italic title Template:Italic dab Module:Italic title

Template:Lowercase title

Template:Template other

Template:Infobox Module:Infobox Module:Infobox/styles.css Module:Navbar Module:Navbar/configuration Module:Navbar/styles.css

Template:Plainlist

Template:TOC limit Template:TOC limit/styles.css Template:TOC right/styles.css

Template:Template link Template:Template link expanded Template:Template link general Template:Template link with alternate text Template:Template link with link off Template:Tl Template:Tla Template:Tlf Template:Tlg Template:Tlx

Template:Reply to Module:Reply to Template:Ping Template:Re Template:Replyto Template:Reply Template:Yo

Module:Random

Template:Hidden title

Template:Clickable button 2 Module:Clickable button 2

Template:Done

Template:Clear

Template:Tree list Template:Tree list/styles.css Template:Tree list/end Template:Tree list/branching

Modified templates
These templates were modified from the original one on Wikipedia. These shouldn't be imported directly. Instead, check what has changed and add it manually.

CSS
Mbox and Infobox don't have all their CSS in TemplateStyles yet. So some of this needs to be copied here from wikipedia:MediaWiki:Common.css.


 * MediaWiki:Gadget-WikipediaMbox.css
 * MediaWiki:Gadget-WikipediaInfobox.css