Template:Timeline/Event: Difference between revisions

From Fish Family Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:
* First parameter: Event text.  Date and description are separated by a colon (:).
* First parameter: Event text.  Date and description are separated by a colon (:).
</noinclude><includeonly>|-
</noinclude><includeonly>|-
| class="timeline-table-year" | {{#explode:{{{1}}}|:|0}}
| class="timeline-table-year" | {{Trim| text={{#explode:{{{1}}}|:|0}} }}
| class="timeline-table-description" | {{#explode:{{{1}}}|:|1}}</includeonly>
| class="timeline-table-description" | {{Trim| text={{#sub:{{{1}}}|{{#expr:{{#pos:{{{1}}}|:}}+1}}}} }}</includeonly>

Latest revision as of 20:16, 8 December 2015

Produce an event line for a timeline.

  • First parameter: Event text. Date and description are separated by a colon (:).