Difference between revisions of "Icon/Documentation"

Line 6: Line 6:
 
{{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.|File:{{{1}}}}}
 +
{{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:14, 19 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. Defaults to 'File:{{{1}}}'.
Arrow.png3: The size of the icon, in pixels.
Optional. Defaults to '20'.

Errors

No icon was provided. Add an icon parameter.