5,960
edits
(update source code as previously developed in Template:TLP drawer test) |
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><html><span onclick=" | <div>{{#if:{{{sub-propositions|}}}|<span class="tlp-button"><nowiki>[</nowiki><html><span onclick="TLPExpandEn('</html>{{{proposition}}}<html>')" style="cursor: pointer; color: #4c4c4c;"></html><span id="tlp-button-text-{{{proposition}}}">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> |