Difference between revisions of "Template:InfoBox/CollapsibleRow"

From Detective Conan Wiki
(Allow border-top to be overridden via parameter)
(See also: Template:InfoBox/See also links)
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<includeonly>{{#if: {{{2|}}}
 
<includeonly>{{#if: {{{2|}}}
| {{{!}} class="collapsible collapsed" style="background: transparent; width: 100%;" cellspacing="0"
+
| <div class="mw-collapsible mw-collapsed" style="border-top: {{#if: {{{border-top|}}} | {{{border-top}}} | 1px dotted #aaaaaa}}; margin-top: 1px; padding: 1px 0 2px 2px; font-weight: bold;">
{{!}}-
+
    <div style="padding-top: 2px;">{{#if: {{{1|}}} | {{{1}}} | Label is empty }}</div>
! style="border-top: {{#if: {{{border-top|}}} | {{{border-top}}} | 1px dotted #aaaaaa}};" {{!}} {{#if: {{{1|}}} | {{{1}}} | Label is empty }}
+
    <div class="mw-collapsible-content" style="margin-top: 2px; font-weight: initial;">{{{2}}}</div>
{{!}}-
+
  </div> }}</includeonly><noinclude>
{{!}}
+
This template allows you to insert a collapsible row and is meant to be used in conjunction with [[Template:InfoBox]].
{{{2}}}
 
{{!}}} | <div></div>}}</includeonly><noinclude>
 
This template allows you to insert a collapsible table and is meant to be used in conjunction with [[Template:InfoBox]].
 
  
 
== See also ==
 
== See also ==
* [[Template:InfoBox/Chronology]]
+
{{InfoBox/See also links}}
* [[Template:InfoBox/MainHeader]]
 
* [[Template:InfoBox/Image]]
 
* [[Template:InfoBox/Section]]
 
* [[Template:InfoBox/LabeledRow]]
 
* [[Template:InfoBox/CollapsibleTable]]
 
* [[Template:InfoBox/Item]]
 
  
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 04:29, 18 March 2026