5,960
edits
No edit summary |
(update source code as previously developed in Template:TLP drawer test) |
||
Line 1: | Line 1: | ||
<div class="{{#if:{{{sub-propositions|}}}| | <div class="tlp-drawer"> | ||
< | <div>{{#if:{{{sub-propositions|}}}|<span class="tlp-button"><nowiki>[</nowiki><html><span onclick="TLPExpand('</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 | {{#if:{{{sub-propositions|}}}|<div id="tlp-children-{{{proposition}}}" style="display: none;">{{{sub-propositions|}}}</div>|}} | ||
</div> | </div> |