Template:Icon info/doc

From Species-ID
Jump to: navigation, search
This is a documentation subpage for Template:Icon info (see that page for the template itself).
It contains usage information, categories and other content that is not part of the original template page.

Usage

This template shall give some intuitive information using icons. By default it uses icons types defined in template :Logo:

Category
Help-browser color.png
{{Icon info | Help}}

…and the icon gets the title category by default. Specifying {{Icon info | … | format = … }} you can set a different format. Default is: float:right; text-align:right; max-width:50px;. In the same way you can alter the title with title = Flora . Up to 10 icons can be displayed by separating them with “|”:

Flora
Mixed forestGrass likeLeaf tree
{{Icon info | title = Flora | mixed forest | grass-like | broadleaf forest}}

Icon's height can be altered by “height = …px“:

Grass
Grass like
{{Icon info | title = Grass | height = 35px | grass }}

See also