Template:derived terms/documentation

This template is currently a proposal awaiting approval. Do not use use it before it has community approval. For nowadays template for this use, see der3.

Usage
This template creates a list of derived terms and is thought to be a replacement of the templates, , , , , , , and. Unlike the templates it replaces, it automatically selects an appropriate way to display the list, so the number of columns does not have to be specified manually.

Scheme
You can copy and paste in the entry this code to create the section and use the template (can see parameters and some examples bellow):

Parameters

 * 1: The first parameter specifies the language of the terms.
 * title: Deprecated. Specifies the title of the collapsible box. This is currently only shown in cases where the "nested list" functionality is used (see below). The default title is "Derived terms".
 * Subsequent numbered parameters: The list items. At least one list item must be specified. Duplicates are eliminated. Leading and trailing white space is automatically trimmed from each item, so items can be written on separate lines without causing problems.
 * Items may start with one asterisk . This indicates that they are derived from the last preceding term that does not start with an asterisk. This capability is referred to as "nested list" functionality.

Simple example
Observe that the template sorts the list and automatically removes repeated items.

Code:

Result:

Small example
Code:

Result:

Example with nested items
Code:

Result: