Template:Collapsed infobox section begin: Difference between revisions

From CivWiki
Jump to navigation Jump to search
Content added Content deleted
(Backlinks warning;)
Line 1: Line 1:
{{Template for discussion/dated|page=Collapsed infobox section begin|link=Wikipedia:Templates for discussion/Log/2013 March 15#Template:Collapsed infobox section begin|help=off}}
<includeonly></td></tr>
<includeonly></td></tr>
<tr><td><table class="collapsible collapsed" style="width:100%">
<tr><td><table class="collapsible collapsed" style="width:100%">

Revision as of 11:19, 15 March 2013

Template:Template for discussion/dated

Template documentation

This template is used with {{collapsed infobox section end}} to create a collapsed section in 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".

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

If there are references to citations (<ref>...</ref>) inside collapsible sections, readers cannot jump to the location of the reference using the backlinks (^ or nTemplate:Sup) at the citation. Backlinks will only work when the collapsible section(s) is/are expanded.

See also