Template:Template group/doc

From Wikipedia, the free encyclopedia

This is the template documentation page for Template:Template group.

This page is not necessarily 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:NavFrame) that appear beside each other on a page (usually at the bottom; see, for example, articles linked from here).

[edit] Basic syntax

{{Template group
|title = 
|list  = 

}}

[edit] Parameters

title
(optional) Title to appear in titlebar above group of templates (e.g. "Geographic locale", "Related topics", etc)
titlebkg
(optional) Titlebar's background color (default powderblue)
list
(required) List of templates in group, using standard wiki syntax (i.e. braces; see example below)

[edit] Example

(from article on Cyprus)

[edit] Code

{{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}}
}}

[edit] Result

Geographic locale