(merge from offical wiki) |
小 (文本替换 - 替换“{{template doc page viewed directly}}</noinclude>”为“{{template doc page viewed directly}}</noinclude>[[en:{{FULLPAGENAME}}]]”) |
||
第1行: | 第1行: | ||
<includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude> | <includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude>[[en:{{FULLPAGENAME}}]] | ||
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> | <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> | ||
This template can be used to add icons as generated by [[Template:Icon]] in front of words. | This template can be used to add icons as generated by [[Template:Icon]] in front of words. |
2022年3月8日 (二) 21:06的最新版本
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[编辑源代码]
List of available icons[编辑源代码]
: