Template:Chapters/doc
From Zapbots
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. centers the entire box unit) |align=left (optional, [ left, center, right ] Default is center. Aligns the text within the main box.) |float=none (make sure to set "center=false" if you want to float this!) |content=*[[List Item 1]] *[[List Item 2]] *[[List Item 3]] *[[List Item 4]] *[[List Item 5]] }}
{{#if:Previous page (optional)|«|}} | {{#if:|Template:Comicstory/seriesvariable|A Title}} | {{#if:Next page (optional)|»|}}
{{#if:*List Item 1 |
style="text-align:{{{align}}};"|}}| |
---|
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.
{{#if:|[[{{{prev}}}|«]]|}} | {{#if:|Template:Comicstory/seriesvariable|This uses style 1}} | {{#if:|[[{{{next}}}|»]]|}}
{{#if:*List Item 1||- |
style="text-align:{{{align}}};"|}}|
|
---|
{{#if:|[[{{{prev}}}|«]]|}} | {{#if:|Template:Comicstory/seriesvariable|This uses style 2}} | {{#if:|[[{{{next}}}|»]]|}}
{{#if:*List Item 1||- |
style="text-align:{{{align}}};"|}}|
|
---|
{{#if:|[[{{{prev}}}|«]]|}} | {{#if:|Template:Comicstory/seriesvariable|This uses style 3}} | {{#if:|[[{{{next}}}|»]]|}}
{{#if:*List Item 1||- |
style="text-align:{{{align}}};"|}}|
|
---|