打开/关闭菜单
打开/关闭外观设置菜单
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。

模板:Navplate/doc

来自INFWiki
9Yan留言 | 贡献2025年8月11日 (一) 13:51的版本 (创建页面,内容为“{{Documentation}} {{T|navplate}} 允许通过提供一组或多个链接列表相对快速地设置导航模板,类似于维基百科上的 [https://en.wikipedia.org/wiki/Template:Navbox Template:Navbox]。 == Usage == 请删除那些留空的参数。 <pre> {{Navplate |subtitle = |title = |label1 = |list1 = |label2 = |list2 = |label3 = |list3 = }} </pre> == Parameter list == ;<code>subtitle</code> :Subtitle text above the title, it should be con…”)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

{{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 of
Title
Header 1
Header 2

TemplateData

Creates a navigational box for links to other pages.

模板参数

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

参数描述类型状态
Subtitlesubtitle

Subtitle text above the title, it should be connected to the title

示例值
List of
字符串推荐
Titletitle

Title of the subject (wikilink is optional)

示例值
[[Ship]]s
未知必需
IDid

ID used for HTML

未知可选