Template:Collapsed infobox section begin: Difference between revisions

m
(Created page with '<includeonly></td></tr> <tr><td><table class="collapsible collapsed"> <tr><th colspan=2 style="text-align:center">{{{1|Further information}}}</th> </tr></include...')
 
 
(46 intermediate revisions by 11 users not shown)
Line 1:
<includeonly>{{#if:{{{div|}}}|</div>|}}{{#if:{{{td|}}}|<td>|}}</td></tr>
<tr><td colspan=2><table class="mw-collapsible {{#ifeq:yes|{{yesno|def=|{{{expanded|}}}}}||mw-collapsed}}" style="width:100%;{{#ifeq:yes|{{yesno|def=|{{{cont|}}}}}|margin-top:-3px;|}}{{#ifeq:yes|{{yesno|def=|{{{last|}}}}}|margin-bottom:-5px;|}}{{{style|}}}">
<tr><td><table class="collapsible collapsed">
<tr><th colspan=2 style="text-align:center;line-height:normal;padding:0.2em 0.2em;{{{titlestyle|}}}"><div style="margin:0 3.5em">{{{1|Further information}}}</div></th>
</tr>{{#if:{{{div|}}}|<div>|}}</includeonly><noinclude>
{{documentation|content=}}
<!-- Add categories to the /doc subpage, interwikis to Wikidata, not here -->
This template may be used with {{tl|collapsed infobox section end}} to create a collapsed section in an {{tl|infobox}}.
}}</noinclude>
== Usage ==
Place {{tld|collapsed infobox section begin}} before the first line of the collapsed section (typically in the caption, for an infobox with an image), and place {{tld|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 parameter, and that is the title use for the collapsed section.
: {{tld|collapsed infobox section begin|Heading}}
If omitted, the template will use the default heading, "<code>Further information</code>".
 
== See also ==
* {{tl|hidden}}, {{tl|hidden begin}}, and {{tl|hidden end}}
* {{tl|infobox}}
 
}}</noinclude>