Difference between revisions of "Template:Sequence"
m |
m |
||
Line 13: | Line 13: | ||
|list1={{{!}} style="border-collapse:collapse; font-size:12px; margin:auto; text-align:center; width:100%;" | |list1={{{!}} style="border-collapse:collapse; font-size:12px; margin:auto; text-align:center; width:100%;" | ||
{{!}} style="width:33%;" {{!}} Previous{{Line Break}}'''[[{{{previous}}}]]''' | {{!}} style="width:33%;" {{!}} Previous{{Line Break}}'''[[{{{previous}}}]]''' | ||
− | {{!}} style="font-size:25px; width: | + | {{!}} style="font-size:25px; width:25px;" {{!}} '''>''' |
{{!}} style="width:33%;" {{!}} '''{{{current}}}'''{{Line Break}}{{{date}}} | {{!}} style="width:33%;" {{!}} '''{{{current}}}'''{{Line Break}}{{{date}}} | ||
− | {{!}} style="font-size:25px; width: | + | {{!}} style="font-size:25px; width:25px;" {{!}} '''>''' |
{{!}} style="width:33%;" {{!}} Next{{Line Break}}'''[[{{{next}}}]]''' | {{!}} style="width:33%;" {{!}} Next{{Line Break}}'''[[{{{next}}}]]''' | ||
{{!}}} | {{!}}} |
Revision as of 13:29, 10 December 2011
Template:Sequence is designed for use on all applicable pages to clearly indicate that the page's subject is part of a chronological sequence.
Template
{{Sequence |title= |current= |date= |previous= |next= }}
Display
{{{title}}} | |||||
---|---|---|---|---|---|
|
Parameters
title
- Usage: Mandatory
- Description: The title parameter takes any string or strings denoting the category of pages under which the sequence falls. This is used to generate the header of the sequence box.
- Valid Value(s): Any string or strings.
current
- Usage: Mandatory
- Description: The current parameter takes any string or strings denoting the current article's subject. This is used to generate the bolded text on the upper line in the center of the sequence box, or to the left or right of the sequence box, depending on the length of the overall sequence.
- Valid Value(s): Any string or strings.
date
- Usage: Mandatory
- Description: The date parameter takes a string denoting the date of the current article's subject. This is used to generate the date beneath the current article's subject in the sequence box.
- Valid Value(s): Any string representing a date.
previous
- Usage: Optional
- Description: The previous parameter takes a string denoting the article that comes before the current article in the sequence. This is used to generate the link under the "Previous" heading in the leftmost section of the sequence box that links to the previous article in the sequence. If there is no "Next" article in the sequence, this parameter becomes mandatory, as otherwise you would be left with a one-article sequence.
- Valid Value(s): Any string or strings.
next
- Usage: Optional
- Description: The next parameter takes a string denoting the article that comes after the current article in the sequence. This is used to generate the link under the "Next" heading in the rightmost section of the sequence box that links to the next article in the sequence. If there is no "Previous" article in the sequence, this parameter becomes mandatory, as otherwise you would be left with a one-article sequence.
- Valid Value(s): Any string or strings.