Template:Event/next: Difference between revisions

From A KoL Wiki
imported>Dcorrin
m Syntax/logic error
imported>Dcorrin
m drop trailing space
Line 4: Line 4:
+ {{#expr: {{{2|1}}} - {{moons/ronald}} }}
+ {{#expr: {{{2|1}}} - {{moons/ronald}} }}
+ {{#ifexpr: ({{ConvMonthNumber|{{{1|Jarlsuary}}}}}) < ({{#expr:((({{moons/today}} + 3) / 8) round 0) mod 12}}) | 96 | 0 }}
+ {{#ifexpr: ({{ConvMonthNumber|{{{1|Jarlsuary}}}}}) < ({{#expr:((({{moons/today}} + 3) / 8) round 0) mod 12}}) | 96 | 0 }}
}}
}}<noinclude>
<noinclude>


Computes number of days until next date specified.<br/>
Computes number of days until next date specified.<br/>

Revision as of 17:08, 3 December 2012

1

Computes number of days until next date specified.
Paramter 1 is the month (in Text), Parameter 2 is the Day
e.g. {{Event/next|Bill|3}}
Date defaults to Jarlsuary 1st