Template:Tlsubevent: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Robert W King
mNo edit summary
imported>Robert W King
mNo edit summary
Line 22: Line 22:
{{newtemplate
{{newtemplate
|authors=*[[User:Robert_W_King|Robert King]]
|authors=*[[User:Robert_W_King|Robert King]]
|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.
|caveats=See [[Template:Timeline/Sample]] for issues.  Also, '''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 {{tl|tlevent}} makes it this way.  
|sample=See [[Template:Timeline/Sample]], specifically [[Template:Timeline/Sample#Test_tlsubevent]]
|sample=See [[Template:Timeline/Sample]], specifically [[Template:Timeline/Sample#Test_tlsubevent]]
|description= a subevent timeline card to go right after {{tl|tlevent}} when using the {{tl|timeline}} template.
|description= a subevent timeline card to go right after {{tl|tlevent}} when using the {{tl|timeline}} template.
Line 31: Line 31:
|event=your event here
|event=your event here
|color=background color (in hex, "plain english" colors, or shortened hex/rgb)
|color=background color (in hex, "plain english" colors, or shortened hex/rgb)
|margin=how far down the "stem" appears
|height=height of the "stem"
}}
}}
</pre>
</pre>
}}
}}
</noinclude>
</noinclude>

Revision as of 13:23, 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. Also, 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