More actions
en>Alistair3149 No edit summary |
en>Alistair3149 No edit summary |
||
Line 21: | Line 21: | ||
}} | }} | ||
</pre> | </pre> | ||
== TemplateData == | |||
<templatedata> | |||
{ | |||
"params": { | |||
"title": { | |||
"label": "Title", | |||
"description": "Title of the subject (wikilink is optional)", | |||
"example": "[[Ship]]s", | |||
"type": "unknown", | |||
"required": true, | |||
"suggested": true | |||
}, | |||
"id": { | |||
"label": "ID", | |||
"description": "ID used for HTML" | |||
}, | |||
"subtitle": { | |||
"label": "Subtitle", | |||
"description": "Subtitle text above the title, it should be connected to the title", | |||
"example": "List of", | |||
"type": "string", | |||
"suggested": true | |||
} | |||
}, | |||
"description": "Creates a navigational box for links to other pages.", | |||
"paramOrder": [ | |||
"subtitle", | |||
"title", | |||
"id" | |||
], | |||
"format": "block" | |||
} | |||
</templatedata> | |||
<includeonly> | <includeonly> |
Revision as of 19:30, 20 April 2023
{{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 = }}
TemplateData
Creates a navigational box for links to other pages.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Subtitle | subtitle | Subtitle text above the title, it should be connected to the title
| String | suggested |
Title | title | Title of the subject (wikilink is optional)
| Unknown | required |
ID | id | ID used for HTML | Unknown | optional |