Difference between revisions of "Template:Annotated image 4/testcases2"

From blackwiki
Jump to navigation Jump to search
blackwiki>Seppi333
blackwiki>Seppi333
Line 85: Line 85:
 
|image        = Sunflower Flats wildflowers, BLM Elko District Cropped.jpg
 
|image        = Sunflower Flats wildflowers, BLM Elko District Cropped.jpg
 
|image-bg-color= aqua
 
|image-bg-color= aqua
|width        = 722
+
|width        = 716
 
|image-width  = 512
 
|image-width  = 512
 
|height        = 58
 
|height        = 58
 
|image-left    = 100 <!--Positive value shifts the image rightward-->
 
|image-left    = 100 <!--Positive value shifts the image rightward-->
|image-top    = -1
+
|image-top    = -2
 
|align        = center
 
|align        = center
 
|caption      = [[:File:Sunflower Flats wildflowers, BLM Elko District Cropped.jpg]] centered in the image thumbnail frame with 100px of padding on left+right using {{tlx|Annotated image 4}}<br />'''The thumbnail's background color was set to "aqua" in this example.'''
 
|caption      = [[:File:Sunflower Flats wildflowers, BLM Elko District Cropped.jpg]] centered in the image thumbnail frame with 100px of padding on left+right using {{tlx|Annotated image 4}}<br />'''The thumbnail's background color was set to "aqua" in this example.'''
Line 95: Line 95:
 
{{Annotation|360|16|Example annotation:<br />''text''&nbsp;... [[lorem ipsum]]&nbsp;... etc.| text-align=center |font-size=16| color=white}}
 
{{Annotation|360|16|Example annotation:<br />''text''&nbsp;... [[lorem ipsum]]&nbsp;... etc.| text-align=center |font-size=16| color=white}}
 
{{Annotation|200|36|Test<br />annotation<br />text| text-align=center | font-size=12 | background-color=black | color=white}}
 
{{Annotation|200|36|Test<br />annotation<br />text| text-align=center | font-size=12 | background-color=black | color=white}}
{{Annotation|5|5|This area isn't<br />part of the<br />image file.|font-size=13}}
+
{{Annotation|15|8|This area isn't<br />part of the<br />image file.|font-size=13}}
{{Annotation|620|5|This area isn't<br />part of the<br />image file.|font-size=13}}
+
{{Annotation|615|8|This area isn't<br />part of the<br />image file.|font-size=13}}
 
}}
 
}}
  
Line 103: Line 103:
 
|image        = Sunflower Flats wildflowers, BLM Elko District Cropped.jpg
 
|image        = Sunflower Flats wildflowers, BLM Elko District Cropped.jpg
 
|image-bg-color= aqua
 
|image-bg-color= aqua
|width        = 722
+
|width        = 716
 
|image-width  = 512
 
|image-width  = 512
 
|height        = 58
 
|height        = 58
 
|image-left    = 100 <!--Positive value shifts the image rightward-->
 
|image-left    = 100 <!--Positive value shifts the image rightward-->
|image-top    = -1
+
|image-top    = -2
 
|align        = center
 
|align        = center
 
|caption      = [[:File:Sunflower Flats wildflowers, BLM Elko District Cropped.jpg]] centered in the image thumbnail frame with 100px of padding on left+right using {{tlx|Annotated image 4/sandbox}}<br />'''The thumbnail's background color was set to "aqua" in this example.'''
 
|caption      = [[:File:Sunflower Flats wildflowers, BLM Elko District Cropped.jpg]] centered in the image thumbnail frame with 100px of padding on left+right using {{tlx|Annotated image 4/sandbox}}<br />'''The thumbnail's background color was set to "aqua" in this example.'''
Line 113: Line 113:
 
{{Annotation|360|16|Example annotation:<br />''text''&nbsp;... [[lorem ipsum]]&nbsp;... etc.| text-align=center |font-size=16| color=white}}
 
{{Annotation|360|16|Example annotation:<br />''text''&nbsp;... [[lorem ipsum]]&nbsp;... etc.| text-align=center |font-size=16| color=white}}
 
{{Annotation|200|36|Test<br />annotation<br />text| text-align=center | font-size=12 | background-color=black | color=white}}
 
{{Annotation|200|36|Test<br />annotation<br />text| text-align=center | font-size=12 | background-color=black | color=white}}
{{Annotation|5|5|This area isn't<br />part of the<br />image file.|font-size=13}}
+
{{Annotation|15|8|This area isn't<br />part of the<br />image file.|font-size=13}}
{{Annotation|620|5|This area isn't<br />part of the<br />image file.|font-size=13}}
+
{{Annotation|615|8|This area isn't<br />part of the<br />image file.|font-size=13}}
 
}}
 
}}

Revision as of 00:08, 4 June 2018

Testcases

Cropped and enlarged image

AI4

Header test
Example annotation
lorem ipsum... etc.
Annotation
test
Cropped and enlarged image (File:Monalisa.svg) using {{Annotated image 4}}

AI4/sandbox

Header test
Example annotation
lorem ipsum... etc.
Annotation
test
Cropped and enlarged image (File:Monalisa.svg) using {{Annotated image 4/sandbox}}

Image which is shifted outside the thumbnail frame (rightward+upward)

AI4

Header test
Example annotation:
lorem ipsum ... etc.
Annotation
test
File:Amph Pathway.png shifted right+up using {{Annotated image 4}}
The thumbnail's background color was set to "aqua" in this example.

AI4/sandbox

Header test
Example annotation:
lorem ipsum ... etc.
Annotation
test
File:Amph Pathway.png shifted right+up using {{Annotated image 4/sandbox}}
The thumbnail's background color was set to "aqua" in this example.

Horizontally expanded image (i.e., thumbnail frame is wider than the image)

AI4

Example annotation:
text ... lorem ipsum ... etc.
Test
annotation
text
This area isn't
part of the
image file.
This area isn't
part of the
image file.
File:Sunflower Flats wildflowers, BLM Elko District Cropped.jpg centered in the image thumbnail frame with 100px of padding on left+right using {{Annotated image 4}}
The thumbnail's background color was set to "aqua" in this example.

AI4/sandbox

Example annotation:
text ... lorem ipsum ... etc.
Test
annotation
text
This area isn't
part of the
image file.
This area isn't
part of the
image file.
File:Sunflower Flats wildflowers, BLM Elko District Cropped.jpg centered in the image thumbnail frame with 100px of padding on left+right using {{Annotated image 4/sandbox}}
The thumbnail's background color was set to "aqua" in this example.