This is aninformation page. It is neither anencyclopedia article nor one ofWikipedia's policies or guidelines; rather, its purpose is to explain certain aspects of Wikipedia's norms, customs, technicalities, or practices. It may reflect differing levels ofconsensus andvetting. |
Favorite templates is a feature for registered (logged-in) users to save a list of templates they can easily choose from when inserting templates with certain tools. It was added to MediaWiki in July 2025. Seemw:Help:TemplateData/Template discovery#Favourite templates for another description andthis June 2025 Village Pump (technical) discussion for background. This feature was created by WMF developers based ona Community Wishlist request. At that latter page, there are screen shots showing how the feature works.
For users with the default (Vector 2022) skin, also the Vector Legacy and Timeless skins, a bookmark icon
appears next to the watchlist star icon on every page (except /doc, /sandbox, and /testcases subpages) in thetemplate namespace. Clicking the bookmark saves a template to a list inside the Visual Editor'sInsert Template dialog box and the insert template icon
in thesource editor toolbar. If you are on a template subpage then only the subpage is saved. After saving a template, the icon changes to a similar icon
which can be clicked to unsave the template. Templates can also be unsaved from the list of favorite templates when you insert a template.
To hide the bookmark icon completely (e.g. if you use an editor that has no way to make use of "favorite templates"), you can add this toyour CSS:
/* Hide the new (July 2025) "add to favorites" template bookmark icon */.mw-list-item.ext-templatedata-caction-favorite{display:none;}
If you use older skins (MonoBook, Modern, Cologne Blue), the bookmark icon is replaced with a tab or link reading "Add template to favorites".
These messages may appear when you hover or click the icon:[1]