Template:Timeline: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Robert W King
No edit summary
imported>Robert W King
(The title will eventually be in there.)
 
(16 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{|table border="1" cellpadding="0" cellspacing="0" style="type:text/css; position:relative;" width=100%
{|table border="0" cellpadding="0" cellspacing="0" style="type:text/css;" width=100%
|<div style="position: absolute;
|<div style="position: relative;
height:auto;
width:100%;"><div style="position: absolute;
border:0.15em solid #000;
border:0.15em solid #000;
top:0em;
top:4em;
left:1.9em;
left:1.9em;
width:0em;
width:0em;
Line 10: Line 12:
border-right:1;
border-right:1;
margin: 0 0 0 0;
margin: 0 0 0 0;
height:100%;
height:{{{height}}}em;
z-index:1;">
z-index:1;">
</div><div style="position: relative;
</div>
height:auto;
width:100%;">
</div>
</div>
<noinclude>
<noinclude>
|}
|}
{{newtemplate
{{newtemplate
|description=Establishes the operating field for a timeline.  You <u>must</u> use this before using {{tl|TLevent}}.  '''Do not use this right now; it is largely incomplete!'''
|description=Establishes the operating field for a timeline.  You <u>must</u> use this before using {{tl|TLevent}}.   
|execution=<pre>
|execution=<pre>
{{Timeline
{{Timeline
|height= this is for the leading line. (in em)
|title=Put title here.}}
|title=Put title here.}}
</pre>
</pre>
|sample=no sample available.
|sample= See [[Template:Timeline/Sample]]
|caveats= When using {{tl|TLevent}} make sure to add <code><nowiki>|}</nowiki></code> at the bottom to ensure the table gets closed off. (Otherwise it will wreck the formatting.))
|caveats=
*When using {{tl|TLevent}} make sure to add <code><nowiki>|}</nowiki></code> at the bottom to ensure the table gets closed off. (Otherwise it will wreck the formatting.))
*If you find the "leading line" isn't long enough, just increase the "height" value (in em).
*To push wiki text down and prevent the timeline from appearing "on top" of text below it, use <code><nowiki><br/></nowiki></code>ses after the final {{tl|TLevent}} and the subsequent table close (<code><nowiki>|}</nowiki></code>).
|authors=*[[User:Robert_W_King|Robert King]]
|authors=*[[User:Robert_W_King|Robert King]]
}}
}}
</noinclude>
</noinclude>

Latest revision as of 22:02, 10 April 2008



Template Description

Establishes the operating field for a timeline. You must use this before using {{TLevent}}.

Execution

{{Timeline
|height= this is for the leading line. (in em)
|title=Put title here.}}

Sample

See Template:Timeline/Sample

Caveats

  • When using {{TLevent}} make sure to add |} at the bottom to ensure the table gets closed off. (Otherwise it will wreck the formatting.))
  • If you find the "leading line" isn't long enough, just increase the "height" value (in em).
  • To push wiki text down and prevent the timeline from appearing "on top" of text below it, use <br/>ses after the final {{TLevent}} and the subsequent table close (|}).

Authors