Template:Icon Big
Jump to navigation
Jump to search
Template documentation
Usage
This template creates a 64px icon in the middle of a 10px larger square. The size and background color can be adjusted.
The parameters are:
{{Icon Big | <name> (optional, type = page, default = {{PAGENAME}} ) | size = (optional, type = integer, default = 64) | color = (optional, type = (r,g,b), default = defined on each page or white (265,265,265) ) }}
Examples
1. Using the template as follows on the page wood with no parameters would produce:
{{Icon Big}}
2. Using the template as follows on any page would produce:
{{Icon Big|steel}}
3. Using the icon from a page with no color defined results in a white background:
{{Icon Big|Simple meal}}
4. The background color can be set manually:
{{Icon Big|wood|color=(200,100,100)}}
5. Using a transparent background is also possible:
{{Icon Big|Simple meal|color=}}
6. It is also possible to vary the size of the icon:
{{Icon Big|steel|size=32}}
See also
- Template:Icon Small - for inline icons.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |