Wechseln zu:Navigation, Suche
Wiki
KKeine Bearbeitungszusammenfassung
KKeine Bearbeitungszusammenfassung
Zeile 1: Zeile 1:
{| style="float:right; margin-left: {{{mll|0px}}};"  
{| style="float:right; margin-left: {{{mll|0px}}};"  
|-
|-
| style="padding: 1px; vertical-align: top;" |  
| style="padding: 0px; vertical-align: top;" ´| <span style="
<span style="
display: block;  
display: block;  
border: 1px solid #dddddd;
border: 1px solid #dddddd;
Zeile 13: Zeile 12:
  padding: 4px;
  padding: 4px;
{{#if: {{{2|}}} | padding-bottom: 0px; }}
{{#if: {{{2|}}} | padding-bottom: 0px; }}
">[[Datei:{{{1|}}} | {{{w|100px}}}]]
">[[Datei:{{{1|}}} | {{{w|100px}}}]]{{#if: {{{2|}}} |<br><span style="display:inline-block; width: {{{w|100px}}};">{{{2|}}}</span>|}}</span>{{#if: {{{3|}}}  
{{#if: {{{2|}}}  
| {{!}}{{!}} style="padding: 0px; vertical-align: top;" {{!}}<span style="
|<br><span style="display:inline-block; width: {{{w|100px}}};">{{{2|}}}</span>
display: inline-block;  
|
border: 1px solid #dddddd;
}}
border-radius: 4px;
</span>
width:calc({{{w|100px}}}+2);  
{{#if: {{{3| Android Moto Arbeitsprofil-einrichten.png }}}  
color:{{Farbe|{{{c|{{{fc|#333333;}}} }}} }}  
| {{!}} style="padding: 0px; vertical-align: top;" {{!}}
font-size: {{{fs|{{{s|1em}}} }}};  
<span style="
margin-left:{{{ml|3px}}};  
display: inline-block;  
line-height: {{{lh|calc(100%+2px)}}};
border: 1px solid #dddddd;
padding: 4px;
border-radius: 4px;
{{#if: {{{4|}}} | padding-bottom: 0px; }}
width:calc({{{w|100px}}}+2);  
">[[Datei:{{{3|}}} | {{{w|100px}}}]]{{#if: {{{4|}}} |<br><span style="display:inline-block; width: {{{w|100px}}};">{{{4|}}}</span>|}}</span>|&#8291;}}{{#if: {{{5|}}}  
color:{{Farbe|{{{c|{{{fc|#333333;}}} }}} }}  
font-size: {{{fs|{{{s|1em}}} }}};  
margin-left:{{{ml|3px}}};  
line-height: {{{lh|calc(100%+2px)}}};
padding: 4px;
{{#if: {{{4|}}} | padding-bottom: 0px; }}
">[[Datei:{{{3|}}} | {{{w|100px}}}]]
{{#if: {{{4|}}}  
|<br><span style="display:inline-block; width: {{{w|100px}}};">{{{4|}}}</span>
|
}}
</span>|&#8291;}}
{{#if: {{{5|}}}  
| {{!}}{{!}} style="padding: 0px; vertical-align: top;" {{!}}<span style="
| {{!}}{{!}} style="padding: 0px; vertical-align: top;" {{!}}<span style="
display: inline-block;  
display: inline-block;  

Version vom 10. März 2019, 16:10 Uhr

[[Datei: | 100px]]⁣⁣⁣⁣⁣⁣⁣⁣⁣


Syntax: {{ Gallery | Bildname.png | Legende | Optional Bildname2.png | Legende2 | ... | Optionen }}

Stelllt bis zu zehn Bilder nebeneinander dar.


Die Legende muss, außer beim letzten Bild, zwingend angegeben werden ggf. als leerer Parameter: {{ Gallery | Bildname1.png | | Bildname2.png }}
Anstelle des ersten Bildes kann ein leerer Parameter übergeben werden, um in der Beschreibung einen längeren Text einzugeben.

Optionale Parameter Wert Default
w=100px Bildbreite 100px
wn=120px individuelle Bildbreite für Bild n= 1 - 10 w
c=Farbe (html-Werte mit ; )
oder fc=Farbe
#333333
fs=Font-Size (Schriftgröße ohne ;)
oder s=Font-Size
1em
lh=Zeilenhöhe (line-height) 100%+2px
ml=Abstand Links (margin-left) zwischen den Bildern 3px
mll=Abstand Links außen (margin-left) erstes Bild 0px

Die Bilder erscheinen rechtsbündig. Nach der Vorlage kann Text eingegeben werden, der links von den Bildern angezeigt wird.