Difference between revisions of "Template:ShowIconFromFile"

From SpecialMedia
Jump to: navigation, search
(CC BY-SA, ported from http://species-id.net/openmedia/Template:ShowIconFromFile)
 
(No difference)

Latest revision as of 18:03, 11 April 2012

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)