模板:Infobox/doc

来自SCP: Sharp Wiki
This is the documentation page. It should be transcluded into the main template page. See Template:Documentation for more information
Lua logo.svg

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.

模板参数

此模板首选参数换行的代码块格式。

参数描述类型状态
subboxsubbox

Is this infobox a sub-box?

默认值
false
布尔可选
Titletitle

The title of this infobox.

默认值
{{BASEPAGENAME}}
单行文本可选
Style for titletitlestyle

无描述

字符串可选
Imageimage

Path to image of this infobox without <code>File:</code> namespace prefix.

文件推荐
Size of imageimagesize

无描述

示例值
100px
字符串可选
Other imagesimageN

Add more images, N starts at 2.

文件可选
Size of extra imageimageNsize

无描述

示例值
100px
字符串可选
Default size of imagesdefaultimagesize

Default size of all images

默认值
160px
字符串可选
Content of image areaimagearea

Override all the parameters above about image.

内容可选
Sub-titlesubheader

Subtitle under image

单行文本可选
Style for subtitlesubheaderstyle

无描述

字符串可选
Rowsrows

Rows generated with {{Infobox row}}

内容推荐
Footerfooter

无描述

内容可选


Cookie帮助我们提供我们的服务。通过使用我们的服务,您同意我们使用cookie。