Vorlage:Gallery/aux: Unterschied zwischen den Versionen

Aus Offene Naturführer
Wechseln zu: Navigation, Suche
(Text align in Gallery gleich wie in floating thumb images, stört sich sonst gegenseitig!)
(sanitizing captionstyle + imageframe style, defaults now only here and not in caller!)
Zeile 6: Zeile 6:
 
--><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 style="page-break-after:avoid;">
 
   <tr style="page-break-after:avoid;">
     <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 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:left;background-color:#ffffff;font-family:sans-serif;{{{captionstyle|}}}">
+
   <tr style="vertical-align:top;text-align:left;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:{{pixel2Number|{{{width}}}}}+7}}|187}}px; line-height:1.25em; padding:2px 6px 1px 6px; overflow-y:auto; margin:0px; padding-top:2px; border:none; border-width:0px;">{{Trim|1={{{2|}}} }}&nbsp;
 
       <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:2px 6px 1px 6px; overflow-y:auto; margin:0px; padding-top:2px; border:none; border-width:0px;">{{Trim|1={{{2|}}} }}&nbsp;

Version vom 25. Februar 2016, 13:08 Uhr

[[|center|none|{{{width}}}x{{{width}}}px|]]
 
Quelle: Offene Naturführer, Das Wiki zu Bestimmungsfragen: Vorlage:Gallery/aux. Abgerufen am 2. Juni 2025, 10:25 von https://offene-naturfuehrer.de/web/Vorlage:Gallery/aux