Vorlage:Galerie: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Zeile 11: | Zeile 11: | ||
-->{{#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:margin|{{{margin|0}}}}}<!-- | ||
-->{{#vardefine:caption|{{{caption|}}}}}<!-- | -->{{#vardefine:caption|{{{caption|}}}}}<!-- | ||
Zeile 23: | Zeile 24: | ||
row-gap: {{#var:gapY}}; | row-gap: {{#var:gapY}}; | ||
justify-content: {{#var:justify-content}}; | justify-content: {{#var:justify-content}}; | ||
− | margin: 0 | + | margin: 0 {{#var:margin}}; |
} | } | ||
#grid_{{#var:id}} .diax2 { | #grid_{{#var:id}} .diax2 { |
Version vom 10. April 2020, 21:36 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]