Difference between revisions of "Template:Urgency"

From 2value wiki 2
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 7: Line 7:
 
{{{3}}} is the timespan in weeks that is considered
 
{{{3}}} is the timespan in weeks that is considered
  
FORMAT: {{Urgency|<yearnumber>|<weeknumber>}}
+
Be carefull the values 0.2 in this codesnippet is very important
 +
  {{#switch: {{InBand | {{{1}}}| {{{2}}}| {{{3}}}*0.2 }}
 +
The sequence in the switch statement below is crucial: the first match will be returned, which results in a outer-in evaluation of the possible Urgency-situation.
 +
 
 +
FORMAT: {{Urgency|<weeknumber>|<weeknumber>|<number of weeks>}}
 
Valid Calls:  
 
Valid Calls:  
 
{{Urgency|13|12|30}}
 
{{Urgency|13|12|30}}
 
-->
 
-->
{{InBand | {{{1}}}| {{{2}}}| {{{3}}}*0.1}} <br/>
 
 
{{#switch: {{InBand | {{{1}}}| {{{2}}}| {{{3}}}*0.2 }}  
 
{{#switch: {{InBand | {{{1}}}| {{{2}}}| {{{3}}}*0.2 }}  
 
| late = red
 
| late = red

Latest revision as of 20:55, 3 May 2010

black