Template:Series bar: Difference between revisions
adding "first" to the documentation |
remove a stray curley bracket |
||
| Line 55: | Line 55: | ||
|- style="text-align:center;" | |- style="text-align:center;" | ||
|width="30%" |<span style="font-size:x-small;">Preceded by:</span><br/>'''None''' | |width="30%" |<span style="font-size:x-small;">Preceded by:</span><br/>'''None''' | ||
|width="40%" |'''[[User:Joe Bloe/The Magic Cheese|The Magic Cheese Saga]]'''<br/><span style="font-size:x-small;">(First: | |width="40%" |'''[[User:Joe Bloe/The Magic Cheese|The Magic Cheese Saga]]'''<br/><span style="font-size:x-small;">(First: [[User:Joe Bloe/The Magic Cheese|The Magic Cheese]])</span> | ||
|width="30%" |<span style="font-size:x-small;">Succeeded by:</span><br/>'''None''' | |width="30%" |<span style="font-size:x-small;">Succeeded by:</span><br/>'''None''' | ||
|} | |} | ||
Latest revision as of 18:58, 24 January 2008
| Preceded by: None |
This story is part of a series{{#if:| (First: {{{first}}})}} |
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 bar
|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 bar| 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 |
There's also an optional "first" parameter you can use to insert a link for jumping back to the first story in the series, in case readers jump in in the middle. Alternately, you can provide a link in the "series" parameter for this purpose.
{{series bar
|series= [[User:Joe Bloe/The Magic Cheese|The Magic Cheese Saga]]
|first= [[User:Joe Bloe/The Magic Cheese|The Magic Cheese]]
}}
results in:
| Preceded by: None |
The Magic Cheese Saga (First: The Magic Cheese) |
Succeeded by: None |