Difference between revisions of "Icon/Documentation"

Line 5: Line 5:
 
==Parameters==
 
==Parameters==
 
{{parameter|1|The icon file name.}}
 
{{parameter|1|The icon file name.}}
{{parameter|2|The link that opens when the icon is clicked.|File:{{{1}}}}}
+
{{parameter|2|The link that opens when the icon is clicked.|}}
 
{{parameter|3|The size of the icon, in pixels.|20}}
 
{{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.'''

Revision as of 19:39, 30 August 2023

Description

Adds an inline icon.

Usage

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

Parameters

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

No icon was provided. Add an icon parameter.