Difference between revisions of "Version"

From Sega Retro

Line 6: Line 6:
 
| {{#if: {{{changes|}}} |  
 
| {{#if: {{{changes|}}} |  
 
{{{!}} class="{{#ifexpr: {{#len:{{{changes}}}}}>19 | mw-collapsible mw-collapsed }}" style="padding:0px; margin:0px; border:0px;"
 
{{{!}} class="{{#ifexpr: {{#len:{{{changes}}}}}>19 | mw-collapsible mw-collapsed }}" style="padding:0px; margin:0px; border:0px;"
!style="background-color:transparent; border:0px; text-align:left;"{{!}} {{#ifexpr: {{#len:{{{changes}}}}}>19 | {{#sub:{{#explode:{{{changes}}}|<br>|0}}|0|20}}...
+
!style="background-color:transparent; border:0px; text-align:left;"{{!}} {{#ifexpr: {{#len:{{{changes}}}}}>19 | <div style="max-height:24px; overflow:hidden;">{{nobr|{{#sub:{{#explode:{{{changes}}}|<br>|0}}|0|20}}...}}</div>
 
{{!}}-
 
{{!}}-
 
{{!}} <div style="max-height:200px; overflow-y:auto;">{{{changes}}}</div>
 
{{!}} <div style="max-height:200px; overflow-y:auto;">{{{changes}}}</div>

Revision as of 00:16, 23 March 2017

See Template:Versiontable for usage.