Template:Timeline: Difference between revisions
From wikilawschool.net. Wiki Law School does not provide legal advice. For educational purposes only.
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<table border="0" width="100%" cellpadding="8" cellspacing="0" style="text-align: center;"><tr>{{If|{{{1}}}|<td>{{{1}}}</td>|}}{{If|{{{3}}}|<td>{{{3}}}</td>|}}{{If|{{{5}}}|<td>{{{5}}}</td>|}}{{If|{{{7}}}|<td>{{{7}}}</td>|}}{{If|{{{9}}}|<td>{{{9}}}</td>|}}{{If|{{{11}}}|<td>{{{11}}}</td>|}}{{If|{{{13}}}|<td>{{{13}}}</td>|}}{{If|{{{15}}}|<td>{{{15}}}</td>|}}{{If|{{{17}}}|<td>{{{17}}}</td>|}}</tr><tr><td style=""><table border="0" cellspacing="0" width="100%" style="font-size:200% | <table border="0" width="100%" cellpadding="8" cellspacing="0" style="text-align: center;"><tr>{{If|{{{1}}}|<td>{{{1}}}</td>|}}{{If|{{{3}}}|<td>{{{3}}}</td>|}}{{If|{{{5}}}|<td>{{{5}}}</td>|}}{{If|{{{7}}}|<td>{{{7}}}</td>|}}{{If|{{{9}}}|<td>{{{9}}}</td>|}}{{If|{{{11}}}|<td>{{{11}}}</td>|}}{{If|{{{13}}}|<td>{{{13}}}</td>|}}{{If|{{{15}}}|<td>{{{15}}}</td>|}}{{If|{{{17}}}|<td>{{{17}}}</td>|}}</tr><tr><td style="border-bottom:2px solid #000;"><table border="0" cellspacing="0" width="100%" style="font-size:200%; margin-bottom:-7%;"><tr>{{If|{{{1}}}|<td>|</td>|}}</tr></table></td> | ||
<td style="border-bottom:2px solid #000;"><table border="0" cellspacing="0" width="100%" style="font-size:200%; margin-bottom:-7%;"><tr>{{If|{{{3}}}|<td>|</td>|}}</tr></table></td> | <td style="border-bottom:2px solid #000;"><table border="0" cellspacing="0" width="100%" style="font-size:200%; margin-bottom:-7%;"><tr>{{If|{{{3}}}|<td>|</td>|}}</tr></table></td> | ||
<td style="border-bottom:2px solid #000;"><table border="0" cellspacing="0" width="100%" style="font-size:200%; margin-bottom:-7%;"><tr>{{If|{{{5}}}|<td>|</td>|}}</tr></table></td> | <td style="border-bottom:2px solid #000;"><table border="0" cellspacing="0" width="100%" style="font-size:200%; margin-bottom:-7%;"><tr>{{If|{{{5}}}|<td>|</td>|}}</tr></table></td> |
Revision as of 23:53, June 25, 2007
This template is used to create a short horizontal timeline (no more than 9 events).
Usage
{{Timeline|1=|2=|3=|4=|5=|6=|7=|8=|9=|10=|11=|12=|13=|14=|15=|16=|17=|18=}}
Where:
odd numbers = text that appears above the horizontal timeline.
even numbers = text that appears below the horizontal timeline.
Example:
{{Timeline|1=first event|2=22 Dec 2001|3=Second event|4=01 Jan 2002|5=Third event|6=14 Feb 2002|7=Last event|8=15 March 2002|9=|10=|11=|12=|13=|14=|15=|16=|17=|18=}}
Just leave the number and equal sign alone for less than 9 events.
Note: To leave a space blank on the top (skipping it and filling in later slots), you must enter " " for that timeline entry.
The above timeline template usage results in the following timeline:
This is the first event | Jan. 2, 1980 | This is the third event | Jan. 4, 1980 | This is the fifth event | Jan. 6, 1980 | This is the seventh event | Jan. 8, 1980 | This is the ninth event | |||||||||
|
|
|
|
|
|
|
|
| |||||||||
|
|
|
|
|
|
|
|
| |||||||||
Jan. 1, 1980 | This is the second event | Jan. 3, 1980 | This is the fourth event | Jan. 5, 1980 | This is the sixth event | Jan. 7, 1980 | This is the eighth event | Jan. 9, 1980 |