Template:Category maintenance

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
Template documentationview · edit · history · purge ]

Placed in the category description, the template adds a (collapsed) box with links to find media to add or remove from the category.

New fields should be added if needed. The various links added by users in this template can be used to develop tools for category maintenance and eventually replace it.

Usage

{{Category maintenance |categorize= |categorize_todo= |term= |syn= |syn1= |syn2= |syn3= |lang= |lang1= |lang2= |lang3= |searchmanual= |filestoremove= |filestofix= }}

Template parameters

ParameterDescriptionDefaultStatus
categorizeto paste link(s) to Search or CatScan to find additional files to add to this category. Sampleemptyoptional
categorize_todoDetails of what to do with the results. Can be used to note, e.g., false positives. Sample.
"_todo" can be added to most other field names below to add such text.
emptyoptional
termword generally used for the subject of the category (generally identical with the category title)emptyoptional
synsynonyms and alternate spellings for the word in "term". Creates search links to find media using these an not the value in "lang=". Multiple values can be combined with "OR". If there are several values and the term consists of several words enclose each with round brackets.emptyoptional
syn1emptyoptional
syn2emptyoptional
syn3emptyoptional
langterm in other language(s). Creates search link to find media using these an not the value in "term=". For a sample use, see Category:Self-portraitsemptyoptional
lang1emptyoptional
lang2emptyoptional
lang3emptyoptional
searchmanualvalue "y" adds a link to search for files included directly in the category (rather than through the template). These should generally be removed from the category when the category should only be populated through a template. sampleemptyoptional
filestoremoveto paste link(s) to Search or CatScan to find files that should be removed from the categoryemptyoptional
filestofixto paste link(s) to Search or CatScan to find files that need to be fixedemptyoptional

Additional information

The template is intended to be used in the following namespaces: the Category namespace

The template is intended to be used by the following user groups: all users