Template:Collapsed infobox section begin

From Γνωσιακή Βάση Υπηρεσιών και Διαδικασιών του Δημοσίου Τομέα
Revision as of 01:20, 4 June 2015 by Dkalo (talk | contribs) (Εισήχθη 1 αναθεώρηση)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
50px Template documentation[view] [edit] [history] [purge]

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.

Usage

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

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

Example

Tim Template
File:Example.png
Tim in 2012

</td></tr>

</div></td></tr></td></tr></table>
{{Infobox person
| name = Tim Template
| image = example.png
| caption = Tim in 2012
{{collapsed infobox section begin|Biographical data}}
| birth_date = {{birth date and age|2000|1|1}}
| alma_mater = Wikipedia
| website = {{URL|http://www.wikipedia.org}}
{{collapsed infobox section end}}
}}

Warnings

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