ފަންވަތް:Template group
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).
Basic syntax
{{Template group |title = |list = }}
Parameters
- 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)
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
The above documentation is transcluded from ފަންވަތް:Template group/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |