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 1: | Line 1: | ||
<div style="display:inline;"> | |||
<div style="position:relative; | <div style="position:relative; | ||
border: 0.15em solid #000; | border: 0.15em solid #000; | ||
Line 18: | Line 19: | ||
z-index:3; | z-index:3; | ||
margin-bottom:{{{margin}}};"><font style="padding: 4px; margin:4px; display:block;">{{{event}}}</font> | margin-bottom:{{{margin}}};"><font style="padding: 4px; margin:4px; display:block;">{{{event}}}</font> | ||
</div> | </div> | ||
</div> | |||
<noinclude> | <noinclude> | ||
{{newtemplate | {{newtemplate |
Revision as of 14:53, 18 April 2008
{{{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