Template:Series bar: Difference between revisions

From Shifti
Jump to navigation Jump to search
a template for linking together stories that form a well-defined sequence
 
change styling to fit in with other headers and such more nicely
Line 1: Line 1:
{| style="margin:0.5em auto; background: #f9f9f9; border: 1px #aaa solid;"
{| style="margin:0.5em auto; border: 1px #aaa; border-style: solid none;"
|- style="text-align:center;"  
|- style="text-align:center;"  
|width="30%" |<span style="font-size:x-small;">Preceded&nbsp;by:</span><br/>'''{{{previous|None}}}'''
|width="30%" |<span style="font-size:x-small;">Preceded&nbsp;by:</span><br/>'''{{{previous|None}}}'''
Line 18: Line 18:
results in:
results in:


{| style="margin:0.5em auto; background: #f9f9f9; border: 1px #aaa solid;"
{| style="margin:0.5em auto; border: 1px #aaa; border-style: solid none;"
|- style="text-align:center;"  
|- style="text-align:center;"  
|width="30%" |<span style="font-size:x-small;">Preceded&nbsp;by:</span><br/>'''[[User:Joe Bloe/Cheesy Menace|Cheesy Menace]]'''
|width="30%" |<span style="font-size:x-small;">Preceded&nbsp;by:</span><br/>'''[[User:Joe Bloe/Cheesy Menace|Cheesy Menace]]'''
Line 33: Line 33:
Results in:
Results in:


{| style="margin:0.5em auto; background: #f9f9f9; border: 1px #aaa solid;"
{| style="margin:0.5em auto; border: 1px #aaa; border-style: solid none;"
|- style="text-align:center;"  
|- style="text-align:center;"  
|width="30%" |<span style="font-size:x-small;">Preceded&nbsp;by:</span><br/>'''None'''
|width="30%" |<span style="font-size:x-small;">Preceded&nbsp;by:</span><br/>'''None'''

Revision as of 19:57, 9 August 2007

Preceded by:
None
This story is part of a series 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 in the middle 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
|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:

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

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

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

Results in:

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