Template:Scalemarkers/doc
呢頁係Template:Scalemarkers嘅說明文件(子頁)。 呢度包含咗用法資料、分類同埋其他唔屬於個模本身嘅內容。 |
Prints the scale markers for {{Graphical timeline}}.
Pseudo code: if (from + (loops*increment) + offset) < to) then print a bar with attibutes: top = height × (offset= (loop number × increment) + position of first marker to print) And for intermediate markers: if (from + (increment*loop) + (increment/2) + offset <= to) then print a bar with attributes: top = height * (offset=(loop * increment + (increment/2) + position of first marker to print)