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="0" cellspacing="3" 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%; text-align: center; margin-bottom:-7%;"><tr>{{If|{{{1}}}|<td>&#124;</td>|}}</tr></table></td>
<table border="1" width="100%" cellpadding="3" 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%; text-align: center; margin-bottom:-7%;"><tr>{{If|{{{1}}}|<td>&#124;</td>|}}</tr></table></td>
<td style="border-bottom:2px solid #000;"><table border="0" cellspacing="0" width="100%" style="font-size:200%; text-align: center; margin-bottom:-7%;"><tr>{{If|{{{3}}}|<td>&#124;</td>|}}</tr></table></td>
<td style="border-bottom:2px solid #000;"><table border="0" cellspacing="0" width="100%" style="font-size:200%; text-align: center; margin-bottom:-7%;"><tr>{{If|{{{3}}}|<td>&#124;</td>|}}</tr></table></td>
<td style="border-bottom:2px solid #000;"><table border="0" cellspacing="0" width="100%" style="font-size:200%; text-align: center; margin-bottom:-7%;"><tr>{{If|{{{5}}}|<td>&#124;</td>|}}</tr></table></td>
<td style="border-bottom:2px solid #000;"><table border="0" cellspacing="0" width="100%" style="font-size:200%; text-align: center; margin-bottom:-7%;"><tr>{{If|{{{5}}}|<td>&#124;</td>|}}</tr></table></td>

Revision as of 23:38, 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 "&nbsp;" for that timeline entry.