Template:Tlsubevent

From Citizendium
Revision as of 13:48, 28 April 2008 by imported>Robert W King
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
{{{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!
  • There is a -10px margin on each element to make it "look right"; you'll have to compensate on each additional tlsubevent (not the first one)

Authors