Vorlage:CSS image crop: Unterschied zwischen den Versionen
Aus kommunalflaggen.eu
| Zeile 1: | Zeile 1: | ||
| − | <includeonly><div class="{{# | + | <includeonly><div class="{{#ifeq: {{{Location|}}} | center |center"><div class="|{{#ifeq: {{{Description|}}}|||thumb}}}} {{#switch: {{{Location|}}} | right = t | left = t | none = t | = {{#ifeq: {{{Description|}}}|||tright}}}}{{{Location|}}}"> |
| − | + | {{#ifeq: {{{Description|}}}|||<div style="width: {{{cWidth}}}px;" class="thumbinner">}} | |
| − | + | <div style="width:{{{cWidth}}}px;height:{{{cHeight}}}px;overflow:hidden;"> | |
| − | + | <div style="position:relative;top:-{{{oTop}}}px;left:-{{{oLeft}}}px;width:{{{bSize}}}"> | |
| − | + | [[Datei:{{{Image}}}|{{{bSize}}}px|class=noresize]] | |
| − | + | </div>{{#ifeq: {{{Description|}}}|||</div><div class="thumbcaption">{{{Description}}}</div>}} | |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | {{# | + | |
| − | <div style="width: {{{cWidth}}}px; height: {{{cHeight}}}px; overflow: hidden;"> | + | |
| − | <div style="position: relative; top: -{{{oTop}}}px; left: -{{{oLeft}}}px; width: {{{bSize}}} | + | |
| − | + | ||
| − | + | ||
| − | {{# | + | |
| − | <div class="thumbcaption"> | + | |
| − | {{{Description}}} | + | |
| − | </div>}} | + | |
</div> | </div> | ||
| − | </div>{{#ifeq: | + | </div>{{#ifeq: {{{Location|}}} | center |</div>|}}</includeonly><noinclude> |
| − | + | ||
</noinclude> | </noinclude> | ||
Version vom 4. Februar 2016, 16:38 Uhr