Template:Tlsubevent: Difference between revisions
Jump to navigation
Jump to search
imported>Robert W King mNo edit summary |
imported>Robert W King mNo edit summary |
||
Line 3: | Line 3: | ||
border: 0.15em solid #000; | border: 0.15em solid #000; | ||
height:{{{height}}}; | height:{{{height}}}; | ||
top:{{#expr: {{{margin}}}*1.5}}; | top:{{#expr: ({{{margin}}}*1.5)}}; | ||
left:3em; | left:3em; | ||
width:3.5em; | width:3.5em; |
Revision as of 12:22, 28 April 2008
<div style="position:relative; border: 0.15em solid #000; height:{{{height}}}; top:Expression error: Unrecognized punctuation character "{".; left:3em; width:3.5em; border-top:0; border-bottom:1; border-left:1; border-right:0;
margin-top:-{{{height}}};">{{{event}}}
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) |margin=how far down the "stem" appears |height=height of the "stem" }}
Sample
See Template:Timeline/Sample, specifically Template:Timeline/Sample#Test_tlsubevent
Caveats
- See Template:Timeline/Sample for issues.
- you will probably have to adjust the "height" and "margin" for each subevent! I apologize that it is like this, but the varying height of the initial {{tlevent}} makes it this way.
Authors