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)
The above documentation is transcluded from Template:Scalemarkers/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |