Template:AdventCalendarSection

From A KoL Wiki
{{#ifexpr:{{{1|1}}}>={{CURRENTDAY}}

|[[File:Advent_{{{1|1}}}.gif|Section #{{{1|1}}}]]

|[[File:Torn{{#rand:1|13}}.gif|Torn-Out Section]]}}

This template generates a cell for the expanded Advent Calendar used since 2013.

The first parameter is the day associated with the cell. If the day is same or less than today's day ({{CURRENTDAY}}), the template will display the appropriate section image. If the day is greater than today's day, the template will show a random torn section image.

Usage

{{AdventCalendarSection|5}}

Torn-Out Section

{{AdventCalendarSection|12}}

Section #12