Wiki Law School will soon be moving! Please update your bookmarks. Our future address is www.wikilawschool.org |
Template:Timeline: Difference between revisions
From wikilawschool.net. Wiki Law School does not provide legal advice. For educational purposes only.
No edit summary |
Lost Student (talk | contribs) mNo edit summary |
||
(142 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly><templatestyles src="Timeline/styles.css" /><div class="timeline-container"> | ||
< | <div class="timeline"> | ||
< | {{#if:{{{1|}}}{{{1-title|}}}{{{2|}}}| | ||
{{ | <div class="timeline-content"> | ||
{{ | <div class="timeline-period">{{{2|}}}</div> | ||
{{ | <div class="timieline-title">{{{1-title|}}}</div>{{{1|}}} | ||
{{ | </div>}} | ||
{{ | {{#if:{{{3|}}}{{{4-title|}}}{{{4|}}}| | ||
{{ | <div class="timeline-content"> | ||
<div class="timeline-period">{{{3|}}}</div> | |||
{{ | <div class="timieline-title">{{{4-title|}}}</div>{{{4|}}} | ||
{{ | </div>|}} | ||
{{ | {{#if:{{{5|}}}{{{5-title|}}}{{{6|}}}| | ||
{{ | <div class="timeline-content"> | ||
{{ | <div class="timeline-period">{{{6|}}}</div> | ||
{{ | <div class="timieline-title">{{{5-title|}}}</div>{{{5|}}} | ||
</ | </div>|}} | ||
{{ | {{#if:{{{7|}}}{{{8-title|}}}{{{8|}}}| | ||
{{ | <div class="timeline-content"> | ||
{{ | <div class="timeline-period">{{{7|}}}</div> | ||
{{ | <div class="timieline-title">{{{8-title|}}}</div>{{{8|}}} | ||
{{ | </div>|}} | ||
{{ | {{#if:{{{9|}}}{{{9-title|}}}{{{10|}}}| | ||
</ | <div class="timeline-content"> | ||
This template is used to create a short horizontal timeline (no more than | <div class="timeline-period">{{{10|}}}</div> | ||
<div class="timieline-title">{{{9-title|}}}</div>{{{9|}}} | |||
</div>|}} | |||
{{#if:{{{11|}}}{{{12-title|}}}{{{12|}}}| | |||
<div class="timeline-content"> | |||
<div class="timeline-period">{{{11|}}}</div> | |||
<div class="timieline-title">{{{12-title|}}}</div>{{{12|}}} | |||
</div>|}} | |||
{{#if:{{{13|}}}{{{13-title|}}}{{{14|}}}| | |||
<div class="timeline-content"> | |||
<div class="timeline-period">{{{14|}}}</div> | |||
<div class="timieline-title">{{{13-title|}}}</div>{{{13|}}} | |||
</div>|}} | |||
{{#if:{{{15|}}}{{{16-title|}}}{{{16|}}}| | |||
<div class="timeline-content"> | |||
<div class="timeline-period">{{{15|}}}</div> | |||
<div class="timieline-title">{{{16-title|}}}</div>{{{16|}}} | |||
</div>|}} | |||
{{#if:{{{17|}}}{{{17-title|}}}{{{18|}}}| | |||
<div class="timeline-content"> | |||
<div class="timeline-period">{{{18|}}}</div> | |||
<div class="timieline-title">{{{17-title|}}}</div>{{{17|}}} | |||
</div>|}} | |||
{{#if:{{{19|}}}{{{20-title|}}}{{{20|}}}| | |||
<div class="timeline-content"> | |||
<div class="timeline-period">{{{19|}}}</div> | |||
<div class="timieline-title">{{{20-title|}}}</div>{{{20|}}} | |||
</div>|}} | |||
</div> | |||
</includeonly><noinclude> | |||
This template is used to create a short horizontal timeline (no more than 10 events). | |||
==Usage== | ==Usage== | ||
<nowiki>{{Timeline|1|2|3|4|5|6|7|8|9|10| | <nowiki>{{Timeline | ||
|This is the first event | |||
|1-title=First | |||
|4-title=''Second'' | |||
|Jan. 1, 1980 | |||
|Jan. 2, 1980 | |||
|This is the second event | |||
|This is the third event | |||
|Jan. 3, 1980 | |||
|Jan. 4, 1980 | |||
|This is the fourth event | |||
|This is the '''fifth''' event | |||
|Jan. 5, 1980 | |||
|Jan. 6, 1980 | |||
|This is the ''sixth'' event | |||
|This is the [[seventh event]] | |||
|Jan. 7, 1980 | |||
|Jan. 8, 1980 | |||
|This is the eighth event | |||
|This is the ninth event | |||
|Jan. 9, 1980 | |||
|Jan. 10, 1980 | |||
|This is the tenth event | |||
}}</nowiki> | |||
Where: | Where: | ||
odd | * odd-numbered parameters (not counting the "#-title" parameters) are the boxes that appear above the horizontal timeline. | ||
* even numbered parameters (not counting the "#-title" parameters) are the boxes that appear below the horizontal timeline. | |||
'''Example:''' | |||
The template usage demonstrated above '''results in:''' | |||
{{:Sample Timeline}} | |||
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. | |||
</noinclude> |
Latest revision as of 03:50, December 16, 2023
This template is used to create a short horizontal timeline (no more than 10 events).
Usage
{{Timeline |This is the first event |1-title=First |4-title=''Second'' |Jan. 1, 1980 |Jan. 2, 1980 |This is the second event |This is the third event |Jan. 3, 1980 |Jan. 4, 1980 |This is the fourth event |This is the '''fifth''' event |Jan. 5, 1980 |Jan. 6, 1980 |This is the ''sixth'' event |This is the [[seventh event]] |Jan. 7, 1980 |Jan. 8, 1980 |This is the eighth event |This is the ninth event |Jan. 9, 1980 |Jan. 10, 1980 |This is the tenth event }}
Where:
- odd-numbered parameters (not counting the "#-title" parameters) are the boxes that appear above the horizontal timeline.
- even numbered parameters (not counting the "#-title" parameters) are the boxes that appear below the horizontal timeline.
Example:
The template usage demonstrated above results in:
Jan. 1, 1980
First
This is the first event
Jan. 2, 1980
Second
This is the second event
Jan. 3, 1980
This is the third event
Jan. 4, 1980
This is the fourth event
Jan. 5, 1980
This is the fifth event
Jan. 6, 1980
This is the sixth event
Jan. 7, 1980
This is the seventh event
Jan. 8, 1980
This is the eighth event
Jan. 9, 1980
This is the ninth event
Jan. 10, 1980
This is the tenth event
Just leave the number and equal sign alone for empty, later slots.
Note: To leave a space blank (skipping a slots), you must enter " " for that timeline entry.