Modèle:Datation : Différence entre versions

De Wiki @ Brest

 
(26 révisions intermédiaires par le même utilisateur non affichées)
Ligne 1 : Ligne 1 :
 
{{#if:{{{start|}}}
 
{{#if:{{{start|}}}
  | Du {{{start|}}} au {{{end}}}
+
  | [[has_start_date::{{{start}}}|]] [[has_end_date::{{{end}}}|]] [[has_full_start_time::{{{start}}}|]] [[has_full_end_time::{{{end}}}|]]
 +
{{#set_internal_recurring_event:Is instance of
 +
    |property=Has date
 +
    |start={{{start|}}}
 +
    |end={{{end|}}}
 +
    |unit=day
 +
    |period=1}}
 +
[[event::Du {{{start|}}} au {{{end|}}}| ]][[is_recurrent::true|:true]]
 +
| [[is_recurrent::false| ]]
 
}}
 
}}
 
{{#if:{{{date|}}}
 
{{#if:{{{date|}}}
  | Le {{{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