Vorlage:Gallery/aux: Unterschied zwischen den Versionen

Aus Offene Naturführer
Wechseln zu: Navigation, Suche
K (captionstyle: font-family: sans-serif;)
K (+documentation)
 
(11 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
<table style="width:{{#If:{{{width|}}}|{{#Expr:{{{width}}}+20}}|200}}px; float:left; border-collapse:collapse; margin:3px; background-color:#ffffff;">
+
<noinclude>
  <tr>
+
Has CSS classes:
    <td style="height:{{#If:{{{width|}}}|{{#Expr:{{{width}}}+20}}|200}}px; border:2px solid; border-bottom-color:hsl(0, 0%, 90%);border-right-color:hsl(0, 0%, 90%);border-top-color:hsl(0, 0%, 98%);border-left-color:hsl(0, 0%, 98%);background-color:hsl(0, 0%, 97%);{{{imageframestyle|}}}">[[{{Trim| 1={{{1|}}} }}|center|{{{imageborder|none}}}|{{{width|180}}}x{{{width|180}}}px|{{Trim|1={{{2|}}} }}]]
+
table.custom-gallery-picture ┐
    </td>
+
├─── td.custom-gallery-image  │
  </tr>
+
├─── td.custom-gallery-caption │
  <tr style="text-align:center;background-color:#ffffff;font-family: sans-serif;{{{captionstyle|}}}">
+
└──────────────────────────────┘
    <td style="display:block; font-size:1em; height:{{#Expr:0.2+1.5*{{{lines|2}}}}}em; padding:0px;">
+
</noinclude><!--
      <div style="height:{{#Expr:0.1+1.5*{{{lines|2}}}}}em; width:{{#If:{{{width|}}}|{{#Expr:{{{width}}}+7}}|187}}px; line-height:1.3em; 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;
+
hsl(0, 0%, 90%) → #e5e5e5
      </div>
+
hsl(0, 0%, 96%) → #f5f5f5
    </td>
+
hsl(0, 0%, 97%) → #f7f7f7
  </tr>
+
hsl(0, 0%, 98%) → #fafafa
</table>
+
--><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>

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