Template:Chapters/doc: Difference between revisions
From MediaWiki
Jump to navigationJump to search New page: '''<tt><nowiki>{{chapters}}</nowiki></tt>''' is used to create a "Chapter Navigation" item. <pre>{{chapters |title=A Title |prev=Previous (optional) |next=Next (optional) |center=true (op... |
No edit summary |
||
| Line 22: | Line 22: | ||
*[[List Item 5]] | *[[List Item 5]] | ||
}} | }} | ||
An optional parameter <tt>'''style=2'''</tt> creates a version with a gray header that can be used when you want to list items like this, but it's not, properly speaking, "chapters." | |||
<noinclude>[[Category: Externalized documentation]]</noinclude> | <noinclude>[[Category: Externalized documentation]]</noinclude> | ||
Revision as of 23:52, 15 April 2009
{{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, but it's not, properly speaking, "chapters."

