Template:Inherited cat
Jump to navigation
Jump to search
This template should be used on pages in the Category: namespace, and automatically generates descriptions and categorization for categories of a recognized type (see below). It is implemented by Module:category tree and its submodule Module:category tree/inherited cat. It is preferable not to invoke this template directly, but to simply use {{auto cat}}
(with no parameters), which will automatically invoke this template on appropriately-named category pages.
- The following documentation is located at Template:Inherited cat/documentation. [edit]
- Useful links: subpage list • transclusions • redirects • sandbox
This template automatically generates descriptions and categorization for categories whose name follows the format "(language name) terms inherited from (language name)" and "Terms inherited from (language name)".
Parameters
|1=
- The language code (see Project:Languages) of the language that the category name begins with, and which the category's contents belongs to. Leave this empty for categories that do not start with a language name.
|2=
- The code of the source language (see Project:Languages) that the terms in the category originate from. This is the part of the category name that follows the "inherited from" part.
Examples
- On Category:English terms inherited from Old English:
{{inherited cat|en|ang}}
- On Category:French terms inherited from Latin:
{{inherited cat|fr|la}}
- On Category:Terms inherited from Proto-Germanic:
{{inherited cat||gem-pro}}