Template:TLevent: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Robert W King
No edit summary
imported>Robert W King
No edit summary
Line 48: Line 48:
*Make sure your units for width are in '''em''' or '''percent'''.
*Make sure your units for width are in '''em''' or '''percent'''.
*Use <code><nowiki><br/></nowiki></code> after your table to push the wiki text down so it won't overlap.
*Use <code><nowiki><br/></nowiki></code> after your table to push the wiki text down so it won't overlap.
*The following tags can be used:
**<code><nowiki><big></big></nowiki></code>
**<code><nowiki><small></small></nowiki></code>
**Wiki-style headings using "="s can be used, but they must be formatted like such: <code><nowiki><h3></h3></nowiki></code>, <code><nowiki><h2></h2></nowiki></code>, etc.
|authors=*[[User:Robert_W_King|Robert King]]
|authors=*[[User:Robert_W_King|Robert King]]
}}
}}
</noinclude>
</noinclude>

Revision as of 14:58, 10 March 2008

{{{event}}}





Template Description

Used as an element within {{Timeline}}. Please note that all units used on this template should be in "em"s, not pixels!

Execution

{{TLevent
|event= Describe your event.
|width= Width in em or percent
|color= in "plain english", #FFF hex, or #123ABC hex.
}}

Sample

This one time, in band camp... I used the color white





Caveats

  • After you place the last event in the timeline, be sure to put |} at the end to close off the table.
  • Make sure your units for width are in em or percent.
  • Use <br/> after your table to push the wiki text down so it won't overlap.
  • The following tags can be used:
    • <big></big>
    • <small></small>
    • Wiki-style headings using "="s can be used, but they must be formatted like such: <h3></h3>, <h2></h2>, etc.

Authors