Template:TLevent: Difference between revisions
Jump to navigation
Jump to search
imported>Robert W King No edit summary |
imported>Chris Day (This makes it look like pixels are not OK which is cinfusing since you then mention the best width is between 500 and 600.) |
||
Line 46: | Line 46: | ||
|caveats= | |caveats= | ||
*After you place the last event in the timeline, be sure to put <code><nowiki>|}</nowiki></code> at the end to close off the table. | *After you place the last event in the timeline, be sure to put <code><nowiki>|}</nowiki></code> at the end to close off the table. | ||
* | *The width should be specified as being either ''pixels (px)''', '''em''' or '''percent (%)'''. '''Your preference should be to use fixed values''' to prevent problems with browser width scaling problems. 500 - 600 px seems to be a pretty good choice for the new skin. | ||
*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: | *The following tags can be used: |
Revision as of 09:44, 11 April 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, or pixels. (Can be static or dynamic. pick!) |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. - The width should be specified as being either pixels (px)', em or percent (%). Your preference should be to use fixed values to prevent problems with browser width scaling problems. 500 - 600 px seems to be a pretty good choice for the new skin.
- 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.
- See Template:Timeline/Sample#Test_with_various_functions for a continuing test of what wiki functions may be (safely!) used with this template.
Authors