Template:Sidebar with collapsible headers/content: Difference between revisions
Jump to navigation
Jump to search
Red Leader (talk | contribs) m (Arg, list no verk!) |
Red Leader (talk | contribs) |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly>{{#if: {{{heading|}}} | <tr> | ||
<th class="mw-customtoggle-{{{id}}} {{{headingclass|}}}" style="text-align: center; padding-top: 0.2em; padding-bottom: 0.2em; {{{headingstyle|}}}">{{{heading}}}</th> | |||
</tr> | |||
}}<!-- | }}<!-- | ||
-->< | --><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}}}</ | {{{content|}}}</td> | ||
</ | </tr><includeonly><noinclude> | ||
[[Category:Undocumented templates]] | [[Category:Undocumented templates]] | ||
</noinclude> | </noinclude> |