Template:CollapsedText: Difference between revisions

From PCSX2 Wiki
Jump to navigation Jump to search
mNo edit summary
m (Changes for browsers without Jscript available (and for old IEs)...)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#ifexpr:{{#len:{{{text|}}}}}<{{#if:{{{size|}}}|{{{size}}}|180}}+50|{{{text}}}|<div class="pcsx2_collapsible_text"><div class="pcsx2_collapsible_text_part">{{#sub:{{{text|}}}|0|{{#if:{{{size|}}}|{{{size}}}|180}}}}</div><div class="pcsx2_collapsible_text_full">
<includeonly>{{#ifexpr:{{#len:{{{text|}}}}}<{{#if:{{{size|}}}|{{{size}}}|120}}+80|{{{text}}}|<span class="pcsx2_collapsible_text"><span class="pcsx2_collapsible_text_part">{{#sub:{{#replace:{{{text|}}}|*|•}}|0|{{#if:{{{size|}}}|{{{size}}}|120}}}}</span><span class="pcsx2_collapsible_text_full">{{#sub:{{#replace:{{{text|}}}|*|•}}|{{#if:{{{size|}}}|{{{size}}}|120}}|0}}</span></span>}}</includeonly>
{{{text|}}}</div></div>}}</includeonly>

Latest revision as of 11:11, 8 November 2014