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 2: | Line 2: | ||
display:block; | display:block; | ||
border: 0.15em solid #000; | border: 0.15em solid #000; | ||
height: | height:3em; | ||
bottom:auto; | bottom:auto; | ||
left:3em; | left:3em; | ||
width:3.5em; | width:3.5em; | ||
border-top: | border-top:1; | ||
border-bottom:1; | border-bottom:1; | ||
border-left:1; | border-left:1; | ||
border-right: | border-right:1; | ||
z-index:2; | z-index:2; | ||
margin-top:0;"></div> | margin-top:0;"></div> | ||
<div style="position:relative; | <!-- <div style="position:relative; | ||
border: 0.05em solid #000; | border: 0.05em solid #000; | ||
top:auto; | top:auto; | ||
Line 23: | Line 22: | ||
margin-top:1em; | margin-top:1em; | ||
margin-bottom:.5em;"><font style="padding: 4px; margin:4px; display:block;">{{{event}}}</font> | margin-bottom:.5em;"><font style="padding: 4px; margin:4px; display:block;">{{{event}}}</font> | ||
</div> | </div> --> | ||
<noinclude> | <noinclude> | ||
{{newtemplate | {{newtemplate |
Revision as of 11:18, 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