Jump to content

Template:Collapsed infobox section begin/doc

From Simple English Wikipedia, the free encyclopedia

This template is used with {{collapsed infobox section end}} to create a collapsed section in an infobox. This is not the same as {{hidden}}, which can be used to collapse an infobox, or {{collapsible list}}, which collapses a single list within an infobox.

Place {{collapsed infobox section begin}} before the first line of the collapsed section (typically in the caption, for an infobox with an image), and place {{collapsed infobox section end}} after the last line of the collapsed section (typically just after the website or footnotes).

Parameters

[change source]

The template has one optional unnamed parameter that is the title used for the collapsed section.

{{collapsed infobox section begin|Heading}}

If omitted, the template will use the default heading, "Further information".

The template has two optional named parameters for adjusting the style. To change the style for the section title, use |titlestyle=. To change the style for the collapsed table, use |style=.

Setting |expanded=yes will make the section expanded by default.

Example

[change source]
Tim Template
Tim in 2012
Biographical data
Born (2000-01-01) January 1, 2000 (age 24)
Alma materWikipedia
WebsiteOfficial website
{{Infobox person
| name = Tim Template
| image = wikipedia.png
| caption = Tim in 2012
{{collapsed infobox section begin|Biographical data|titlestyle=background-color:#eee}}
| birth_date = {{birth date and age|2000|1|1}}
| alma_mater = Wikipedia
| website = {{official website|www.wikipedia.org}}<!--
-->{{collapsed infobox section end}}
}}

Warnings

[change source]

If either the begin or end templates are not properly transcluded, disaster may strike, causing the infobox to either swallow the article (missing the end template), or terminate unexpectedly (missing the begin template).

As with all collapsed content, if there are references to citations (<ref>...</ref>) inside collapsible sections, readers cannot jump to the location of the reference using the backlinks (^ or na b c ...) at the citation. Backlinks will only work when the collapsible section(s) is/are expanded. The same is true for citations within a collapsed {{collapsible list}} or {{hidden}} template or any collapsed content.

See also

[change source]
https://simple.wikipedia.org/wiki/Template:Collapsed_infobox_section_begin/doc
simple.wikipedia.org
CC-MAIN-2024-38
54293
application/http; msgtype=response
sha1:P4ZCCGMSTRZR7Y5H5JYPUOFBIQ5A6CRM
<urn:uuid:dad70be8-2201-4063-a493-19acb3a64117>
2024-09-17T12:48:18Z
208.80.154.224
text/html
sha1:2FNMSHBQSP4WEAVZBWAVKVXRYDL57UPB
<urn:uuid:1c291ca6-dbfc-4297-8768-05d790f03d2c>
https://simple.wikipedia.org/wiki/Template:Collapsed_infobox_section_begin/doc
response
<urn:uuid:134ac962-7c4c-4414-989a-ee63be89a903>
isPartOf: CC-MAIN-2024-38
publisher: Common Crawl
description: Wide crawl of the web for September 2024
operator: Common Crawl Admin (info@commoncrawl.org)
hostname: ip-10-67-67-196
software: Apache Nutch 1.20 (modified, https://github.com/commoncrawl/nutch/)
robots: checked via crawler-commons 1.5-SNAPSHOT (https://github.com/crawler-commons/crawler-commons)
format: WARC File Format 1.1
conformsTo: https://iipc.github.io/warc-specifications/specifications/warc-format/warc-1.1/