Template:CSS image crop: Difference between revisions
Jump to navigation
Jump to search
(add category, remove missing template) |
No edit summary |
||
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> | |||
[[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 | * https://en.wikipedia.org/wiki/Template:CSS_image_crop | ||
[[Category:Style templates]]</noinclude> | [[Category:Style templates]]</noinclude> |