Difference between revisions of "Template:Iconify/doc"

From Wildermyth Wiki
(Created page with "<includeonly>: ''This documentation is transcluded from Template:Iconify/doc''</includeonly><!-- --><noinclude><div class="messagebox" style="padding-left:1ex;">'''This is...")
 
m (, or 24px, depending on the icon)
Line 9: Line 9:
; ''1'' : The first parameter is the word to iconify. It has no default value and is always required.
; ''1'' : The first parameter is the word to iconify. It has no default value and is always required.


; ''2'' : The second parameter is the width of the icon. It is optional. The default width is 16px.
; ''2'' : The second parameter is the width of the icon. It is optional. The default width is 16px, or 24px, depending on the icon.


=== Syntax ===
=== Syntax ===

Revision as of 22:01, 26 November 2019

This is a documentation subpage for Template:Iconify.

Usage

This template can be used for to add icons as generated by Template:Icon in front of words. The icons serve as a link to the concept they represent. The template uses the following parameters:

1
The first parameter is the word to iconify. It has no default value and is always required.
2
The second parameter is the width of the icon. It is optional. The default width is 16px, or 24px, depending on the icon.

Syntax

{{Iconify|word}}} or {{Iconify|word|width}}

Examples

{{Iconify|single action}} will generate UI DiamondFilled.png single action.

List of available icons

Main article: Template:Icon#List of available icons