Шаблон:релатед термс/доцументатион


This template is currently a proposal awaiting approval. Do not use use it before it has community approval.

This template creates a list of related terms and is thought to be a replacement of the templates {{rel2}}, {{rel3}}, {{rel4}}, {{rel-top}}, {{rel-mid}}, {{rel-top3}}, {{rel-mid3}}, {{rel-top4}}, {{rel-mid4}}, {{rel-top5}}, {{rel-mid5}}, and {{rel-bottom}}. 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.

Parameters

уреди
  • lang: Language of the terms. This parameter is always mandatory, which is not the case in the templates this template replaces.
  • title: Used to add a title. If it does not exist, the default title is Related terms and is displayed only when necessary. (In the current implementation, the default title is displayed as the title of the collapsible box, but not displayed if no collapsible box is displayed.)
  • Numbered parameters are the list items. At least one list item must be specified. There must be no duplicates. 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 (*). White space following the asterisk is automatically trimmed. This indicates that they are derived from the last preceding term that does not start with an asterisk.

Usage example

уреди

Code:

{{related terms|lang=en
| communication disorder
| communication engineering
| communications
| communications satellite
| communicate
| communicator
| communion
}}

Result:

Lua грешка in Модул:term_list at line 8: Parameter "lang" is not used by this template..