Modèle:Periode : Différence entre versions

De Wiki @ Brest

(Page créée avec « {{#if:{{{start|}}} | [[has_start_date::{{{start}}}|]] [[has_end_date::{{{end}}}|]] [[has_full_start_time::{{{start}}}|]] [[has_full_end_time::{{{end}}}|]] {{#set_internal... »)
 
 
Ligne 9 : Ligne 9 :
 
[[event::Du {{{start|}}} au {{{end|}}}| ]][[is_recurrent::true|:true]]
 
[[event::Du {{{start|}}} au {{{end|}}}| ]][[is_recurrent::true|:true]]
 
  | [[is_recurrent::false| ]]
 
  | [[is_recurrent::false| ]]
 +
}}
 +
{{#if:{{{date|}}}
 +
| {{#set_internal_recurring_event:Is instance of
 +
    |property=Has date
 +
    |start={{{date|}}}
 +
    |end={{{date|}}}
 +
    |unit=day
 +
    |period=1}} [[has_start_date::{{{date}}}|]] [[has_end_date::{{{date}}}|]]
 +
{{#if:{{{matin_o|}}}
 +
  | {{#if:{{{matin_f|}}}
 +
        | {{#if:{{{soir_o|}}} | | [[has_full_start_time::{{{date}}} {{{matin_o}}}|]] [[has_full_end_time::{{{date}}} {{{matin_f}}}|]] [[event::Le '''{{{date}}}''' de {{{matin_o}}} à {{{matin_f}}}| ]] }}
 +
        | [[has_full_start_time::{{{date}}} {{{matin_o}}}|]] [[has_full_end_time::{{{date}}} {{{soir_f}}}|]] [[event::Le '''{{{date}}}''' de {{{matin_o}}} à {{{soir_f}}}| ]]
 +
      }}
 +
  | {{#if:{{{soir_o|}}}
 +
        | [[has_full_start_time::{{{date}}} {{{soir_o}}}|]] [[has_full_end_time::{{{date}}} {{{soir_f}}}|]] [[event::Le '''{{{date}}}''' de {{{soir_o}}} à {{{soir_f}}}| ]]
 +
        | [[has_full_start_time::{{{date}}}|]] [[has_full_end_time::{{{date}}}|]] [[event::Le '''{{{date}}}'''| ]]
 +
      }}
 +
}}
 +
{{#if:{{{soir_o|}}}
 +
  | {{#if:{{{matin_o|}}}
 +
        | [[has_full_start_time::{{{date}}} {{{matin_o}}}|]] [[has_full_end_time::{{{date}}} {{{matin_f}}}|]] [[has_full_start_time::{{{date}}} {{{soir_o}}}|]] [[has_full_end_time::{{{date}}} {{{soir_f}}}|]] [[event::Le '''{{{date}}}''' de {{{matin_o}}} à {{{matin_f}}} et de {{{soir_o}}} à {{{soir_f}}}| ]]
 +
      }}
 +
}}
 
}}
 
}}

Version actuelle en date du 16 juillet 2015 à 11:16