Jump to content

Template:Image alt

From The Aetherium Expanse Wiki

Optional Template:Image alt helper. Infobox templates use inline File markup with a separate {{#if}} alt block; do not nest alt= before |class= or MediaWiki misparses the pipe.

Parameters:

  • file / 1 — image filename (without the File: prefix)
  • alt / 2 — alt text for screen readers
  • class — CSS class on the img element (default: infobox-image)