Template:Iconify/doc

< Template:Iconify
自由之民讨论 | 贡献2020年9月8日 (二) 14:53的版本 (文本替换 - 替换“<small>This page was moved from [[paradoxwikis:ck3:”为“[[en:”)
这是 Template:Iconify模板文档
当直接浏览时,使用变量可能会失效,请不要使用硬编码来代替页面名或地址。

This template can be used for to add icons as generated by Template:Icon in front of words. The icons serve as a link to the concept they represent.

Parameters

1
The first parameter is the word to iconify. It has no default value and is always required.
2
The second parameter is the width of the icon. It is optional. The default value is 24px.

Usage

Syntax
{{iconify|word}}} or {{iconify|word|width}}
Insert the relevant identifier in the above syntax. The available identifier can be found in the table linked below.
Example
{{iconify|gold}}} will generate  gold.

List of available icons

主条目:Template:Icon#List of available icons. Its edit history can be viewed at Template:Iconify/doc/edithistory