Difference between revisions of "Template:Urgency"

From 2value wiki 2
Jump to navigation Jump to search
Line 9: Line 9:
 
FORMAT: {{Urgency|<yearnumber>|<weeknumber>}}
 
FORMAT: {{Urgency|<yearnumber>|<weeknumber>}}
 
Valid Calls:  
 
Valid Calls:  
{{Urgency|13|2|30}}
+
{{Urgency|13|12|30}}
 
-->
 
-->
 
{{#switch: {{Inband {{{2}}}| {{{1}}} | ({{{3}}}*0.2) }}  
 
{{#switch: {{Inband {{{2}}}| {{{1}}} | ({{{3}}}*0.2) }}  
| late = red
+
|late = red
| early = green
+
|early = green
| inband = {{#switch: {{Inband {{{2}}}| {{{1}}} | ({{{3}}}*0.1) }}  
+
|inband = {{#switch: {{Inband {{{2}}}| {{{1}}} | ({{{3}}}*0.1) }}  | late = salmon | early = yellowgreen | inband = white }}
  | late = salmon
+
|#default = black
| early = yellowgreen
 
| inband = white
 
}}
 
| #default = black
 
 
}}
 
}}

Revision as of 18:15, 3 May 2010

black