Vorlage:Galerie: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Zeile 3: | Zeile 3: | ||
Variable | Variable | ||
− | -->{{#vardefine:id|{{#regex: {{ | + | -->{{#vardefine:id|{{#regex: {{{caption|xy}}}|/\w{4}/}}}}<!-- |
-->{{#vardefine:rw|{{{rw|100}}}}}<!-- | -->{{#vardefine:rw|{{{rw|100}}}}}<!-- | ||
-->{{#vardefine:rh|{{{rh|100}}}}}<!-- | -->{{#vardefine:rh|{{{rh|100}}}}}<!-- | ||
Zeile 10: | Zeile 10: | ||
-->{{#vardefine:gapY|{{{gapY|{{{gap|10px}}}}}}}}<!-- | -->{{#vardefine:gapY|{{{gapY|{{{gap|10px}}}}}}}}<!-- | ||
-->{{#vardefine:justify-content|{{#if: {{{center|}}}|center|space-between}}}}<!-- | -->{{#vardefine:justify-content|{{#if: {{{center|}}}|center|space-between}}}}<!-- | ||
− | -->{{#vardefine:caption|{{{caption| | + | -->{{#vardefine:caption|{{{caption|}}}}}<!-- |
CSS | CSS |
Version vom 10. April 2020, 20:32 Uhr
Parameter:
- Bilder: 1
- Text: caption
- grid: rw, rh [Einheit=px], gap, gapY [Einheit dazuschreiben], repeat [Zahl, default = auto-fit]
- Position: center[center=1], margin [left und right, mit Einheit]