Template:CSS image crop: Difference between revisions
Jump to navigation
Jump to search
(Testing crop template) |
No edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 22: | Line 22: | ||
</div>{{#switch:{{{Location|{{{Align|}}}}}} | </div>{{#switch:{{{Location|{{{Align|}}}}}} | ||
| center | centre = </div>}}{{#ifeq:1|{{ifnumber|{{{cWidth|}}}{{{cHeight|}}}{{{oTop|}}}{{{oLeft|}}}{{{bSize|}}}}}||[[Category:CSS image crop using invalid parameters]]}}}}<noinclude> | | center | centre = </div>}}{{#ifeq:1|{{ifnumber|{{{cWidth|}}}{{{cHeight|}}}{{{oTop|}}}{{{oLeft|}}}{{{bSize|}}}}}||[[Category:CSS image crop using invalid parameters]]}}}}<noinclude> | ||
{{ | <pre>[[File:Wiki.png]]</pre> | ||
</noinclude> | [[File:Wiki.png]] | ||
<pre>{{CSS image crop|Image = Wiki.png | |||
|bSize=101 | |||
|cWidth=50 | |||
|cHeight=50 | |||
|oTop=25 | |||
|oLeft=25 | |||
}}</pre> | |||
{{CSS image crop|Image = Wiki.png | |||
|bSize=101 | |||
|cWidth=50 | |||
|cHeight=50 | |||
|oTop=25 | |||
|oLeft=25 | |||
}} | |||
==Documentation== | |||
* https://en.wikipedia.org/wiki/Template:CSS_image_crop | |||
[[Category:Style templates]]</noinclude> |