|
|
第1行: |
第1行: |
| <includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude>
| |
| <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
| |
| 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:
| |
| :<code><nowiki>{{iconify|word}}</nowiki>}</code> or <code><nowiki>{{iconify|word|width}}</nowiki></code>
| |
|
| |
| :Insert the relevant identifier in the above syntax. The available identifier can be found in the table linked below.
| |
| ;Example:
| |
| :<code><nowiki>{{iconify|gold}}</nowiki>}</code> will generate {{iconify|gold}}.
| |
|
| |
| == List of available icons ==
| |
| {{main|Template:Icon#List of available icons}}<noinclude>
| |
|
| |
| [[en:Template:Iconify/doc]]. Its edit history can be viewed at [[Template:Iconify/doc/edithistory]]</small></noinclude>
| |