Template:ShowIconFromFile

From SpecialMedia
Revision as of 17:03, 11 April 2012 by WikiSysop (Talk | contribs) (CC BY-SA, ported from http://species-id.net/openmedia/Template:ShowIconFromFile)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This template prints a file and an icon (16px height). It depends on template: extractFileName

  • {{showIconFromFile | [[File:Example.jpg]]}}
    x16px Example.jpg
  • {{showIconFromFile | [[File:Example.jpg]] | position = after}}
    Example.jpg x16px (before is the default)
  • {{showIconFromFile | [[File:Example.jpg]] | position = after | size = 30px}}
    Example.jpg x30px (16px is the default)