Vorlage:Stoned: Unterschied zwischen den Versionen

aus Kamelopedia, der wüsten Enzyklopädie
Zur Navigation springen Zur Suche springen
(source: http://en.wikipedia.org/w/index.php?title=Template:Wide_image&oldid=331861264)
 
K
 
(Eine dazwischenliegende Version desselben Benutzers wird nicht angezeigt)
Zeile 1: Zeile 1:
<includeonly><div class="thumb {{#switch:{{{5}}}
+
<includeonly><div class="thumb tnone" style="clear:both"><div class="thumbinner"><div class="overflowbugx" style="overflow: auto">[[{{{image}}}|{{#if:{{{height|}}}|x{{{height}}}px|{{#expr: {{{fullwidth|1}}} * {{{height|{{{fullheight|1}}}}}} / {{{fullheight|1}}} round 0}}px}}|alt={{{alt|}}}|{{{caption|}}}]]</div>{{#if:{{{caption|}}}|<div class="thumbcaption">{{magnify icon|link=:{{{image}}} }}<!-- -->{{{caption|}}}</div>}}</div></div>{{#if:{{{height|}}}||[[Template:Panorama/noheight| ]]}}</includeonly><noinclude>
|left=<nowiki> </nowiki>tleft" style="
+
 
|right=<nowiki> </nowiki>tright" style="
+
Vorlage für voll breite Bilder
|#default=<nowiki> </nowiki>tnone" style="margin-left: auto; margin-right:auto;
+
 
}} width:{{{4|99%}}}; max-width:{{#expr:{{str sub|{{{2}}}|0|{{#expr:{{str find|{{{2}}}|px}} -1}}}} + 8}}px;">
+
<pre>
<div class="thumbinner"><div class="overflowbugx" style="overflow:auto;">[[File:{{{1}}}|{{{2}}}|alt={{{alt|}}}|{{#switch:{{{3}}}
+
{{Stoned
|thumb
+
|image  = Datei:Dateiname.jpg
|thumbnail
+
|height  = 400
|frame
+
|alt    = text
|border={{{1}}}
+
|caption = text
|#default={{{3|}}}}}]]</div>{{ #if: {{{3|}}}|<div class="thumbcaption">{{Magnify icon|link=File:{{{1}}} }}<!-- -->{{{3}}}</div>|}}
+
}}
</div></div></includeonly>
+
</pre>

Aktuelle Version vom 28. Mai 2011, 21:53 Uhr


Vorlage für voll breite Bilder

{{Stoned
|image   = Datei:Dateiname.jpg
|height  = 400
|alt     = text
|caption = text
}}