Difference between revisions of "Version"
From Sega Retro
(should look a bit tidier) |
|||
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:{{# | + | !style="background-color:transparent; border:0px; text-align:left;"{{!}} {{#ifexpr: {{#len:{{{changes}}}}}>19 | {{#sub:{{#explode:{{{changes}}}|<br>|0}}|0|20}}... |
{{!}}- | {{!}}- | ||
{{!}} <div style="max-height:200px; overflow-y:auto;">{{{changes}}}</div> | {{!}} <div style="max-height:200px; overflow-y:auto;">{{{changes}}}</div> | ||
− | | {{{changes}}} }} | + | | |
+ | {{{changes}}} }} | ||
{{!}}} | {{!}}} | ||
}} | }} |
Revision as of 22:11, 22 March 2017
See Template:Versiontable for usage.