timeline.ftl
1 <#--
2 Macro: timeline
3
4 Description: Generates an HTML <ul> element to display a timeline, with an optional class and ID.
5
6 Parameters:
7 - class (string, optional): additional classes to add to the HTML code.
8 - id (string, optional): the ID of the <ul> element containing the timeline.
9 - params (string, optional): additional parameters to add to the HTML code.
10 -->
11 <#macro timeline class='' id='' params=''>
12 <ul class="list list-timeline<#if class !=''> ${class}</#if>"<#if id !=''> id="${id}"</#if><#if params !=''> ${params}</#if>>
13 <#nested>
14 </ul>
15 </#macro>