模板:Navplate/doc
来自INFWiki
更多操作
< Navplate
这是模板的文档子页面
它包含使用信息以及其他不属于模板页面的内容。
{{navplate}} 允许通过提供一组或多个链接列表相对快速地设置导航模板,类似于维基百科上的 Template:Navbox。
Usage
请删除那些留空的参数。
{{Navplate
|subtitle =
|title =
|label1 =
|list1 =
|label2 =
|list2 =
|label3 =
|list3 =
}}
Parameter list
subtitle- Subtitle text above the title, it should be connected to the title
title- Title of the subject (wikilink is optional)
labeln- Label text for the list
listn- Text listing wikilinks
headern- Group header text
id- ID used for HTML, mostly used in template
Example
{{Navplate
|id=test
|subtitle=List of
|title=Title
|header1 = Header 1
|label2 = Label 1
|list2 = [[Item 1]][[Item 2]]
|label3 = Label 2
|list3 = [[Item 1]][[Item 2]]
|header4 = Header 2
|label5 = Label 3
|list5 = [[Item 1]][[Item 2]]
|label6 = Label 4
|list6 = [[Item 1]][[Item 2]]
}}
gives
List ofTitle
List of
Title
TemplateData
Creates a navigational box for links to other pages.
| 参数 | 描述 | 类型 | 状态 | |
|---|---|---|---|---|
| 子标题 | subtitle | 标题上方的字幕文本,应与标题相关联。
| 字符串 | 推荐 |
| 标题 | title | 主题标题(维基链接为可选) | 未知 | 必需 |
| ID | id | ID 用于HTML | 未知 | 可选 |