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
(45 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly>
<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>
<table border="0" width="100%" cellpadding="0" cellspacing="0" style="text-align: center;">
<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>
<tr>
<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>
{{If|{{{1}}}|<td>{{{1}}}</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>
{{If|{{{3}}}|<td>{{{3}}}</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>
{{If|{{{5}}}|<td>{{{5}}}</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>
{{If|{{{7}}}|<td>{{{7}}}</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>
</tr><tr><td cellspacing="0" cellpadding="0"><table border="0" cellspacing="0" width="100%" style="border-bottom:5px solid #000; font-size:300%;"><tr>
<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>{{If|{{{1}}}|&uarr;|}}</td></tr></table></td><td><table border="0" cellspacing="0" width="100%" style="border-bottom:5px solid #000; font-size:300%;"><tr>
<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>
{{If|{{{3}}}|<td>&uarr;</td>|}}</tr></table></td><td><table border="0" cellspacing="0" width="100%" style="border-bottom:5px solid #000; font-size:300%;"><tr>
<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>
{{If|{{{5}}}|<td>&uarr;</td>|}}</tr></table></td><td><table border="0" cellspacing="0" width="100%" style="border-bottom:5px solid #000; font-size:300%;"><tr>
<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>
{{If|{{{7}}}|<td>&uarr;</td>|}}</tr></table></td><td><table border="0" cellspacing="0" width="100%" style="border-bottom:5px solid #000; font-size:300%;"><tr>
<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>
{{If|{{{9}}}|<td>&uarr;</td>|}}</tr></table></td><td><table border="0" cellspacing="0" width="100%" style="border-bottom:5px solid #000; font-size:300%;"><tr>
<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>
{{If|{{{11}}}|<td>&uarr;</td>|}}</tr></table></td><td><table border="0" cellspacing="0" width="100%" style="border-bottom:5px solid #000; font-size:300%;"><tr>
<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>
{{If|{{{13}}}|<td>&uarr;</td>|}}</tr></table></td><td><table border="0" cellspacing="0" width="100%" style="border-bottom:5px solid #000; font-size:300%;"><tr>
<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>
{{If|{{{15}}}|<td>&uarr;</td>|}}</tr></table></td><td><table border="0" cellspacing="0" width="100%" style="border-bottom:5px solid #000; font-size:300%;"><tr>
<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>
{{If|{{{17}}}|<td>&uarr;</td>|}}</tr></table></td></tr><tr><td cellspacing="0" cellpadding="0"><table border="0" cellspacing="0" width="100%" style="padding-bottom:10px; font-size:300%;"><tr>{{If|{{{2}}}|<td>&darr;</td>|}}</tr></table></td><td><table border="0" cellspacing="0" width="100%" style="padding-bottom:10px; font-size:300%;"><tr>{{If|{{{4}}}|<td>&darr;</td>|}}</tr></table></td><td><table border="0" cellspacing="0" width="100%" style="padding-bottom:10px; font-size:300%;"><tr>{{If|{{{6}}}|<td>&darr;</td>|}}</tr></table></td><td><table border="0" cellspacing="0" width="100%" style="padding-bottom:10px; font-size:300%;"><tr>{{If|{{{8}}}|<td>&darr;</td>|}}</tr></table></td><td><table border="0" cellspacing="0" width="100%" style="padding-bottom:10px; font-size:300%;"><tr>{{If|{{{10}}}|<td>&darr;</td>|}}</tr></table></td><td><table border="0" cellspacing="0" width="100%" style="padding-bottom:10px; font-size:300%;"><tr>{{If|{{{12}}}|<td>&darr;</td>|}}</tr></table></td><td><table border="0" cellspacing="0" width="100%" style="padding-bottom:10px; font-size:300%;"><tr>{{If|{{{14}}}|<td>&darr;</td>|}}</tr></table></td><td><table border="0" cellspacing="0" width="100%" style="padding-bottom:10px; font-size:300%;"><tr>{{If|{{{16}}}|<td>&darr;</td>|}}</tr></table></td><td><table border="0" cellspacing="0" width="100%" style="padding-bottom:10px; font-size:300%;"><tr>{{If|{{{18}}}|<td>&darr;</td>|}}</tr></table></td></tr><tr>{{If|{{{1}}}|<td>{{{2}}}</td>|}}{{If|{{{3}}}|<td>{{{4}}}</td>|}}{{If|{{{5}}}|<td>{{{6}}}</td>|}}{{If|{{{7}}}|<td>{{{8}}}</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 30: Line 30:
'''Example:'''
'''Example:'''


<nowiki>{{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=}}</nowiki>
<nowiki>{{Timeline|1=First event|2=22 Dec 2001|3=Second event|4=14 Feb 2002|5=Unknown event|6=&nbsp;|7=Last event|8=15 March 2002|9=|10=|11=|12=|13=|14=|15=|16=|17=|18=}}</nowiki>


Just leave the number and equal sign alone for less than 9 events.
'''Results in:'''
{{:Sample Timeline}}


'''Note''': To leave a space blank on the top (skipping it and filling in later slots), you must enter "'''&amp;nbsp;'''" for that timeline entry.</noinclude>
 
 
Just leave the number and equal sign alone for empty, later slots.
 
'''Note''': To leave a space blank (skipping a slots), you must enter "'''&amp;nbsp;'''" for that timeline entry.
</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.