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><table border="0" width="90%" align="center"  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%;"><tr>{{If|{{{1}}}|<td>&#124;</td>|}}</tr></table></td>
<includeonly><table border="0" width="90%" align="center"  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%;"><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%;"><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%;"><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%;"><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%;"><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%;"><tr>{{If|{{{7}}}|<td>&#124;</td>|}}</tr></table></td>
<td style="border-bottom:2px solid #000;"><table border="0" cellspacing="0" width="100%" style="font-size:200%;"><tr>{{#if:{{{7}}}|<td>&#124;</td>|}}</tr></table></td>
<td style="border-bottom:2px solid #000;"><table border="0" cellspacing="0" width="100%" style="font-size:200%;"><tr>{{If|{{{9}}}|<td>&#124;</td>|}}</tr></table></td>
<td style="border-bottom:2px solid #000;"><table border="0" cellspacing="0" width="100%" style="font-size:200%;"><tr>{{#if:{{{9}}}|<td>&#124;</td>|}}</tr></table></td>
<td style="border-bottom:2px solid #000;"><table border="0" cellspacing="0" width="100%" style="font-size:200%;"><tr>{{If|{{{11}}}|<td>&#124;</td>|}}</tr></table></td>
<td style="border-bottom:2px solid #000;"><table border="0" cellspacing="0" width="100%" style="font-size:200%;"><tr>{{#if:{{{11}}}|<td>&#124;</td>|}}</tr></table></td>
<td style="border-bottom:2px solid #000;"><table border="0" cellspacing="0" width="100%" style="font-size:200%;"><tr>{{If|{{{13}}}|<td>&#124;</td>|}}</tr></table></td>
<td style="border-bottom:2px solid #000;"><table border="0" cellspacing="0" width="100%" style="font-size:200%;"><tr>{{#if:{{{13}}}|<td>&#124;</td>|}}</tr></table></td>
<td style="border-bottom:2px solid #000;"><table border="0" cellspacing="0" width="100%" style="font-size:200%;"><tr>{{If|{{{15}}}|<td>&#124;</td>|}}</tr></table></td>
<td style="border-bottom:2px solid #000;"><table border="0" cellspacing="0" width="100%" style="font-size:200%;"><tr>{{#if:{{{15}}}|<td>&#124;</td>|}}</tr></table></td>
<td style="border-bottom:2px solid #000;"><table border="0" cellspacing="0" width="100%" style="font-size:200%;"><tr>{{If|{{{17}}}|<td>&#124;</td>|}}</tr></table></td></tr><tr><td style="border-top:2px solid #000;"><table border="0" cellspacing="0" width="100%" style="font-size:200%;"><tr>{{If|{{{2}}}|<td>&#124;</td>|}}</tr></table></td>
<td style="border-bottom:2px solid #000;"><table border="0" cellspacing="0" width="100%" style="font-size:200%;"><tr>{{#if:{{{17}}}|<td>&#124;</td>|}}</tr></table></td></tr><tr><td style="border-top:2px solid #000;"><table border="0" cellspacing="0" width="100%" style="font-size:200%;"><tr>{{#if:{{{2}}}|<td>&#124;</td>|}}</tr></table></td>
<td style="border-top:2px solid #000;"><table border="0" cellspacing="0" width="100%" style="font-size:200%;"><tr>{{If|{{{4}}}|<td>&#124;</td>|}}</tr></table></td>
<td style="border-top:2px solid #000;"><table border="0" cellspacing="0" width="100%" style="font-size:200%;"><tr>{{#if:{{{4}}}|<td>&#124;</td>|}}</tr></table></td>
<td style="border-top:2px solid #000;"><table border="0" cellspacing="0" width="100%" style="font-size:200%;"><tr>{{If|{{{6}}}|<td>&#124;</td>|}}</tr></table></td>
<td style="border-top:2px solid #000;"><table border="0" cellspacing="0" width="100%" style="font-size:200%;"><tr>{{#if:{{{6}}}|<td>&#124;</td>|}}</tr></table></td>
<td style="border-top:2px solid #000;"><table border="0" cellspacing="0" width="100%" style="font-size:200%;"><tr>{{If|{{{8}}}|<td>&#124;</td>|}}</tr></table></td>
<td style="border-top:2px solid #000;"><table border="0" cellspacing="0" width="100%" style="font-size:200%;"><tr>{{#if:{{{8}}}|<td>&#124;</td>|}}</tr></table></td>
<td style="border-top:2px solid #000;"><table border="0" cellspacing="0" width="100%" style="font-size:200%;"><tr>{{If|{{{10}}}|<td>&#124;</td>|}}</tr></table></td>
<td style="border-top:2px solid #000;"><table border="0" cellspacing="0" width="100%" style="font-size:200%;"><tr>{{#if:{{{10}}}|<td>&#124;</td>|}}</tr></table></td>
<td style="border-top:2px solid #000;"><table border="0" cellspacing="0" width="100%" style="font-size:200%;"><tr>{{If|{{{12}}}|<td>&#124;</td>|}}</tr></table></td>
<td style="border-top:2px solid #000;"><table border="0" cellspacing="0" width="100%" style="font-size:200%;"><tr>{{#if:{{{12}}}|<td>&#124;</td>|}}</tr></table></td>
<td style="border-top:2px solid #000;"><table border="0" cellspacing="0" width="100%" style="font-size:200%;"><tr>{{If|{{{14}}}|<td>&#124;</td>|}}</tr></table></td>
<td style="border-top:2px solid #000;"><table border="0" cellspacing="0" width="100%" style="font-size:200%;"><tr>{{#if:{{{14}}}|<td>&#124;</td>|}}</tr></table></td>
<td style="border-top:2px solid #000;"><table border="0" cellspacing="0" width="100%" style="font-size:200%;"><tr>{{If|{{{16}}}|<td>&#124;</td>|}}</tr></table></td>
<td style="border-top:2px solid #000;"><table border="0" cellspacing="0" width="100%" style="font-size:200%;"><tr>{{#if:{{{16}}}|<td>&#124;</td>|}}</tr></table></td>
<td style="border-top:2px solid #000;"><table border="0" cellspacing="0" width="100%" style="font-size:200%;"><tr>{{If|{{{18}}}|<td>&#124;</td>|}}</tr></table></td></tr><tr>{{If|{{{2}}}|<td>{{{2}}}</td>|}}{{If|{{{4}}}|<td>{{{4}}}</td>|}}{{If|{{{6}}}|<td>{{{6}}}</td>|}}{{If|{{{8}}}|<td>{{{8}}}</td>|}}{{If|{{{10}}}|<td>{{{10}}}</td>|}}{{If|{{{12}}}|<td>{{{12}}}</td>|}}{{If|{{{14}}}|<td>{{{14}}}</td>|}}{{If|{{{16}}}|<td>{{{16}}}</td>|}}{{If|{{{18}}}|<td>{{{18}}}</td>|}}</tr></table></includeonly><noinclude>
<td style="border-top:2px solid #000;"><table border="0" cellspacing="0" width="100%" style="font-size:200%;"><tr>{{#if:{{{18}}}|<td>&#124;</td>|}}</tr></table></td></tr><tr>{{#if:{{{2}}}|<td>{{{2}}}</td>|}}{{#if:{{{4}}}|<td>{{{4}}}</td>|}}{{#if:{{{6}}}|<td>{{{6}}}</td>|}}{{#if:{{{8}}}|<td>{{{8}}}</td>|}}{{#if:{{{10}}}|<td>{{{10}}}</td>|}}{{#if:{{{12}}}|<td>{{{12}}}</td>|}}{{#if:{{{14}}}|<td>{{{14}}}</td>|}}{{#if:{{{16}}}|<td>{{{16}}}</td>|}}{{#if:{{{18}}}|<td>{{{18}}}</td>|}}</tr></table></includeonly><noinclude>
  This template is used to create a short horizontal timeline (no more than 9 events).
  This template is used to create a short horizontal timeline (no more than 9 events).


Line 40: Line 40:


'''Note''': To leave a space blank (skipping a slots), you must enter "'''&amp;nbsp;'''" for that timeline entry.
'''Note''': To leave a space blank (skipping a slots), you must enter "'''&amp;nbsp;'''" for that timeline entry.
</noinclude>
</noinclude>

Revision as of 01:59, January 7, 2012

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=14 Feb 2002|5=Unknown event|6= |7=Last event|8=15 March 2002|9=|10=|11=|12=|13=|14=|15=|16=|17=|18=}}

Results in:

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


Just leave the number and equal sign alone for empty, later slots.

Note: To leave a space blank (skipping a slots), you must enter "&nbsp;" for that timeline entry.