Nothing Special   »   [go: up one dir, main page]

Jump to content

Template:rel-top

From Wiktionary, the free dictionary

Usage

This template may be used together with {{rel-bottom}} to format a collapsed two-column list of related terms in the "Related terms" section of an entry. However, it is suggested that a {{col}} template (for example, {{col-auto}}) be used for this purpose. Each item in the list should begin with an asterisk (*) and be indicated using {{l}}.

  • Wikitext:
{{rel-top}}
* {{l|en|first}}
* {{l|en|second}}
* {{l|en|third}}
* {{l|en|fourth}}
* {{l|en|fifth}}
* {{l|en|sixth}}
{{rel-bottom}}
  • Result:

Besides the above, this template takes an optional 1st-position parameter that replaces the words "Related terms" in the bar.

TemplateData

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

TemplateData for rel-top

This template helps to create a collapsible box. It should be used in conjunction with {{rel-bottom}} (the collapsed content goes between the two).

Template parameters[Edit template data]

This template has custom formatting.

ParameterDescriptionTypeStatus
title1

Text shown in the title bar (the bar visible even in collapsed form)

Stringoptional

See also