Template:CSS image crop/testcases

From blackwiki
Jump to navigation Jump to search

Location

Left

A drop of dew on grass (focus on the drop)
A drop of dew on grass (focus on the drop)
{{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

A drop of dew on grass (focus on the drop)
A drop of dew on grass (focus on the drop)
{{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

A drop of dew on grass (focus on the drop)
A drop of dew on grass (focus on the drop)
{{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

A drop of dew on grass (focus on the drop)
A drop of dew on grass (focus on the drop)
{{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)

A drop of dew on grass (focus on the drop)
A drop of dew on grass (focus on the drop)
{{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

Dew on grass Luc Viatour.jpg
{{CSS image crop/sandbox
|Image = Dew on grass Luc Viatour.jpg
|bSize = 400
|cWidth = 100
|cHeight = 100
|oTop = 180
|oLeft = 60
|Location = left
}}

Right

Dew on grass Luc Viatour.jpg
{{CSS image crop/sandbox
|Image = Dew on grass Luc Viatour.jpg
|bSize = 400
|cWidth = 100
|cHeight = 100
|oTop = 180
|oLeft = 60
|Location = right
}}

Center

Dew on grass Luc Viatour.jpg
{{CSS image crop/sandbox
|Image = Dew on grass Luc Viatour.jpg
|bSize = 400
|cWidth = 100
|cHeight = 100
|oTop = 180
|oLeft = 60
|Location = center
}}

None

Dew on grass Luc Viatour.jpg
{{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)

Dew on grass Luc Viatour.jpg
{{CSS image crop/sandbox
|Image = Dew on grass Luc Viatour.jpg
|bSize = 400
|cWidth = 100
|cHeight = 100
|oTop = 180
|oLeft = 60
}}

Annotated Image

X
Annotated image caption
Ideally X should be close enough to the centre
{{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

No offset parameters
No offset parameters
{{CSS image crop/sandbox
|Image = Dew on grass Luc Viatour.jpg
|bSize = 300
|cWidth = 200
|cHeight = 200
|Location = none
|Description = No offset parameters
}}