Template:Series box: Difference between revisions

From Shifti
Jump to navigation Jump to search
grumph. Switching over to simple defaults for now, since I know that works. Will hopefully fix the optional row inclusion later.
make this look more like a table of contents, since it's filling a similar role
Line 1: Line 1:
{| class="floatright" style="border: 1px #aaa; border-style: solid none; width:300px; text-align:center;"
{| class="toc floatright" style="border: 1px #aaa; border-style: solid; width:300px; text-align:center;"
|-
|-
| colspan="2" | '''{{{series|This story is part of a series}}}'''
| colspan="2" | '''{{{series|This story is part of a series}}}'''
Line 22: Line 22:
results in:
results in:


{| class="floatright" style="border: 1px #aaa; border-style: solid none; width:300px; text-align:center;"
{| class="toc floatright" style="border: 1px #aaa; border-style: solid; width:300px; text-align:center;"
|-
|-
| colspan="2" | '''The Magic Cheese Saga'''
| colspan="2" | '''The Magic Cheese Saga'''
Line 43: Line 43:
Results in:
Results in:


{| class="floatright" style="border: 1px #aaa; border-style: solid none; width:300px; text-align:center;"
{| class="toc floatright" style="border: 1px #aaa; border-style: solid; width:300px; text-align:center;"
|-
|-
| colspan="2" | '''This story is part of a series'''
| colspan="2" | '''This story is part of a series'''

Revision as of 20:47, 9 August 2007

This story is part of a series
Preceded by: None
Succeeded by: None

This template is meant to provide a standard, tidy way of linking together stories that form a series that's meant to be read in a particular order. It takes three parameters, all optional: series, previous, and next. "series" is very freeform; it's the text that's inserted at the top of the template (defaults to "This story is part of a series"). "previous" and "next" are meant to be links to the previous and next stories. For example, the following template call:

{{series box
|previous= [[User:Joe Bloe/Cheesy Menace|Cheesy Menace]]
|series= The Magic Cheese Saga
|next= [[User:Joe Bloe/Magic Cheese 2: Electric Boogaloo|Electric Boogaloo]]
}}

results in:

The Magic Cheese Saga
Preceded by: Cheesy Menace
Succeeded by: Electric Boogaloo


Omitting parameters results in their defaults being used. For example, the following template call:

{{series box| next= [[[[User:Joe Bloe/Magic Cheese 2: Electric Boogaloo|Electric Boogaloo]]}}

Results in:

This story is part of a series
Preceded by: None
Succeeded by: Electric Boogaloo