Template:Iconbox

蓝窠六郎讨论 | 贡献2019年4月19日 (五) 11:32的版本 (创建页面,内容为“<includeonly><div class="tleft" style="margin:0px; margin-right:5px; clear:none">File:{{#if:{{{image|}}}|{{{image}}}|{{{1|Achievement name}}}.{{{extension|png}}}}}…”)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
[阅读] [编辑]Template-info.png 模板文档

Usage

One item in a list of icons (achievements, disasters, etc.).

Parameter Description Status
1 (first unnamed parameter) Name of item required
2 (second unnamed parameter) In-game description of item required
3 (third unnamed parameter) set size of image in "px" optional (defaults to image size)
image Name of image file (without File:) optional (defaults to using the first parameter)
extension Set to the file extension of the achievement image. optional (defaults to .png, ignored if image is provided)
link Set to "on" to link to an article with the same name optional

Example

{{Iconbox|Cincinnatus|Appoint a dictator as a Republic and have him step down.}}

{{{3}}}
Cincinnatus
Appoint a dictator as a Republic and have him step down.

{{Iconbox|Tribal Concord|Change a law in a Tribal country.|link=on|64px}}

Tribal Concord icon
Tribal Concord
Change a law in a Tribal country.