Modèle:Inscription/Sejour : Différence entre versions

De Forum des Usages Coopératifs

 
(46 révisions intermédiaires par un utilisateur sont masquées)
Ligne 1 : Ligne 1 :
<includeonly>
+
<includeonly>{{#ifeq: {{{status}}}
{| class="wikitable" width="100%" style="padding:2px; margin:0;"
+
| comme intervenant
 +
| {{#ifeq: {{{type_chambre}}}
 +
    | {{Get|douche|{{{edition}}}}} € avec douche
 +
    | {{ #vardefine: mezel | {{Get|douche|{{{edition}}}}} }} [[has_shower::true| ]]
 +
    | {{ #vardefine: mezel | {{Get|mezel|{{{edition}}}}} }} [[has_shower::false| ]]
 +
    }}
 +
| {{#ifeq: {{{type_chambre}}}
 +
    | {{Get|douche|{{{edition}}}}} € avec douche
 +
    | {{ #vardefine: mezel | {{Get|douche|{{{edition}}}}} }} [[has_shower::true| ]]
 +
    | {{ #vardefine: mezel | {{Get|mezel|{{{edition}}}}} }} [[has_shower::false| ]]
 +
    }}
 +
}} {| class="wikitable" width="100%" style="padding:2px; margin:0;"
 
|-
 
|-
!  width="33%" | Hébergement :  
+
!  width="33%" | Hébergement : {{{type_chambre}}}
 
! width="33%" | Repas :
 
! width="33%" | Repas :
 
! width="33%" | Soirées :
 
! width="33%" | Soirées :
Ligne 8 : Ligne 19 :
 
|
 
|
 
{{#ifeq: {{{night1}}} | Oui
 
{{#ifeq: {{{night1}}} | Oui
  | * Réserve la nuit : [[is_hosted::06/30/2014]] - ''([[cost_night1::29]] € )''  | {{Nobr | [[cost_night1::0 | ]] }}
+
  | * Réserve la nuit : [[is_hosted::{{Get|day0}}]] - ''([[mezel1::{{#if:{{{mezel}}}|{{{mezel}}}|{{#var:mezel}}}}]] € )''
 +
  | {{Nobr| [[mezel1::0 | ]] }}
 
}}
 
}}
 
{{#ifeq: {{{night2}}} | Oui
 
{{#ifeq: {{{night2}}} | Oui
  | * Réserve la nuit : [[is_hosted::07/01/2014]] - ''([[cost_night2::29]] € )''  | {{Nobr | [[cost_night2::0 | ]] }}
+
  | * Réserve la nuit : [[is_hosted::{{#time:m/d/Y | {{Get|day0#ISO}} + 1 days}}]] - ''([[mezel2::{{#if:{{{mezel}}}|{{{mezel}}}|{{#var:mezel}}}}]] € )''
 +
  | {{Nobr| [[mezel2::0 | ]] }}
 
}}
 
}}
 
{{#ifeq: {{{night3}}} | Oui
 
{{#ifeq: {{{night3}}} | Oui
  | * Réserve la nuit : [[is_hosted::07/02/2014]] - ''([[cost_night3::29]] € )''  | {{Nobr | [[cost_night3::0 | ]] }}
+
  | * Réserve la nuit : [[is_hosted::{{#time:m/d/Y | {{Get|day0#ISO}} + 2 days}}]] - ''([[mezel3::{{#if:{{{mezel}}}|{{{mezel}}}|{{#var:mezel}}}}]] € )''
 +
  | {{Nobr| [[mezel3::0 | ]] }}
 
}}
 
}}
 
{{#ifeq: {{{night4}}} | Oui
 
{{#ifeq: {{{night4}}} | Oui
  | * Réserve la nuit : [[is_hosted::07/03/2014]] - ''([[cost_night4::29]] € )''  | {{Nobr | [[cost_night4::0 | ]] }}
+
  | * Réserve la nuit : [[is_hosted::{{#time:m/d/Y | {{Get|day0#ISO}} + 3 days}}]] - ''([[mezel4::{{#if:{{{mezel}}}|{{{mezel}}}|{{#var:mezel}}}}]] € )''
 +
  | {{Nobr| [[mezel4::0 | ]] }}
 
}}
 
}}
 +
{{#if: {{{night5|}}}|{{#ifeq: {{{night5}}} | Oui
 +
| * Réserve la nuit : [[is_hosted::{{#time:m/d/Y | {{Get|day0#ISO}} + 4 days}}]] - ''([[mezel5::{{#if:{{{mezel}}}|{{{mezel}}}|{{#var:mezel}}}}]] € )''
 +
| {{Nobr| [[mezel5::0 | ]] }}
 +
}}|{{Nobr| [[mezel5::0 | ]] }}}}
 
|
 
|
{{#ifeq: {{{repas1}}} | Oui
+
{{#ifeq: {{{buffet}}} | Oui | * Réserve le déjeuner : [[will_lunch::{{#time:m/d/Y | {{Get|day0#ISO}} + 1 days}}]] - ''( [[buffet::oui]] )'' | {{Nobr | [[buffet::non| ]]}} }}
| * Réserve le déjeuner : [[will_lunch::07 / 01 / 2014]] - ''([[cost_lunch1::0]] )'' | {{Nobr | [[cost_lunch1::0| ]] }}
+
{{#ifeq: {{{repas1}}} | Oui | * Réserve le déjeuner : [[will_lunch::{{#time:m/d/Y | {{Get|day0#ISO}} + 2 days}}]] - ''([[rak1::{{Get|rak}}]] € )'' | {{Nobr | [[rak1::0| ]] }} }}
}}
+
{{#ifeq: {{{repas2}}} | Oui | * Réserve le déjeuner : [[will_lunch::{{#time:m/d/Y | {{Get|day0#ISO}} + 3 days}}]] - ''([[rak2::{{Get|rak}}]] € )'' | {{Nobr | [[rak2::0| ]] }} }}
{{#ifeq: {{{repas2}}} | Oui
+
{{#ifeq: {{{repas3}}} | Oui | * Réserve le déjeuner : [[will_lunch::{{#time:m/d/Y | {{Get|day0#ISO}} + 4 days}}]] - ''([[rak3::{{Get|rak}}]] € )'' | {{Nobr | [[rak3::0| ]] }} }}
| * Réserve le déjeuner : [[will_lunch::07 / 02 / 2014]] - ''([[cost_lunch2::10]] € )'' | {{Nobr | [[cost_lunch2::0| ]] }}
+
}}
+
{{#ifeq: {{{repas3}}} | Oui
+
| * Réserve le déjeuner : [[will_lunch::07 / 03 / 2014]] - ''([[cost_lunch3::10]] € )'' | {{Nobr | [[cost_lunch3::0| ]] }}
+
}}
+
{{#ifeq: {{{repas4}}} | Oui
+
| * Réserve le déjeuner : [[will_lunch::07 / 04 / 2014]] - ''([[cost_lunch4::10]] € )'' | {{Nobr | [[cost_lunch4::0| ]] }}
+
}}
+
 
|
 
|
{{#ifeq: {{{fest1}}} | Oui
+
{{#ifeq: {{{fest1}}} | Oui | * Participe à la soirée : [[at_party::{{#time:m/d/Y | {{Get|day0#ISO}} + 1 days}}]] - ''([[fest1::{{Get|fest}}]] € )'' | {{Nobr | [[fest1::0| ]] }} }}
| * Participe à la soirée : [[at_party::07 / 01 / 2014]] - ''([[cost_fest1::10]] € )'' | {{Nobr | [[cost_fest1::0| ]] }}
+
{{#ifeq: {{{fest2}}} | Oui | * Participe à la soirée : [[at_party::{{Get|festif}}]] - ''([[fest2::{{Get|gala}}]] € )'' | {{Nobr | [[fest2::0| ]] }} }}
}}
+
{{#ifeq: {{{bus}}}   | Oui | * Participe à la soirée : [[at_party::{{Get|bus}}]] - ''( [[bus::oui]] )'' | {{Nobr | [[bus::non]]}} }}
{{#ifeq: {{{fest2}}} | Oui
+
| * Participe à la soirée : [[at_party::07 / 02 / 2014]] - ''([[cost_fest2::16]] € )'' | {{Nobr | [[cost_fest2::0| ]] }}
+
}}
+
{{#ifeq: {{{fest3}}} | Oui
+
| * Participe à la soirée : [[at_party::07 / 03 / 2014]] - ''([[cost_fest3::0]] )'' | {{Nobr | [[cost_fest3::0| ]] }}
+
}}
+
 
|-
 
|-
! Total : {{#expr: {{#ask: [[{{FULLPAGENAME}}]] | ?cost_night1 | format = sum}} +  
+
! Total : [[mezel::{{#expr: {{#ask: [[{{FULLPAGENAME}}]] | ?mezel1 | format = sum}} +  
                          {{#ask: [[{{FULLPAGENAME}}]] | ?cost_night2 | format = sum}} +  
+
                              {{#ask: [[{{FULLPAGENAME}}]] | ?mezel2 | format = sum}} +  
                          {{#ask: [[{{FULLPAGENAME}}]] | ?cost_night3 | format = sum}} +
+
                              {{#ask: [[{{FULLPAGENAME}}]] | ?mezel3 | format = sum}} +
                          {{#ask: [[{{FULLPAGENAME}}]] | ?cost_night4 | format = sum}} }} €
+
                              {{#ask: [[{{FULLPAGENAME}}]] | ?mezel4 | format = sum}} +
! Total : {{#expr: {{#ask: [[{{FULLPAGENAME}}]] | ?cost_lunch4 | format = sum}} +  
+
                              {{#ask: [[{{FULLPAGENAME}}]] | ?mezel5 | format = sum}}
                           {{#ask: [[{{FULLPAGENAME}}]] | ?cost_lunch3 | format = sum}} +  
+
                          }}]]
                           {{#ask: [[{{FULLPAGENAME}}]] | ?cost_lunch2 | format = sum}} }} €
+
! Total : [[rak::{{#expr: {{#ask: [[{{FULLPAGENAME}}]] | ?rak1 | format = sum}} +  
! Total : {{#expr: {{#ask: [[{{FULLPAGENAME}}]] | ?cost_fest1 | format = sum}} +  
+
                           {{#ask: [[{{FULLPAGENAME}}]] | ?rak2 | format = sum}} +  
                           {{#ask: [[{{FULLPAGENAME}}]] | ?cost_fest2 | format = sum}} +
+
                           {{#ask: [[{{FULLPAGENAME}}]] | ?rak3 | format = sum}}
                          {{#ask: [[{{FULLPAGENAME}}]] | ?cost_fest3 | format = sum}} }}
+
                          {{#if: {{{rak}}} | - {{{rak}}} }}
 +
                      }}]]
 +
! Total : [[fest::{{#expr: {{#ask: [[{{FULLPAGENAME}}]] | ?fest1 | format = sum}} +  
 +
                           {{#ask: [[{{FULLPAGENAME}}]] | ?fest2 | format = sum}}
 +
                      }}]] €
 
|}
 
|}
</includeonly>
+
</includeonly><noinclude>[[Category:Bazar/Template]]{{Modèle:BazarDoc|modèle}}</noinclude>

Version actuelle en date du 18 février 2018 à 03:12


Bittorrent.png

Portail :
Sémantique bazar

Il y a actuellement 19 articles liés à ce sujet.


Documentation


[create]

Template-info.svg Documentation du BazaR

Pour utiliser ce modèle, mettez {{Modèle:Inscription/Sejour}} dans la page où vous voulez l'utiliser.

Ce modèle n'a pas de documentation, s'il vous plaît ajoutez en