Difference between revisions of "Icon/Documentation"

(Created page with "==Description== Adds an inline icon. ==Usage== {{T|Icon|icon name}} ==Errors== '''No icon was provided. Add an icon parameter.'''")
 
 
(5 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
Adds an inline icon.
 
Adds an inline icon.
 
==Usage==
 
==Usage==
{{T|Icon|icon name}}
+
{{T|Icon|icon name|link|size}}
 +
 
 +
==Parameters==
 +
{{parameter|1|The icon file name.}}
 +
{{parameter|2|The link that opens when the icon is clicked.|}}
 +
{{parameter|3|The size of the icon, in pixels.|20}}
 +
 
 
==Errors==
 
==Errors==
 
'''No icon was provided. Add an icon parameter.'''
 
'''No icon was provided. Add an icon parameter.'''

Latest revision as of 16:20, 24 December 2023

Description[edit]

Adds an inline icon.

Usage[edit]

{{Icon|<icon name>|<link>|<size>}}

Parameters[edit]

Arrow.png1: The icon file name.
Required.
Arrow.png2: The link that opens when the icon is clicked.
Optional.
Arrow.png3: The size of the icon, in pixels.
Optional. Defaults to '20'.

Errors[edit]

No icon was provided. Add an icon parameter.