Template:Navplate

Template page
Revision as of 14:08, 25 March 2024 by Pooka (Pookaw) (talk | contribs) (Created page with "<includeonly>{{#invoke:Navplate|navplate}}</includeonly><noinclude> {{/doc}} <!-- Categories go in the /doc subpage --> </noinclude>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Template documentation[view][edit][history][purge]
This documentation is transcluded from Template:Navplate/doc. Changes can be proposed in the talk 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.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Subtitlesubtitle

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

Example
List of
Stringsuggested
Titletitle

Title of the subject (wikilink is optional)

Example
[[Ship]]s
Unknownrequired
IDid

ID used for HTML

Unknownoptional