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 2: Line 2:
<table border="1" width="100%" cellpadding="0" cellspacing="0" style="text-align: center;">
<table border="1" width="100%" cellpadding="0" cellspacing="0" style="text-align: center;">
<tr>
<tr>
{{If|{{{1}}}|<td style="border-bottom:5px solid #000; padding-top:10px;">{{{1}}}</td>|}}
{{If|{{{1}}}|<td>{{{1}}}</td>|}}
{{If|{{{3}}}|<td style="border-bottom:5px solid #000; padding-top:10px;">{{{3}}}</td>|}}
{{If|{{{3}}}|<td>{{{3}}}</td>|}}
{{If|{{{5}}}|<td style="border-bottom:5px solid #000; padding-top:10px;">{{{5}}}</td>|}}
{{If|{{{5}}}|<td>{{{5}}}</td>|}}
{{If|{{{7}}}|<td style="border-bottom:5px solid #000; padding-top:10px;">{{{7}}}</td>|}}
{{If|{{{7}}}|<td>{{{7}}}</td>|}}
</tr><tr>
</tr><tr><td><table style="border-bottom:5px solid #000; padding-top:10px;"><tr>
{{If|{{{1}}}|<td>y1</td>|}}
{{If|{{{1}}}|<td>y1</td>|}}
{{If|{{{3}}}|<td>y2</td>|}}
{{If|{{{3}}}|<td>y2</td>|}}
{{If|{{{5}}}|<td>y3</td>|}}
{{If|{{{5}}}|<td>y3</td>|}}
{{If|{{{7}}}|<td>y4</td>|}}
{{If|{{{7}}}|<td>y4</td>|}}
</tr></table></td>
</tr><tr>
</tr><tr>
{{If|{{{1}}}|<td>{{{2}}}</td>|}}
{{If|{{{1}}}|<td>{{{2}}}</td>|}}

Revision as of 23:16, June 23, 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.