Template:Icon info

From TDWG Terms Wiki
Jump to: navigation, search
[edit] [purge] Template-info.svg Template documentation

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. Or using the template parameters in an elaborated way

  • to get the title linking to a category
  • to increase the size of the logo
{{Icon info| title = [[:{{ns:category}}:Help|Help]] | height =  35px | Help}}

Specifying {{Icon info | … | format = … }} you can set a different format. 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 }}

Parameters

|1= |2= |3= |4= |5= |6= |7= |8= |9= |10= 
a logo type (see template: Logo) or a Wiki file, e.g. “|1=File:My great icon logo.jpg”. Note that thees parameters must not be numbered an can also be used as unnumbered template parameters.
|title= 
a different title above the logo(s) replacing the default (default: Category)
|height= 
a different logo height (default: 22px)
|format= 
additional CSS style (default is float:right; text-align:right; max-width:50px;)

See also

Template: Logo