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)
| 上面嘅解係穿透包含咗自Template:Scalemarkers/doc。 (改 | 史) 編者可以響呢個模嘅沙盤 (開 | 鏡)同埋試例 (開)版度試驗佢。 請加個類到個/doc嘅細版度。 呢個模嘅細版。 |