Template

Icon

From Joomla! Documentation

Revision as of 20:20, 11 April 2015 by Tom Hutchison (talk | contribs) (oops needs to be icon)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

[view] [edit] [history]

Template-info.pngTemplate documentation

This template allows for the easy insertion of Font-Awesome icons into pages. The current version available and install on JDOCs is v4.3.

Functions/Features[edit]

Easy to add a font-awesome icon, control its size and color.

{{icon|[fontname]|[size]|[color]}}

{{icon|joomla|3x|#5290C8}} becomes...

...a Joomla's blue color icon.

No parameters defaults to:


Parameters[edit]

Parameter Parameter description req./opt.
{{{1}}} font-name {{icon|pencil}} yeilds pencil optional
{{{2}}} size {{icon|pencil||#aaa}} yeilds smallest optional
{{{3}}} color {{icon|pencil||#5290C8}} yeilds blue optional

Known Issues[edit]

Include notes about ...


See also[edit]

Provide links to ...


Stylesheet[edit]

Provide CSS selectors ... for [[MediaWiki::joomla.css]] (or [[MediaWiki::common.css]])

some.class