Difference between revisions of "Icon/Documentation"

 
Line 2: Line 2:
 
Adds an inline icon.
 
Adds an inline icon.
 
==Usage==
 
==Usage==
{{T|Icon|icon name|link}}
+
{{T|Icon|icon name|link|size}}
 +
 
 
==Parameters==
 
==Parameters==
 
{{parameter|1|The icon file name.}}
 
{{parameter|1|The icon file name.}}

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.