Template:CSS image crop/testcases
Jump to navigation
Jump to search
| This is the template test cases page for the sandbox of Template:CSS image crop. Script error: No such module "Purge". to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki, see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins with these links: |
Contents
Location
Left
{{CSS image crop/sandbox
|Image = Dew on grass Luc Viatour.jpg
|bSize = 400
|cWidth = 100
|cHeight = 100
|oTop = 180
|oLeft = 60
|Location = left
|Description = A drop of dew on grass (focus on the drop)
}}
Right
{{CSS image crop/sandbox
|Image = Dew on grass Luc Viatour.jpg
|bSize = 400
|cWidth = 100
|cHeight = 100
|oTop = 180
|oLeft = 60
|Location = right
|Description = A drop of dew on grass (focus on the drop)
}}
Center
{{CSS image crop/sandbox
|Image = Dew on grass Luc Viatour.jpg
|bSize = 400
|cWidth = 100
|cHeight = 100
|oTop = 180
|oLeft = 60
|Location = center
|Description = A drop of dew on grass (focus on the drop)
}}
None
{{CSS image crop/sandbox
|Image = Dew on grass Luc Viatour.jpg
|bSize = 400
|cWidth = 100
|cHeight = 100
|oTop = 180
|oLeft = 60
|Location = none
|Description = A drop of dew on grass (focus on the drop)
}}
(No location)
{{CSS image crop/sandbox
|Image = Dew on grass Luc Viatour.jpg
|bSize = 400
|cWidth = 100
|cHeight = 100
|oTop = 180
|oLeft = 60
|Description = A drop of dew on grass (focus on the drop)
}}
No description
Left
{{CSS image crop/sandbox
|Image = Dew on grass Luc Viatour.jpg
|bSize = 400
|cWidth = 100
|cHeight = 100
|oTop = 180
|oLeft = 60
|Location = left
}}
Right
{{CSS image crop/sandbox
|Image = Dew on grass Luc Viatour.jpg
|bSize = 400
|cWidth = 100
|cHeight = 100
|oTop = 180
|oLeft = 60
|Location = right
}}
Center
{{CSS image crop/sandbox
|Image = Dew on grass Luc Viatour.jpg
|bSize = 400
|cWidth = 100
|cHeight = 100
|oTop = 180
|oLeft = 60
|Location = center
}}
None
{{CSS image crop/sandbox
|Image = Dew on grass Luc Viatour.jpg
|bSize = 400
|cWidth = 100
|cHeight = 100
|oTop = 180
|oLeft = 60
|Location = none
}}
(No location)
{{CSS image crop/sandbox
|Image = Dew on grass Luc Viatour.jpg
|bSize = 400
|cWidth = 100
|cHeight = 100
|oTop = 180
|oLeft = 60
}}
Annotated Image
{{CSS image crop/sandbox
|Image = Dew on grass Luc Viatour.jpg
|ImageDiv = {{Annotated image
| image=Dew on grass Luc Viatour.jpg
| float=none
| caption=Annotated image caption
| image-width=400
| annotations={{Annotation|110|230|X|background-color=white}}
}}
|bSize = 400
|cWidth = 100
|cHeight = 100
|oTop = 180
|oLeft = 60
|Location = none
|Description = Ideally X should be close enough to the centre
}}
Empty parameters
{{CSS image crop/sandbox
|Image = Dew on grass Luc Viatour.jpg
|bSize = 300
|cWidth = 200
|cHeight = 200
|Location = none
|Description = No offset parameters
}}