Template:rel-top
Appearance
- The following documentation is located at Template:rel-top/documentation. [edit]
- Useful links: subpage list • links • redirects • transclusions • errors (parser/module) • sandbox
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).
Parameter | Description | Type | Status | |
---|---|---|---|---|
title | 1 | Text shown in the title bar (the bar visible even in collapsed form) | String | optional |
See also
{{rel-top3}}
(three-column version, used with {{rel-bottom}}).{{rel-top4}}
(four-column version, used with {{rel-bottom}}).{{rel-top5}}
(five-column version, used with {{rel-bottom}}).{{der-top}}
,{{der-top3}}
,{{der-top4}}
,{{der-top5}}
(top for derived terms list).{{box-top}}
(general-purpose collapsible box template)