Template:Inherited cat

From The Languages of David J. Peterson
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.


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