Template:Template group

Jump to: navigation, search
[view] [edit]Template-info.svg Template documentation

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).

Basic syntax

{{Template group
|title = 
|list  = 

}}

Parameters

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 "paleturquoise")
list  
(required) List of templates in group, using standard wiki syntax (i.e. braces; see example below)

Example

(from article on Cyprus)

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

Result

Geographic locale

Template:Countries of Europe Template:Countries and territories of the Middle East Template:Countries of Southwest Asia Template:Countries of Asia Template:Countries bordering the Mediterranean Sea


Linked-in.jpg