Zeroclanzhang(讨论 | 贡献) (创建页面,内容为“{{Documentation}} {{t|navplate}} allows a navigational template to be set up relatively quickly by supplying it with one or more lists of links, similar to [https://en.wikipedia.org/wiki/Template:Navbox Template:Navbox] on Wikipedia. == Usage == Please remove the parameters that are left blank. <pre> {{Navplate |subtitle = |title = |label1 = |list1 = |label2 = |list2 = |label3 = |list3 = }} </pre> == Parameter list == ;<code>subtitle</code> :Subt…”) |
Zeroclanzhang(讨论 | 贡献) 无编辑摘要 |
||
第1行: | 第1行: | ||
{{Documentation}} | {{Documentation subpage}} | ||
{{t|navplate}} allows a navigational template to be set up relatively quickly by supplying it with one or more lists of links, similar to [https://en.wikipedia.org/wiki/Template:Navbox Template:Navbox] on Wikipedia. | {{t|navplate}} allows a navigational template to be set up relatively quickly by supplying it with one or more lists of links, similar to [https://en.wikipedia.org/wiki/Template:Navbox Template:Navbox] on Wikipedia. |
2024年1月21日 (日) 10:10的最新版本
This is a documentation subpage for 模板:Navplate. It may contain usage information, categories and other content that is not part of the original 模板 page. |
{{navplate}} allows a navigational template to be set up relatively quickly by supplying it with one or more lists of links, similar to Template:Navbox on Wikipedia.
Usage
Please remove the parameters that are left blank.
{{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
TemplateData
Creates a navigational box for links to other pages.
参数 | 描述 | 类型 | 状态 | |
---|---|---|---|---|
Subtitle | subtitle | Subtitle text above the title, it should be connected to the title
| 字符串 | 推荐 |
Title | title | Title of the subject (wikilink is optional)
| 未知 | 必需 |
ID | id | ID used for HTML | 未知 | 可选 |