Vorlage:Gallery/aux: Unterschied zwischen den Versionen

Aus Offene Naturführer
Wechseln zu: Navigation, Suche
K (style="page-break-after:avoid;" + pixel2Number for width)
K (+documentation)
 
(7 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
<!--
+
<noinclude>
 +
Has CSS classes:
 +
┌ table.custom-gallery-picture ┐
 +
├─── td.custom-gallery-image  │
 +
├─── td.custom-gallery-caption │
 +
└──────────────────────────────┘
 +
</noinclude><!--
 
hsl(0, 0%, 90%) → #e5e5e5
 
hsl(0, 0%, 90%) → #e5e5e5
 
hsl(0, 0%, 96%) → #f5f5f5
 
hsl(0, 0%, 96%) → #f5f5f5
 
hsl(0, 0%, 97%) → #f7f7f7
 
hsl(0, 0%, 97%) → #f7f7f7
 
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 class="custom-gallery-picture" 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;"><td class="custom-gallery-image" 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></tr><tr style="vertical-align:top;text-align:left;background-color:#ffffff;font-family:sans-serif;{{{captionstyle|}}}"><td class="custom-gallery-caption" 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.4em; padding:6px 6px 1px 6px; overflow-y:auto; margin:0px; border:none; border-width:0px;">{{Trim|1={{{2|}}} }}&nbsp;</div></td></tr></table>
  <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>
+
  </tr>
+
  <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;">
+
      <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|}}} }}&nbsp;
+
      </div>
+
    </td>
+
  </tr>
+
</table>
+

Aktuelle Version vom 14. März 2016, 17:46 Uhr

Has CSS classes:

┌ table.custom-gallery-picture ┐
├─── td.custom-gallery-image   │
├─── td.custom-gallery-caption │
└──────────────────────────────┘
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