Template:Iconify/doc

< Template:Iconify
Revision as of 18:39, 15 August 2020 by Hstar (talk | contribs) (merge from offical wiki)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
这是Template:Iconify的模板文档
当直接浏览时,使用变量可能会失效,请不要使用硬编码来代替页面名或地址。

This template can be used for embedding icons in the text. It provides the icon followed by the corresponding link.

Parameters

Parameter Description Status Default
1 identifier for the icon required empty
2 width of the icon optional x22px
file alternative file optional {{{1}}}
link alternative link optional {{{1}}}

Usage

Usage is based on common naming convention that icons will be directly named after what they represent.

For instance:

Has trait {{iconify|Panzer Leader}}

Has trait Panzer LeaderPanzer Leader