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...")
 
 
(2 intermediate revisions by 2 users not shown)
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 ===
Line 20: Line 20:
== List of available icons ==
== List of available icons ==
: ''Main article: [[Template:Icon#List of available icons]]''
: ''Main article: [[Template:Icon#List of available icons]]''
<includeonly>[[Category:Template]]</includeonly>

Latest revision as of 10:40, 29 December 2021

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