Vorlage:Gallery/aux: Unterschied zwischen den Versionen
Aus Offene Naturführer
K |
K (style="page-break-after:avoid;" + pixel2Number for width) |
||
Zeile 5: | Zeile 5: | ||
hsl(0, 0%, 98%) → #fafafa | hsl(0, 0%, 98%) → #fafafa | ||
--><table style="width:{{#If:{{{width|}}}|{{#Expr:{{{width}}}+20}}|200}}px; float:left; border-collapse:collapse; margin:3px; background-color:#ffffff;"> | --><table style="width:{{#If:{{{width|}}}|{{#Expr:{{{width}}}+20}}|200}}px; float:left; border-collapse:collapse; margin:3px; background-color:#ffffff;"> | ||
− | <tr> | + | <tr style="page-break-after:avoid;"> |
− | <td style="height:{{#If:{{{width|}}}|{{#Expr:{{{width}}}+20}}|200}}px; border:2px solid; border-bottom-color:#e5e5e5;border-right-color:#e5e5e5;border-top-color:#fafafa;border-left-color:#fafafa;background-color:#f7f7f7;{{{imageframestyle|}}}">[[{{Trim| 1={{{1|}}} }}|center|{{{imageborder|none}}}|{{{width | + | <td style="height:{{#If:{{{width|}}}|{{#Expr:{{pixel2Number|{{{width}}}}}+20}}|200}}px; border:2px solid; border-bottom-color:#e5e5e5;border-right-color:#e5e5e5;border-top-color:#fafafa;border-left-color:#fafafa;background-color:#f7f7f7;{{{imageframestyle|}}}">[[{{Trim| 1={{{1|}}} }}|center|{{{imageborder|none}}}|{{pixel2Number|{{{width}}}}}x{{pixel2Number|{{{width}}}}}px|{{Trim|1={{{2|}}} }}]] |
</td> | </td> | ||
</tr> | </tr> | ||
<tr style="text-align:center;background-color:#ffffff;font-family:sans-serif;{{{captionstyle|}}}"> | <tr style="text-align:center;background-color:#ffffff;font-family:sans-serif;{{{captionstyle|}}}"> | ||
<td style="display:block; font-size:0.92em; height:{{#Expr:0.2+1.5*{{{lines|2}}}}}em; padding:0px;"> | <td style="display:block; font-size:0.92em; height:{{#Expr:0.2+1.5*{{{lines|2}}}}}em; padding:0px;"> | ||
− | <div style="height:{{#Expr:0.1+1.5*{{{lines|2}}}}}em; width:{{#If:{{{width|}}}|{{#Expr:{{{width}}}+7}}|187}}px; line-height:1.25em; padding-left:6px; padding-right:6px; padding-top:2px; padding-bottom:1px; overflow-y:auto; margin:0px; padding-top:2px; border:none; border-width:0px;">{{Trim|1={{{2|}}} }} | + | <div style="height:{{#Expr:0.1+1.5*{{{lines|2}}}}}em; width:{{#If:{{{width|}}}|{{#Expr:{{pixel2Number|{{{width}}}}}+7}}|187}}px; line-height:1.25em; padding-left:6px; padding-right:6px; padding-top:2px; padding-bottom:1px; overflow-y:auto; margin:0px; padding-top:2px; border:none; border-width:0px;">{{Trim|1={{{2|}}} }} |
</div> | </div> | ||
</td> | </td> | ||
</tr> | </tr> | ||
</table> | </table> |
Version vom 23. März 2012, 00:04 Uhr
[[|center|none|{{{width}}}x{{{width}}}px|]] |
|