打开主菜单
首页
随机
最近更改
特殊页面
社群首页
设置
关于真佛百科
免责声明
真佛百科
搜索
用户菜单
登录
查看“Template:Header/doc”的源代码
←
Template:Header/doc
因为以下原因,您没有权限编辑本页:
您请求的操作仅限属于该用户组的用户执行:emailconfirmed
您必须确认您的电子邮件地址才能编辑页面。请通过
参数设置
设置并确认您的电子邮件地址。
您可以查看和复制此页面的源代码。
{{Documentation subpage}} 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 === <pre>{{Header|Tbpediabanner1.jpg}}</pre> {{Header|Tbpediabanner1.jpg}} === Advanced === <pre>{{Header | image = Tbpediabanner1.jpg | link = Welcome to Tbpedia | menu = * [[Tbpedia:About|About]] * [[Tbpedia:Policies|Policies]] * [[Tbpedia:Guidelines|Guidelines]] }}</pre> {{Header | image = TCTRbookpromo.jpg | link = Welcome to Appropedia | menu = * [[Tbpedia:About|About]] * [[Tbpedia:Policies|Policies]] * [[Tbpedia:Guidelines|Guidelines]] }} == See also == * [[:Category:Meta templates]] — Other meta templates * [[:Category:Header templates]] — Templates using this meta template == Template data == <templatedata> { "params": { "image": { "label": "Image", "description": "Background image of the header", "required": true, "type": "wiki-file-name", "aliases": [ "1" ] }, "print": { "label": "Print", "description": "Include this header in print mode", "example": "yes", "type": "boolean" }, "link": { "label": "Link", "description": "Appropedia page to link from the header", "example": "Appropedia:About", "type": "wiki-page-name" }, "menu": { "label": "Menu", "description": "List of links", "example": "* [[Appropedia:About]]", "type": "content" }, "title": { "label": "Title", "description": "Show the page title", "example": "no", "type": "boolean", "default": "yes" }, "mobile": { "label": "Mobile", "description": "Background image for mobile devices, if different from the main image", "type": "wiki-file-name" } }, "paramOrder": [ "image", "mobile", "link", "menu", "print", "title" ], "format": "block", "description": "Use this template to create headers for important pages." } </templatedata> <includeonly> [[Category:Meta templates]] </includeonly>
本页使用的模板:
MediaWiki:TemplateNotice.js
(
查看源代码
)
Template:Documentation subpage
(
查看源代码
)
Template:Header
(
查看源代码
)
Template:Header/styles.css
(
查看源代码
)
Template:Notice
(
查看源代码
)
Template:Notice/styles.css
(
查看源代码
)
返回
Template:Header/doc
。