Toggle search
Search
Toggle menu
Notifications
Toggle personal menu
Editing
Template:Navplate/doc
Template page
Views
Read
Edit
View history
associated-pages
Template
Discussion
More actions
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{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> :Subtitle text above the title, it should be connected to the title ;<code>title</code> :Title of the subject (wikilink is optional) ;<code>label<sub>n</sub></code> :Label text for the list ;<code>list<sub>n</sub></code> :Text listing wikilinks ;<code>header<sub>n</sub></code> :Group header text ;<code>id</code> :ID used for HTML, mostly used in template == Example == <pre><nowiki> {{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]] }} </nowiki></pre> gives {{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]] }} == 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> <!-- Template catergories go here --> [[Category:Navplates]] </includeonly>
Summary:
Please note that all contributions to WoopMC may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
WoopMC:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)