Template:TLP drawer test: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 1: Line 1:
<div class="tlp-drawer">
<div class="tlp-drawer">
<div>{{#if:{{{sub-propositions|}}}|<span class="tlp-button"><nowiki>[</nowiki><span onclick="TLPExpand('children{{{proposition}}}')"><span id="tlp-button-text">Expand</span></span><nowiki>]</nowiki></span>|}}{{Individual-TLP-paragraph-{{{lang|}}}-{{{proposition|}}}}}</div>
<div>{{#if:{{{sub-propositions|}}}|<span class="tlp-button"><nowiki>[</nowiki><span onclick="TLPExpand('tlp-children-{{{proposition}}}')"><span id="tlp-button-text">Expand</span></span><nowiki>]</nowiki></span>|}}{{Individual-TLP-paragraph-{{{lang|}}}-{{{proposition|}}}}}</div>
{{#if:{{{sub-propositions|}}}|<div id="tlp-children-{{{proposition}}}" style="display: none;">{{{sub-propositions|}}}</div>|}}
{{#if:{{{sub-propositions|}}}|<div id="tlp-children-{{{proposition}}}" style="display: none;">{{{sub-propositions|}}}</div>|}}
</div>
</div>