Template:Chapters

From Zapbots
Jump to navigationJump to search

{{ #ifexist: Template:Chapters/doc |

(Transcluded documentation: view)

{{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:|Template:Comicstory/seriesvariable|A Title}} 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:|Template:Comicstory/seriesvariable|This uses style 1}} style="text-align:{{{align}}};"|}}|
{{#if:|Template:Comicstory/seriesvariable|This uses style 2}} style="text-align:{{{align}}};"|}}|
{{#if:|Template:Comicstory/seriesvariable|This uses style 3}} style="text-align:{{{align}}};"|}}|

|

(Transcluded documentation: create)

{{#if:|{{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:|Template:Comicstory/seriesvariable|A Title}} 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:|Template:Comicstory/seriesvariable|This uses style 1}} style="text-align:{{{align}}};"|}}|
{{#if:|Template:Comicstory/seriesvariable|This uses style 2}} style="text-align:{{{align}}};"|}}|
{{#if:|Template:Comicstory/seriesvariable|This uses style 3}} style="text-align:{{{align}}};"|}}|

|}}}}