[刷新]
This is the documentation page. It should be transcluded into the main template page. See Template:Documentation for more information
This template used module Module:Infobox,These scripts are written in Lua.
Read w:Wikipedia:Lua and mw:Extension:Scribunto for more.
Infobox
Hello
World
A skeleton for infoboxes, for use in other infobox templates or standalone.
参数 | 描述 | 类型 | 状态 | |
---|---|---|---|---|
subbox | subbox | Is this infobox a sub-box?
| 布尔 | 可选 |
Title | title | The title of this infobox.
| 单行文本 | 可选 |
Style for title | titlestyle | 无描述 | 字符串 | 可选 |
Image | image | Path to image of this infobox without <code>File:</code> namespace prefix. | 文件 | 推荐 |
Size of image | imagesize | 无描述
| 字符串 | 可选 |
Other images | imageN | Add more images, N starts at 2. | 文件 | 可选 |
Size of extra image | imageNsize | 无描述
| 字符串 | 可选 |
Default size of images | defaultimagesize | Default size of all images
| 字符串 | 可选 |
Content of image area | imagearea | Override all the parameters above about image. | 内容 | 可选 |
Sub-title | subheader | Subtitle under image | 单行文本 | 可选 |
Style for subtitle | subheaderstyle | 无描述 | 字符串 | 可选 |
Rows | rows | Rows generated with {{Infobox row}} | 内容 | 推荐 |
Footer | footer | 无描述 | 内容 | 可选 |