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 15: | Line 15: | ||
<div style="position:relative; | <div style="position:relative; | ||
border: 0.05em solid #000; | border: 0.05em solid #000; | ||
display:inline; | |||
top:auto; | top:auto; | ||
bottom:auto; | bottom:auto; | ||
Line 21: | Line 22: | ||
background-color: {{{color}}}; | background-color: {{{color}}}; | ||
z-index:3; | z-index:3; | ||
margin-top:1em;"><font style="padding: 4px; margin:4px; display:block;">{{{event}}}</font> | margin-top:1em; | ||
margin-bottom:.5em;"><font style="padding: 4px; margin:4px; display:block;">{{{event}}}</font> | |||
</div> | </div> | ||
<noinclude> | <noinclude> |
Revision as of 10:35, 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) }}
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