Template:TranslatedCategory

From Rain World Wiki
Jump to navigation Jump to search
Template Documentation

Details

Unlike normal translated links, pages should always be added to the appropriate translated category, even if one doesn't exist. This template accomplishes that.

This template is intended for pages which have multiple translated versions. For pages with a single version that should be added to multiple translated categories (like files), see {{EveryTranslatedCategory}} instead.

Examples

Source Result
{{TranslatedCategory|Regions}} TranslatedCategory
{{TranslatedCategory|Regions| }}


Template Data

This is the TemplateData documentation for this template, used by VisualEditor and other tools.

Puts the page in a category that depends on the translation.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Category1

Category to put page in (without category namespace)

Page namerequired
Sort key2

If provided, sets the sort key for this page in the category. Don't use this if you don't know what you're doing.

Stringoptional
Sort by subpage?subpage

If nonempty, defaults the sort key to the subpage name, rather than the full page name.

Booleanoptional