小 (文本替换 - 替换“{{template doc page viewed directly}}</noinclude>”为“{{template doc page viewed directly}}</noinclude>[[en:{{FULLPAGENAME}}]]”) |
小 (→Example) |
||
(未显示同一用户的3个中间版本) | |||
第14行: | 第14行: | ||
|- | |- | ||
| 2 (second unnamed parameter) || In-game/Steam description of achievement || '''required''' | | 2 (second unnamed parameter) || In-game/Steam description of achievement || '''required''' | ||
|- | |||
| en || Steam成就英文名,用于对照查找,但是它不一定和图片名称完全一样。 || '''optional''' | |||
|- | |- | ||
| link || Set to "on" to link to an article with the same name || '''optional''' | | link || Set to "on" to link to an article with the same name || '''optional''' | ||
第20行: | 第22行: | ||
|- | |- | ||
| image || Name of image file (without File:) || '''optional''' (defaults to using the first parameter) | | image || Name of image file (without File:) || '''optional''' (defaults to using the first parameter) | ||
|} | |} | ||
第29行: | 第32行: | ||
<code><nowiki>{{Iconbox| | <code><nowiki>{{Iconbox| 奸恶相向何时了|Have only two parents, grandparents and great grandparents, counting absent ancestors as individual characters.|en=A Perfect Circle|image=A perfect circl achievement.png|link=on}}</nowiki></code> | ||
{{Iconbox| | {{Iconbox| 奸恶相向何时了|Have only two parents, grandparents and great grandparents, counting absent ancestors as individual characters.|en=A Perfect Circle|image=A perfect circle achievement.png|link=on}} | ||
<noinclude> | <noinclude> |
2023年4月21日 (五) 15:29的最新版本
Usage[编辑源代码]
One item in a list of icons (achievements, disasters, etc.).
Parameter | Description | Status |
---|---|---|
1 (first unnamed parameter) | Name of achievement | required |
2 (second unnamed parameter) | In-game/Steam description of achievement | required |
en | Steam成就英文名,用于对照查找,但是它不一定和图片名称完全一样。 | optional |
link | Set to "on" to link to an article with the same name | optional |
extension | Set to the file extension of the achievement image. | optional (defaults to .png, ignored if image is provided) |
image | Name of image file (without File:) | optional (defaults to using the first parameter) |
Example[编辑源代码]
{{Iconbox|A House of My Own|Create a Cadet Branch of your Dynasty.|image=A house of my own achievement.png}}
{{Iconbox|奸恶相向何时了|Have only two parents, grandparents and great grandparents, counting absent ancestors as individual characters.|en=A Perfect Circle|image=A perfect circl achievement.png|link=on}}