Difference between revisions of "Template:Annotated image 4/testcases2"
Jump to navigation
Jump to search
blackwiki>Seppi333 (→Horizontally expanded image (i.e., thumbnail frame is wider than the image): identical formatting tweaks to both images) |
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 = | + | |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 = - | + | |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'' ... [[lorem ipsum]] ... etc.| text-align=center |font-size=16| color=white}} | {{Annotation|360|16|Example annotation:<br />''text'' ... [[lorem ipsum]] ... 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| | + | {{Annotation|15|8|This area isn't<br />part of the<br />image file.|font-size=13}} |
| − | {{Annotation| | + | {{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 = | + | |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 = - | + | |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'' ... [[lorem ipsum]] ... etc.| text-align=center |font-size=16| color=white}} | {{Annotation|360|16|Example annotation:<br />''text'' ... [[lorem ipsum]] ... 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| | + | {{Annotation|15|8|This area isn't<br />part of the<br />image file.|font-size=13}} |
| − | {{Annotation| | + | {{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
| 40x40px | This page is for complex testcases involving cropped+enlarged images, images with a thumbnail frame wider than the image, and images that are partially shifted outside the thumbnail frame. Testcase pages: Template:Annotated image 4/testcases
|
Contents
Testcases
Cropped and enlarged image
AI4
Header test
Cropped and enlarged image (File:Monalisa.svg) using
{{Annotated image 4}} |
AI4/sandbox
Header 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
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
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
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
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. |