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 - 21 Nov 2014, ProjectContributor
This site is powered by FoswikiCopyright &© by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback