Jump to content

Formula:Fragmentum imaginis

E Vicipaedia
Icon documentationis Documentatio formulae[ostende] [recense] [historiam inspice] [purga]
Hanc paginam, in spatio Formulae nominali, oportet Latine convertere.


{{Fragmentum imaginis}} creates a crop of an image inline for previewing the look and feel of a page, or for linking to full images when a slight crop is preferred in an article, but the full image is more encyclopaedic in general. Where only a small section of the image is used after the crop, it's best to upload the crop as a new file, to avoid sending the extra image data to users.

{{Fragmentum imaginis
	| imago = The Name of the image file, or may accept {{Annotated image}}.
	| amplitudo = The Base Image width in pixels (the image we are cropping on)
	| latitudo excepta = Crop Image Width in pixels
	| altitudo excepta = Crop Image Height in pixels
	| excisio supera = Offset Top in pixels, optional and defaults to 0 when omitted
	| excisio sinistra = Offset Left in pixels, optional and defaults to 0 when omitted
	| positio = 'dextra', 'sinistra', 'media' or 'nulla'. Determines placement of the image on the page
		Defaults to 'dextra' when description is provided (as is default for thumb images)
		When description is blank, location on left (as is default for non-thumbs)
	| descriptio = Description (will render out using thumbnail class)
	| nexus = Name of an article to be linked by clicking on the image (omit unless there is a
		good reason to link to an article instead of the image).
	| alt = The alt text for the image.
	| pagina = The page of the file, if there are multiple pages (such as pdf files).
	| class = The MediaWiki class, if needed. Useful for adding skin-invert for dark mode.
	| nexulus expansionis = The image to be linked by the magnify icon (Use if the imago parameter is set to
		{{Annotated image}} or the nexus parameter leads to something other than the image).
}}

Create a cropped image of a single water drop:

Thumbnail of the original file
Dew on grass Luc Viatour.jpg
  • Offset: |excisio supera= and |excisio sinistra= define the upper left corner of the cropped image
  • Crop: |latitudo excepta= and |altitudo excepta= define the size of the cropped image
  • Base Size: Offset and Crop are calculated as if the original file had the width |amplitudo=
{{Fragmentum imaginis
	| imago = Dew on grass Luc Viatour.jpg
	| amplitudo = 400
	| latitudo excepta = 100
	| altitudo excepta = 100
	| excisio supera = 180
	| excisio sinistra = 60
}}

In addition, the cropped image can have a caption-text and be positioned on the page:

  • |positio= to position (media, dextra, sinistra, nulla)
  • |descriptio= to add a text to the caption

A drop of dew on grass (focus on the drop)
A drop of dew on grass (focus on the drop)
{{Fragmentum imaginis
	| imago = Dew on grass Luc Viatour.jpg
	| amplitudo = 400
	| latitudo excepta = 100
	| altitudo excepta = 100
	| excisio supera = 180
	| excisio sinistra = 60
	| positio = dextra
	| descriptio = A drop of dew on grass (focus on the drop)
}}

Ulteriora si cupis

[fontem recensere]