Help:EasyTimeline syntax: Difference between revisions

Content deleted Content added
m Performed minor cleanup.
Line 636:
:The text may include embedded links (see '''Notes 1 & 2''') for use in clickable maps.
;textcolor (O) : Defines the color of the text. The color id specified should be defined first with command [[#Colors|Colors]]. When not specified color black will be assumed.
;fontsize (O) : Specify a point size between 6 and 30, or (preferably) one of tags XS, S (default), M, L or XL. See [[#Font Supportsupport|Font Supportsupport]] for more details.
;align (O) : Specify center (default), left or right.
;link (O) : Specify a web link (see '''Note 1''') (URL) for use in clickable maps. The text will be shown as a blue clickable link.
Line 728:
;link (O) : Specify a web link (see '''Note 1''') (URL) for use in clickable maps. The label along the axis will be shown as a blue clickable link.
;textcolor (O) : Defines the color of the text. The color id specified should be defined first using [[#Colors|Colors]]. When not specified, the color is black.
;fontsize (O) : Specify a point size between 6 and 30, or (preferably) one of tags '''XS''', '''S''' (default), '''M''', '''L''' or '''XL''' (see [[#Font Supportsupport|Font Supportsupport]] for more details).
;tabs (O) : Defines position and alignment for tab character: '''^''' (caret). Specify multiple tab settings as tabs: (''x<sup>1</sup>-a<sup>1</sup>,x<sup>2</sup>-a<sup>2</sup>,x<sup>3</sup>-a<sup>3</sup>'', etc..) where
:*''x<sup>n</sup>'' is the horizontal displacement in absolute measurements from the left side of the text
Line 828:
</pre>
 
=== Text Inputinput ===
Text input is subject to a few rules:
 
:1). Only a subset of unicode[[Unicode]] is allowed for font rendering, but unicodeUnicode in links should work for all characters. See also [[#Font Supportsupport|fontFont support]].
 
:2). When text should contain spaces, either specify these by using underscores or place the text between double quotes.
:Exception: when the text attribute is the last attribute on a line, spaces are allowed (no confusion will arise where the text stops and the next attribute starts, that is—to be precise—when no colons occur in the text).
 
Line 849:
</pre>
 
:3). In data lines following command [[#TextData|TextData]] one character has special meaning:
:'''^''' (caret) means ''tab''
 
Line 997:
 
== Font Support ==
Timeline has somewhat limited unicodeUnicode support. It uses FreeSans.ttf font, which supports a subset of all the possible glyphs (it supports Cyrillic alphabet, east-Europe diactrics and kana for instance, but lacks kanji). No other fonts are available at this time.
 
<small>Example:</small>
Line 1,053:
{{Template talk:Etl}}
 
Bug fixed by Brion Vibber on 2008-12-10. <small>Note that some editors were finding timelines are not rendering properly on Wikipedia,. (See http://www.mediawiki.org/wiki/Extension_talk:EasyTimeline#possible_bug) and bug: [[phab:T18085]] has been reported. -[[User:84user|84user]] ([[User talk:84user|talk]]) 01:20, 4 November 2008 (UTC)</small>
 
{{Wikipedia technical help|collapsed}}