Template:Icon link inline/doc: Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
(params)
(width parameter)
Line 5: Line 5:
; icon
; icon
: Required. Filename of icon to display.
: Required. Filename of icon to display.
; width
: Optional. Icon width, in pixels. Default: 18.
; link
; link
: Required. Page to link to.
: Required. Page to link to.

Revision as of 20:49, 3 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.
width
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