Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Hacks Guide Wiki:Importing templates from Wikipedia

From Hacks Guide Wiki
Revision as of 21:27, 21 March 2024 by Ihaveahax (talk | contribs) (→‎Big list of templates and modules: Template:Unordered list, Template:Bulleted list)

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 #Modified templates

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
Module:Hatnote/styles.css

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

Template:Anchor
Module:Anchor

Template:Key press
Module:Key
Template:Key press/styles.css

Template:Start date and age
Template:Years or months ago

Template:Navbox
Module:Navbox
Module:Navbox/styles.css
Module:Navbox/configuration

Module:Color contrast
Module:Color contrast/colors

Template:Main

Module:Labelled list hatnote

Module:Hatnote list

Module:Format link

Template:DATE

Template:No redirect
Module:Redirect

Template:Shortcut
Template:Shortcut/styles.css
Module:Shortcut

Template:Section link
Module:Section link

Template:Short description
Template:Short description/lowercasecheck
Template:First word
Template:Main other
Template:Trim
Template:Pagetype
Module:Pagetype
Module:Pagetype/config
Module:Check for unknown parameters
Module:If preview
Module:If preview/configuration
Module:If preview/styles.css

Template:Dmbox
Template:Dmbox/styles.css
Template:Category handler

Template:New page DYM
Template:Str rightc
Module:String
Module:Ustring
Template:Did you mean box

Template:Bulleted list
Template:Unordered list
Template:Nutshell

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.

Local Wikipedia
Template:TOC right Template:TOC right
Module:Shortcut/config Module:Shortcut/config

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.