Template:Text cat

Category:Main message boxes
Template documentation[view · edit · history · purge]
This documentation is transcluded from Template:Text cat/doc.

Adds description and categories for strings visible in an image. The category name for such categories is usually the string followed by " (text)". Sample: for the string "hello", this is "Category:Hello (text)".

Usage


{{Text cat |text= |topic= |lang= |lang2= |lq= |nq= }}

Template parameters

ParameterDescriptionDefaultStatus
text
1
texttext of stringemptyrequired
topic
2
topicmain topic of the text, adds "Category:topic"; nocat to exclude categorisationemptyoptional
lang
3
languageadditional language of text, will add "Category:lang text"emptyoptional
lang2
4
language 2language of text, will add "Category:lang2 text"emptyoptional
lqletter quantitytotal number of letters in text string for cases where not all characters are letters. This defaults to string length, but a regex excludes some characters such spaces.{{Str len}}optional
nqnumeral quantitytotal number of numerals in text stringemptyoptional

Additional information

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

The template is intended to be used by the following user groups: no user group specified

See also

Category:Templates using an unknown approach for internationalisation
Category:Templates using an unknown approach for internationalisation