Difference between revisions of "Icon/Documentation"

m
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.|}}
+
{{parameter|2|The link that opens when the icon is clicked.|File:{{{1}}}}}
 +
 
 
==Errors==
 
==Errors==
 
'''No icon was provided. Add an icon parameter.'''
 
'''No icon was provided. Add an icon parameter.'''

Revision as of 16:50, 24 March 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}}}'.

Errors

No icon was provided. Add an icon parameter.