Template:Chapters/doc

From MediaWiki
Jump to navigationJump to search

{{chapters}} is used to create a "Chapter Navigation" item.

{{chapters
|title=A Title
|prev=Previous (optional)
|next=Next (optional)
|center=true (optional, default is true)
|content=*[[List Item 1]]
*[[List Item 2]]
*[[List Item 3]]
*[[List Item 4]]
*[[List Item 5]]
}}
A Title

An optional parameter style=2 creates a version with a gray header that can be used when you want to list items like this, or a tan header that matches episode/comic issue info templates.

This uses style 1
This uses style 2
This uses style 3