Template:categ

Definition from Wiktionary, the free dictionary
Jump to: navigation, search

This template must be substed.


The following documentation is located at Template:categ/documentation. [edit]


Documentation[edit]

This template categorizes as languagecode:Foo or as Languagename foo, whichever exists. If both or neither exists, it calls {{attention|languagecode}}. It is designed for use by an editor who does not recall which of the two categories exists. It will attempt to add an s to the end of the category name also.

This template must be substed, as it uses many parser functions. It is designed for neat substing.

Usage[edit]

The first unnamed parameter is the language code (such as fr or en). There is no support in this template for using a language name instead. If this parameter is nonexistent, this will default to en (English). If the parameter is blank, the template will yield an error message.

The second unnamed parameter is the category. If this is nonexistent or blank, the template will yield an error message.