Difference between revisions of "Template:InBand"

From 2value wiki 2
Jump to navigation Jump to search
 
Line 1: Line 1:
{{#ifexpr: {{{2}}} < {{{1}}}-{{{3}}} |late| {{#ifexpr: {{{2}}} > {{{1}}}+{{{3}}} |early|inband}}  }}
+
<!--
 +
InBand: geeft een van drie waarden terug: late, early fo inband
 +
 
 +
Henk van Cann may 3th 2010: Urgency calculates the colors in weeks between the current date and the two arguments that are given
 +
{{{1}}} is the Due date in weeks
 +
{{{2}}} is de current date in weeks before enddate, often resulting from WeekDiff call
 +
{{{3}}} is the bandwith around the due date to compare with current date
 +
 
 +
 
 +
FORMAT: {{InBand|<weeknumber>|<weeknumber>|<weken>}}
 +
Valid Calls:
 +
{{InBand|13|12|30*0.2}}
 +
-->{{#ifexpr: {{{2}}} < {{{1}}}-{{{3}}} |late| {{#ifexpr: {{{2}}} > {{{1}}}+{{{3}}} |early|inband}}  }}

Latest revision as of 20:51, 3 May 2010

Expression error: Unrecognized punctuation character "{".