|
|
(18 révisions intermédiaires par un utilisateur sont masquées) |
Ligne 1 : |
Ligne 1 : |
− | <includeonly> | + | <includeonly>{{Synthese/Déjeuners/Var|{{{1|}}}}} |
− | {{Admin/Edition|{{{1|}}}}} {{ #vardefine:day1 | {{#time:D d M | {{Get|day0#ISO|{{#var:i}}}} + 1 days }} | + | <center>''Le buffet du mardi est offert. Tarif d'un repas : {{#var:rak}} €''<br/>''Les données tiennent comptes de tous les participants/intervenants pour lesquels l'inscription a été validée.''</center><br/> |
− | }} {{ #vardefine:day2 | {{#time:D d M | {{Get|day0#ISO|{{#var:i}}}} + 2 days }}
| + | |
− | }} {{ #vardefine:day3 | {{#time:D d M | {{Get|day0#ISO|{{#var:i}}}} + 3 days }}
| + | |
− | }} {{ #vardefine:day4 | {{#time:D d M | {{Get|day0#ISO|{{#var:i}}}} + 4 days }} }}
| + | |
| <table class="wikitable" style="margin:0 auto 0 auto;" width=800px> | | <table class="wikitable" style="margin:0 auto 0 auto;" width=800px> |
| <tr> | | <tr> |
− | <th></th>
| + | {{Synthese/Déjeuners/Head}} |
− | <th width=20%>{{#var:day1}}</th>
| + | |
− | <th width=20%>{{#var:day2}}</th>
| + | |
− | <th width=20%>{{#var:day3}}</th>
| + | |
− | <th width=20%>{{#var:day4}}</th>
| + | |
− | <th width=5%>Panier</th>
| + | |
| </tr> | | </tr> |
− | <tr><th>Participants</th> | + | <tr> |
− | <td>{{#ask: [[Category:Forum_{{#var:i}}/Inscriptions]] [[has status::participant]] [[buffet::oui]] | format=count }}</td>
| + | {{Synthese/Déjeuners/Participant|{{#var:i}}|{{#var:rak}}}} |
− | <td>{{#ask: [[Category:Forum_{{#var:i}}/Inscriptions]] [[has status::participant]] [[rak1::{{Get|rak|{{#var:i}}}}]] | format=count }}</td>
| + | </tr> |
− | <td>{{#ask: [[Category:Forum_{{#var:i}}/Inscriptions]] [[has status::participant]] [[rak2::{{Get|rak|{{#var:i}}}}]] | format=count }}</td>
| + | <tr> |
− | <td>{{#ask: [[Category:Forum_{{#var:i}}/Inscriptions]] [[has status::participant]] [[rak3::{{Get|rak|{{#var:i}}}}]] | format=count }}</td> | + | {{Synthese/Déjeuners/Intervenant|{{#var:i}}|{{#var:rak}}}} |
− | <td>{{#ask: [[Category:Forum_{{#var:i}}/Inscriptions]] [[has status::participant]] [[need_basket::oui]] | format=count }}</td> | + | </tr> |
− | </tr><tr><th>Intervenants</th>
| + | <tr> |
− | <td>{{#ask: [[Category:Forum_{{#var:i}}/Inscriptions]] [[has status::intervenant]] [[buffet::oui]] | format=count }}</td>
| + | {{Synthese/Déjeuners/Total|{{#var:i}}|{{#var:rak}}}} |
− | <td>{{#ask: [[Category:Forum_{{#var:i}}/Inscriptions]] [[has status::intervenant]] [[rak1::{{Get|rak|{{#var:i}}}}]] | format=count }}</td>
| + | </tr> |
− | <td>{{#ask: [[Category:Forum_{{#var:i}}/Inscriptions]] [[has status::intervenant]] [[rak2::{{Get|rak|{{#var:i}}}}]] | format=count }}</td>
| + | <tr> |
− | <td>{{#ask: [[Category:Forum_{{#var:i}}/Inscriptions]] [[has status::intervenant]] [[rak3::{{Get|rak|{{#var:i}}}}]] | format=count }} (dont panier {{#ask: [[Category:Forum_{{#var:i}}/Inscriptions]] [[has status::intervenant]] [[need_basket::oui]] | format=count }})</td> | + | {{Synthese/Déjeuners/Somme|{{#var:i}}|{{#var:rak}}}} |
− | <td></td> | + | |
− | </tr><tr><th> Total : </th>
| + | |
− | <td>'''{{#ask: [[Category:Forum_{{#var:i}}/Inscriptions]] [[buffet::oui]] | format=count }}'''</td>
| + | |
− | <td>'''{{#ask: [[Category:Forum_{{#var:i}}/Inscriptions]] [[rak1::{{Get|rak|{{#var:i}}}}]] | format=count }}'''</td>
| + | |
− | <td>'''{{#ask: [[Category:Forum_{{#var:i}}/Inscriptions]] [[rak2::{{Get|rak|{{#var:i}}}}]] | format=count }}'''</td>
| + | |
− | <td>'''{{#ask: [[Category:Forum_{{#var:i}}/Inscriptions]] [[rak3::{{Get|rak|{{#var:i}}}}]] | format=count }}'''</td>
| + | |
− | <td>'''{{#ask: [[Category:Forum_{{#var:i}}/Inscriptions]] [[need_basket::oui]] | format=count }}'''</td>
| + | |
− | </tr><tr><th> Somme : </th> | + | |
− | <td>'''{{#expr:{{#ask: [[Category:Forum_{{#var:i}}/Inscriptions]] [[buffet::oui]] | format=count }}*{{Get|rak|{{#var:i}}}}}} €'''</td> | + | |
− | <td>'''{{#expr:{{#ask: [[Category:Forum_{{#var:i}}/Inscriptions]] [[rak1::{{Get|rak|{{#var:i}}}}]] | format=count}}*{{Get|rak|{{#var:i}}}}}} €'''</td>
| + | |
− | <td>'''{{#expr:{{#ask: [[Category:Forum_{{#var:i}}/Inscriptions]] [[rak2::{{Get|rak|{{#var:i}}}}]] | format=count}}*{{Get|rak|{{#var:i}}}}}} €'''</td>
| + | |
− | <td>'''{{#expr:{{#ask: [[Category:Forum_{{#var:i}}/Inscriptions]] [[rak3::{{Get|rak|{{#var:i}}}}]] | format=count}}*{{Get|rak|{{#var:i}}}}}} €'''</td>
| + | |
− | <td></td>
| + | |
− | </tr><tr><th>Cout total :</th>
| + | |
− | <td>'''''{{#expr:
| + | |
− | {{#expr:{{#ask: [[Category:Forum_{{#var:i}}/Inscriptions]] [[buffet::oui]] | format=count }}*{{Get|rak|{{#var:i}}}}}} +
| + | |
− | {{#expr:{{#ask: [[Category:Forum_{{#var:i}}/Inscriptions]] [[rak1::{{Get|rak|{{#var:i}}}}]] | format=count}}*{{Get|rak|{{#var:i}}}}}} +
| + | |
− | {{#expr:{{#ask: [[Category:Forum_{{#var:i}}/Inscriptions]] [[rak2::{{Get|rak|{{#var:i}}}}]] | format=count}}*{{Get|rak|{{#var:i}}}}}} +
| + | |
− | {{#expr:{{#ask: [[Category:Forum_{{#var:i}}/Inscriptions]] [[rak3::{{Get|rak|{{#var:i}}}}]] | format=count}}*{{Get|rak|{{#var:i}}}}}}
| + | |
− | }} € '''''
| + | |
− | </td>
| + | |
| </tr> | | </tr> |
| </table> | | </table> |
| </includeonly><noinclude>[[Category:Bazar/Template]]{{Modèle:BazarDoc|modèle}}</noinclude> | | </includeonly><noinclude>[[Category:Bazar/Template]]{{Modèle:BazarDoc|modèle}}</noinclude> |