Template:Icon link inline/doc: Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
(width parameter)
(→‎Parameters: changed width parameter to size, will use width for something else)
Line 5: Line 5:
; icon
; icon
: Required. Filename of icon to display.
: Required. Filename of icon to display.
; width
; size
: Optional. Icon width, in pixels. Default: 18.
: Optional. Icon width, in pixels. Default: 18.
; link
; link

Revision as of 16:17, 6 April 2022

This is a documentation subpage for Template:Icon link inline (see that page for the template itself).
It contains usage information, categories and other content that is not part of the original template page.

Displays an inline icon and text link. The icon and text are combined as a single tap target.

Parameters

icon
Required. Filename of icon to display.
size
Optional. Icon width, in pixels. Default: 18.
link
Required. Page to link to.
text
Optional. Text to display. Default: Same as link parameter.

Example

{{icon link inline
| icon = IO Accurate Defense Debuff.png
| link = :Category:Sets for improving Accurate Defense Debuff
| text = Accurate Defense Debuff
}}

Accurate Defense Debuff