Template:CSS image crop: Difference between revisions

From Heroes 3 wiki
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>
{{documentation}}
<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>

Latest revision as of 02:57, 21 December 2023

[[File:Wiki.png]]

{{CSS image crop|Image = Wiki.png
|bSize=101
|cWidth=50
|cHeight=50
|oTop=25
|oLeft=25
}}
Wiki.png

Documentation[edit | hide | hide all]