[查看] [编辑]Template-info.png 模板文档

[模板https://www.parawikis.com/wiki/Template:Template_doc_page_transcluded?action=raw读取失败:HTTP 500] 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}}
Cannot access the database: :real_connect(): (08004/1040): Too many connections
 
Cannot access the database: :real_connect(): (08004/1040): Too many connections
{{iconify|Militarist|36px}}
Cannot access the database: :real_connect(): (08004/1040): Too many connections
 
Cannot access the database: :real_connect(): (08004/1040): Too many connections
{{iconify|Minerals||+4}}
Cannot access the database: :real_connect(): (08004/1040): Too many connections
 +4 
Cannot access the database: :real_connect(): (08004/1040): Too many connections
{{iconify|Minerals||−4|red}}
Cannot access the database: :real_connect(): (08004/1040): Too many connections
  −4 矿物Minerals
{{iconify|influence||+1|green|monthly influence}} 影响力 Influence  +1 每月影响力Monthly Influence

List of available icons[编辑源代码]

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