Difference between revisions of "VTimelineDrawLabels"
From Sega Retro
Line 3: | Line 3: | ||
| {{VTimelineDateLabel|{{#var:i}}-01-01}}{{incvar|i}}{{#vardefine:j|1}}{{#while: | | {{VTimelineDateLabel|{{#var:i}}-01-01}}{{incvar|i}}{{#vardefine:j|1}}{{#while: | ||
| {{#ifexpr:{{#var:j}} < 12|true}} | | {{#ifexpr:{{#var:j}} < 12|true}} | ||
− | | {{VTimelineDateLabel|{{#var:i}}-{{ | + | | {{VTimelineDateLabel|{{#var:i}}-{{padleft:{{#var:j}}|2|0}}-01|month=yes}}{{incvar|j}} |
}} | }} | ||
}}{{clearvar|i}}</includeonly><noinclude>Template to draw all the labels and things for [[Template:VTimeline]] | }}{{clearvar|i}}</includeonly><noinclude>Template to draw all the labels and things for [[Template:VTimeline]] |
Revision as of 10:44, 24 April 2022
Template to draw all the labels and things for Template:VTimeline