Jump to content

ފަންވަތް:Template group/doc

ވިކިޕީޑިއާ، މިނިވަން އެކުމާފާނުން


This is the template documentation page for

{{Template group}}.
It is not intended to be viewed directly. If it uses variables, some links may appear broken. Do not replace these variables with hardcoded page names or URLs.


For grouping related templates (usually collapsed; see Wikipedia:Navigational templates) that appear beside each other on a page (usually at the bottom; see, for example, articles linked from here).

{{Template group
|title = 
|list  = 
}}
state
(optional) Set to autocollapse, collapsed, or uncollapsed to set whether the box starts in a collapsed or uncollapsed mode. Defaults to uncollapsed if nothing is set.
title
(optional) Title to appear in titlebar above group of templates (e.g. "Geographic locale", "Related topics", etc). If this parameter is absent, then the output would be identical to the value of list.
titlestyle
(optional) Any styles to apply to titlebar (default background color is "white")
list
(required) List of templates in group, using standard wiki syntax (i.e. braces; see example below)

(from article on Cyprus)

{{Template group
|title = Geographic locale
|list  = 
{{Countries of Europe}}
{{Countries and territories of the Middle East}}
{{Countries of Southwest Asia}}
{{Countries of Asia}}
{{Countries bordering the Mediterranean Sea}}
}}