Template:Annotated Image/doc: Difference between revisions
Appearance
Content deleted Content added
Created page with "{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE --> This template allows the addition of explanatory notes to images in the form of actual text (which can also contain links), which is usually more legible than text built into the image – especially if the image is reduced to thumbnail size. Other uses include cropping an image to exclude unimportant parts and perhaps enlarge important parts, and internationalisation, as the annota..." |
No edit summary |
||
| Line 112: | Line 112: | ||
====Adding explanatory notes==== |
====Adding explanatory notes==== |
||
See [[Template:Annotated |
See [[Template:Annotated Image/doc/Samples]]. |
||
====Cropping==== |
====Cropping==== |
||
| Line 122: | Line 122: | ||
<syntaxhighlight lang="wikitext" style="overflow:auto;"> |
<syntaxhighlight lang="wikitext" style="overflow:auto;"> |
||
{{Annotated |
{{Annotated Image |
||
| image = Mona Lisa color restoration2.jpg |
| image = Mona Lisa color restoration2.jpg |
||
| image-width = 1000 <!-- This number does not affect the image's display – it simply serves to provide a [[lowest common denominator|denominator]] for the numbers in the following 4 lines, resulting in four [[fraction]]s. It has no connection with the actual number of pixels in the image. --> |
| image-width = 1000 <!-- This number does not affect the image's display – it simply serves to provide a [[lowest common denominator|denominator]] for the numbers in the following 4 lines, resulting in four [[fraction]]s. It has no connection with the actual number of pixels in the image. --> |
||
| Line 136: | Line 136: | ||
The result is a 250 pixels x 250 pixels area from the 1000 pixels-wide image (remember, the actual width of the image in Commons is irrelevant). Masking has been applied to 400 pixels at the top, 425 pixels at the left side, 125 pixels at the bottom and 125 pixels at the right side. |
The result is a 250 pixels x 250 pixels area from the 1000 pixels-wide image (remember, the actual width of the image in Commons is irrelevant). Masking has been applied to 400 pixels at the top, 425 pixels at the left side, 125 pixels at the bottom and 125 pixels at the right side. |
||
<div style="clear: all;"></div> |
<div style="clear: all;"></div> |
||
{{Annotated |
{{Annotated Image |
||
| image = Mona Lisa color restoration2.jpg |
| image = Mona Lisa color restoration2.jpg |
||
| image-width = 1000 |
| image-width = 1000 |
||
| Line 153: | Line 153: | ||
===Subpages (templates based on this template)=== |
===Subpages (templates based on this template)=== |
||
This list is automatically generated and updated. Redirects are shown in ''italics''. |
This list is automatically generated and updated. Redirects are shown in ''italics''. |
||
{{Special:Prefixindex/Template:Annotated |
{{Special:Prefixindex/Template:Annotated Image/}} |
||
===See also=== |
===See also=== |
||