Template:Icon/doc

From Plague Inc. Wiki
Jump to navigation Jump to search

Examples:

  • Small Cure Icon:
    Info Icon - Cure Flask.png
    {{Icon|1=Info Icon - Cure Flask.png|2=20px}}
  • DNA Cost Symbol:
    Info Icon - DNA Points.png
    {{Icon|1=Info Icon - DNA Points.png|2=18px}}
  • Mutation Icon:
    Info Icon - Mutation.png
    {{Icon|1=Info Icon - Mutation.png|2=20px}}
  • Biohazard Icon:
    Info Icon - Biohazard.png
    {{Icon|1=Info Icon - Biohazard.png|2=20px}}
  • Special Stats Symbol:
    Info Icon - Graph.png
    {{Icon|1=Info Icon - Graph.png|2=20x20px}}

Template used to display small icons in infoboxes.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
File Name with Extension1

Image File Name with its file extension (For example .png) (It is not necessary to put File: or Image: at the beginning of this value)

Stringrequired
Icon Size2

The size to be covered by the icon, enter the number here and add px (Abbreviation for Pixels in CSS) at the end.

Example
18px
Stringoptional
Icon's HeightHeight

no description

Stringoptional