Template:Chapters/doc: Difference between revisions
From MediaWiki
Jump to navigationJump to searchNo edit summary |
mNo edit summary |
||
| Line 23: | Line 23: | ||
}} | }} | ||
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, | 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, or a tan header that matches episode/comic issue info templates. | ||
{{chapters | |||
|title=This uses style 1 | |||
|style=1 | |||
|content=*[[List Item 1]] | |||
}} | |||
{{chapters | |||
|title=This uses style 2 | |||
|style=2 | |||
|content=*[[List Item 1]] | |||
}} | |||
{{chapters | |||
|title=This uses style 3 | |||
|style=3 | |||
|content=*[[List Item 1]] | |||
}} | |||
<noinclude>[[Category: Externalized documentation]]</noinclude> | <noinclude>[[Category: Externalized documentation]]</noinclude> | ||
Revision as of 20:03, 2 May 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, or a tan header that matches episode/comic issue info templates.
| This uses style 1 | |||
|---|---|---|---|
| This uses style 2 | |||
|---|---|---|---|
| This uses style 3 | |||
|---|---|---|---|

