Template:Iconbox/doc:修订间差异

(分类)
(en)
第33行: 第33行:


{{Iconbox|Tribal Concord|Change a law in a Tribal country.|link=on|64px}}
{{Iconbox|Tribal Concord|Change a law in a Tribal country.|link=on|64px}}
<noinclude>[[en:{{FULLPAGENAME}}]]</noinclude>

2019年5月1日 (三) 14:28的版本

这是Template:Iconbox的模板文档
当直接浏览时,使用变量可能会失效,请不要使用硬编码来代替页面名或地址。


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.}}

Cincinnatus的图标

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的图标

Tribal Concord

Change a law in a Tribal country.