32,238
edits
mNo edit summary |
(Revert. Minor character change screwed up parameters for width and the entire template. Suggest testing any change before making actual amendments.) |
||
Line 3: | Line 3: | ||
|right=<nowiki> </nowiki>tright" style=" | |right=<nowiki> </nowiki>tright" style=" | ||
|#default=<nowiki> </nowiki>tnone style="margin-left: auto; margin-right:auto; | |#default=<nowiki> </nowiki>tnone style="margin-left: auto; margin-right:auto; | ||
}} width:{{{4|99%}}}; max-width:{{0expr | }} width:{{{4|99%}}}; max-width:{{0expr:{{str sub|{{{2}}}|0|{{0expr:{{str find|{{{2}}}|px}} -1}}}} + 8}}px;"> | ||
<div class="thumbinner"><div class="overflowbugx" style="overflow:auto;">[[File:{{{1}}}|{{{2}}}|alt={{{alt|}}}|{{#switch:{{{3}}} | <div class="thumbinner"><div class="overflowbugx" style="overflow:auto;">[[File:{{{1}}}|{{{2}}}|alt={{{alt|}}}|{{#switch:{{{3}}} | ||
|thumb | |thumb |