Template:Tlsubevent: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Robert W King
mNo edit summary
imported>Robert W King
mNo edit summary
Line 1: Line 1:
<div style="position:relative;
<div style="position:relative;
border: 0.15em solid #000;
border: 0.15em solid #000;
height:{{{height}}}px;
height:{{{height}}};
left:3em;
left:3em;
width:3.5em;
width:3.5em;
Line 9: Line 9:
border-right:1;
border-right:1;
z-index:3;
z-index:3;
margin-top:{{#expr: {{{height}}}-13}}px;"></div>
margin-top:{{{margin}}};"></div>
<!-- <div style="position:relative;  
<!-- <div style="position:relative;  
border: 0.05em solid #000;  
border: 0.05em solid #000;  

Revision as of 13:07, 18 April 2008



Template Description

a subevent timeline card to go right after {{tlevent}} when using the {{timeline}} template.

Execution

{{tlsubevent
|width=width in pixels, percent, or em (recommended using fixed width)
|event=your event here
|color=background color (in hex, "plain english" colors, or shortened hex/rgb)
}}

Sample

See Template:Timeline/Sample, specifically Template:Timeline/Sample#Test_tlsubevent

Caveats

See Template:Timeline/Sample for issues. Currently only "half-working" in that it only seems to work if your tlevent is two lines long. User-beware.

Authors