internal package Foswiki::Macros::ICON

See PublishedAPI for packages intended to be used by Plugin and Contrib authors, or browse all packages.
See also Developing plugins, Developer's Bible, Technical Overview

ObjectMethod ICON($params) → $html

ICONURLPATH macro implementation

  • filename or icon name
If the main parameter refers to a non-existent icon, and default is not given, or also refers to a non-existent icon, then the else icon (else) will be used. The HTML alt attribute for the image will be taken from the alt parameter. If alt is not given, the main parameter will be used.

Topic revision: r1 - 19 Apr 2011, ProjectContributor
 
This site is powered by FoswikiCopyright © CC-BY-SA by the contributing authors. All material on this collaboration platform is copyrighted under CC-BY-SA by the contributing authors unless otherwise noted.
Ideas, requests, problems regarding Foswiki? Send feedback