Template:Sidebar with collapsible headers/content: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
m (Arg, list no verk!)
Line 1: Line 1:
<includeonly><div {{#if: {{{heading|}}} | class="NavFrame {{#if: {{{state|}}} | collapsed }}" }} style="border: none; padding-top: 0.2em; padding-bottom: 0.2em;">{{#if: {{{heading|}}}
<includeonly>{{#if: {{{heading|}}} | <tr>
| <div class="NavHead {{{headingclass|}}}" style="background: transparent; text-align: center; {{{headingstyle|}}}">{{{heading}}}</div>
  <th class="mw-customtoggle-{{{id}}} {{{headingclass|}}}" style="text-align: center; padding-top: 0.2em; padding-bottom: 0.2em; {{{headingstyle|}}}">{{{heading}}}</th>
</tr>
}}<!--
}}<!--


--><div class="NavContent {{{contentclass|}}}" style="{{#if: {{{heading|}}} | padding-top: 0.2em; }} {{{contentstyle|}}}">
--><tr>
  <td class="{{#if: {{{heading|}}} | mw-collapsible {{#ifeq: {{{state|}}} | collapsed | mw-collapsed }} }} {{{contentclass|}}}" style="padding-top: 0.2em; padding-bottom: 0.2em; {{{contentstyle|}}}" {{#if: {{{heading|}}} | id="mw-customcollapsible-{{{id}}}" }}>


{{{content}}}</div>
{{{content|}}}</td>
</div></includeonly><noinclude>
</tr><includeonly><noinclude>
[[Category:Undocumented templates]]
[[Category:Undocumented templates]]
</noinclude>
</noinclude>

Revision as of 11:46, 19 December 2015