模板:Header/doc

< Template:Header这是此页面的最新修订,它没有已核准修订。

Use this template to create headers.

Headers are useful for branding, visually grouping related pages, and providing easy access to the main pages of the group. Headers should be located on the very top of pages because they hide (replace) the default title of pages.

Examples

Basic

{{Header|Tbpediabanner1.jpg}}

Advanced

{{Header
| image = Tbpediabanner1.jpg
| link = Welcome to Tbpedia
| menu =
* [[Tbpedia:About|About]]
* [[Tbpedia:Policies|Policies]]
* [[Tbpedia:Guidelines|Guidelines]]
}}

See also

Template data

Use this template to create headers for important pages.

模板参数

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

参数描述类型状态
Imageimage1

Background image of the header

文件必需
Mobilemobile

Background image for mobile devices, if different from the main image

文件可选
Linklink

Appropedia page to link from the header

示例值
Appropedia:About
页面名称可选
Menumenu

List of links

示例值
* [[Appropedia:About]]
内容可选
Printprint

Include this header in print mode

示例值
yes
布尔可选
Titletitle

Show the page title

默认值
yes
示例值
no
布尔可选