Template:Infobox

来自Minecraft Wiki
跳转至: 导航搜索
Infobox
No image.svg
[查看 | 编辑 | 历史 | 清除缓存]文档页面
Lua logo.svg

此模板使用了模块:Infobox,此脚本使用Lua编写。
更多详情,请参阅维基百科:LuaMediaWiki:扩展:Scribunto

此模板是信息框的雏形,为其他信息框模板或单独使用的基础。

用法

{{infobox
| title = box title, defaults to page's name
| imagen = Images displayed below the title. Supports animation. First image defaults to {{{title}}}.png. Set to "none" to remove.
| defaultimagesize = Set the default size used by the above images. Defaults to 150px.
| imagensize = Sets the size of the corresponding image, overriding {{{defaultimagesize}}}.
| invimagen = Invimages displayed under the images, using {{grid}}. Set to "----" to add a line break. First invimage defaults to {{{title}}}, set to "none" to remove.
| imagearea = Completely replaces the functionality of the above 4 parameters, leaving a blank canvas below the title to put whatever
| rows = all rows go here using {{infobox row}}
| footer = optional centered footer that goes across both columns
}}