[查看] [編輯]Template-info.png 模板文檔

This template can be used to add icons as generated by Template:Icon in front of words.

Use this template to standardise the order of elements in bonuses. It also suppresses alt text for improved accessibility.

Parameters[編輯原始碼]

Parameter Description Required Default
1 The icon to use. For a list of icons see Template:Icon. required none
2 Width of the icon optional 24px
3 Quantity to add between the icon and text optional none
4 Name of template to apply to quantity (e.g. {{green}}) optional none
5
or text
Text to display optional same as first parameter

Examples[編輯原始碼]

Wiki text Produces
{{iconify|Militarist}} 軍國主義 Militarist 軍國主義Militarist
{{iconify|Militarist|36px}} 軍國主義 Militarist 軍國主義Militarist
{{iconify|Minerals||+4}} 礦物 Minerals +4 礦物Minerals
{{iconify|Minerals||−4|red}} 礦物 Minerals  −4 礦物Minerals
{{iconify|influence||+1|green|monthly influence}} 影響力 Influence  +1 每月影響力Monthly Influence

List of available icons[編輯原始碼]

: 
主條目:Template:Icon#List of available icons