Difference between revisions of "Template:Event"

From 2value wiki 2
Jump to navigation Jump to search
Line 1: Line 1:
 +
<!--
 
Henk van Cann jan 11th 2010: self build template tree
 
Henk van Cann jan 11th 2010: self build template tree
 
Warning: "Due" works on week-numbers, NOT on dates!!
 
Warning: "Due" works on week-numbers, NOT on dates!!
Line 6: Line 7:
 
{{{2}}} = year of the event
 
{{{2}}} = year of the event
 
{{{3}}} = weeknumber of the event
 
{{{3}}} = weeknumber of the event
{{{4}}} = timespan of the organisation (actions & delivarables) in number of weeks
+
{{{4}}} = timespan of the signaling of the organisation (actions & delivarables) in number of weeks. Be sure that is parameter covers the weeks before the first deliverable due dates.
  
 
FORMAT: {{Due|<weeknumber>|<milestone-year>|milestone-week>}}
 
FORMAT: {{Due|<weeknumber>|<milestone-year>|milestone-week>}}
Line 14: Line 15:
  
 
DO NOT call as follows:
 
DO NOT call as follows:
{{Due | 10}}
+
{{Event | 10}}
{{Due|10|2011}}; this is a valid but error prone call, it suggests an certain year and exactly the same week as the default week
+
{{Event|10|2011}}; this is a valid but error prone call, it suggests an certain year and exactly the same week as the default week
{{Due|10||20}}; this is a valid but error prone call, it suggests an certain week and exactly the same year as default, which is hidden in the template.
+
{{Event|10||20}}; this is a valid but error prone call, it suggests an certain week and exactly the same year as default, which is hidden in the template.
 +
{{Event|10|2011|23|20}}
  
  
Line 30: Line 32:
  
 
BE CAREFULL NOT TO INTRODUCE unintentional SPACES AND CR'S in the following statement-->
 
BE CAREFULL NOT TO INTRODUCE unintentional SPACES AND CR'S in the following statement-->
<section begin=due/><span style="color:{{Urgency | {{WeekDiff |{{{2|2010}}}|{{{3|16}}} }} }}; background:#bbb">{{{1}}} wkB4</span><sup>[[Associate:Due|{{WeekDiff | {{ FocalYear |{{{1}}}|{{{2|2010}}}|{{{3|16}}} |3 }}| {{ FocalWeek |{{{1}}}|{{{3|16}}} }} }}_buf]]</sup><span style="color:{{Urgency | {{WeekDiff | {{ FocalYear |{{{1}}}|{{{2|2010}}}|{{{3|16}}} |3 }}| {{ FocalWeek |{{{1}}}|{{{3|16}}} }} }} |4 }}; background:#ccc">&diams;</span><section end=due/>
+
<section begin=due/><span style="color:{{Urgency | {{WeekDiff |{{{2}}}|{{{3}}} }} }}; background:#bbb">{{{1}}} wkB4</span><sup>[[Associate:Due|{{WeekDiff | {{ FocalYear |{{{1}}}|{{{2}}}|{{{3}}} |3 }}| {{ FocalWeek |{{{1}}}|{{{3}}} }} }}_buf]]</sup><span style="color:{{Urgency | {{WeekDiff | {{ FocalYear |{{{1}}}|{{{2}}}|{{{3}}} |3 }}| {{ FocalWeek |{{{1}}}|{{{3}}} }} }} |4 }}; background:#ccc">&diams;</span><section end=due/>

Revision as of 15:22, 3 May 2010