Modèle:Synthese/Daily : Différence entre versions

De Forum des Usages Coopératifs

Ligne 1 : Ligne 1 :
 
<includeonly>
 
<includeonly>
{{Admin/Edition|{{{1|}}}}} {{ #vardefine:day1 | {{#time:m/d/Y | {{Get|day0#ISO|{{#var:i}}}} + 1 days }}
+
{{Admin/Edition|{{{1|}}}}} {{ #vardefine:day1 | {{#time:D d M | {{Get|day0#ISO|{{#var:i}}}} }}
}} {{ #vardefine:day2 | {{#time:m/d/Y | {{Get|day0#ISO|{{#var:i}}}} + 2 days }}  
+
}} {{ #vardefine:day2 | {{#time:D d M | {{Get|day0#ISO|{{#var:i}}}} + 1 days }}  
}} {{ #vardefine:day3 | {{#time:m/d/Y | {{Get|day0#ISO|{{#var:i}}}} + 3 days }}
+
}} {{ #vardefine:day3 | {{#time:D d M | {{Get|day0#ISO|{{#var:i}}}} + 2 days }}
}} {{ #vardefine:day4 | {{#time:m/d/Y | {{Get|day0#ISO|{{#var:i}}}} + 4 days }} }}
+
}} {{ #vardefine:day4 | {{#time:D d M | {{Get|day0#ISO|{{#var:i}}}} + 3 days }}
 +
}} {{ #vardefine:day5 | {{#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>
Ligne 11 : Ligne 12 :
 
<th width=20%>{{#time:D d M | {{#var:day3}} }}</th>
 
<th width=20%>{{#time:D d M | {{#var:day3}} }}</th>
 
<th width=20%>{{#time:D d M | {{#var:day4}} }}</th>
 
<th width=20%>{{#time:D d M | {{#var:day4}} }}</th>
 +
<th width=20%>{{#time:D d M | {{#var:day5}} }}</th>
 
</tr>
 
</tr>
 
<tr><th>Participants</th>
 
<tr><th>Participants</th>
<td>{{#ask: [[Category:Forum_{{#var:i}}/Inscriptions]] [[has status::participant]] [[participate_on::{{#var:day1}}]]
+
<td></td>
                  | format=count
+
        }}</td>
+
 
<td>{{#ask: [[Category:Forum_{{#var:i}}/Inscriptions]] [[has status::participant]] [[participate_on::{{#var:day2}}]]
 
<td>{{#ask: [[Category:Forum_{{#var:i}}/Inscriptions]] [[has status::participant]] [[participate_on::{{#var:day2}}]]
 
                   | format=count
 
                   | format=count
Ligne 25 : Ligne 25 :
 
                   | format=count
 
                   | format=count
 
         }}</td>
 
         }}</td>
</tr><tr><th>Intervenants</th>
+
<td>{{#ask: [[Category:Forum_{{#var:i}}/Inscriptions]] [[has status::participant]] [[participate_on::{{#var:day5}}]]
<td>{{#ask: [[Category:Forum_{{#var:i}}/Inscriptions]] [[has status::intervenant]] [[participate_on::{{#var:day1}}]]
+
 
                   | format=count
 
                   | format=count
 
         }}</td>
 
         }}</td>
 +
</tr><tr><th>Intervenants</th>
 +
<td></td>
 
<td>{{#ask: [[Category:Forum_{{#var:i}}/Inscriptions]] [[has status::intervenant]] [[participate_on::{{#var:day2}}]]
 
<td>{{#ask: [[Category:Forum_{{#var:i}}/Inscriptions]] [[has status::intervenant]] [[participate_on::{{#var:day2}}]]
 
                   | format=count
 
                   | format=count
Ligne 36 : Ligne 37 :
 
         }}</td>
 
         }}</td>
 
<td>{{#ask: [[Category:Forum_{{#var:i}}/Inscriptions]] [[has status::intervenant]] [[participate_on::{{#var:day4}}]]
 
<td>{{#ask: [[Category:Forum_{{#var:i}}/Inscriptions]] [[has status::intervenant]] [[participate_on::{{#var:day4}}]]
 +
                  | format=count
 +
        }}</td>
 +
<td>{{#ask: [[Category:Forum_{{#var:i}}/Inscriptions]] [[has status::intervenant]] [[participate_on::{{#var:day5}}]]
 
                   | format=count
 
                   | format=count
 
         }}</td>
 
         }}</td>
 
</tr><tr><th> Total : </th>
 
</tr><tr><th> Total : </th>
<td>'''{{#ask: [[Category:Forum_{{#var:i}}/Inscriptions]] [[participate_on::{{#var:day1}}]] | format=count }}'''</td>
+
<td></td>
 
<td>'''{{#ask: [[Category:Forum_{{#var:i}}/Inscriptions]] [[participate_on::{{#var:day2}}]] | format=count }}'''</td>
 
<td>'''{{#ask: [[Category:Forum_{{#var:i}}/Inscriptions]] [[participate_on::{{#var:day2}}]] | format=count }}'''</td>
 
<td>'''{{#ask: [[Category:Forum_{{#var:i}}/Inscriptions]] [[participate_on::{{#var:day3}}]] | format=count }}'''</td>
 
<td>'''{{#ask: [[Category:Forum_{{#var:i}}/Inscriptions]] [[participate_on::{{#var:day3}}]] | format=count }}'''</td>
 
<td>'''{{#ask: [[Category:Forum_{{#var:i}}/Inscriptions]] [[participate_on::{{#var:day4}}]] | format=count }}'''</td>
 
<td>'''{{#ask: [[Category:Forum_{{#var:i}}/Inscriptions]] [[participate_on::{{#var:day4}}]] | format=count }}'''</td>
 +
<td>'''{{#ask: [[Category:Forum_{{#var:i}}/Inscriptions]] [[participate_on::{{#var:day5}}]] | format=count }}'''</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>

Version du 7 avril 2016 à 13:31


Bittorrent.png

Portail :
Sémantique bazar

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


Documentation


[edit]

Template-info.svg Documentation du BazaR

Utilisation

Ce modèle affiche un tableau de synthèse du nombre d'inscrit pour chaque journée du forum

Syntaxe

Un argument optionnel est utilisable, il permet de spécifier l'année spécifique sur laquelle l'on souhaite appliquer le modèle

{{Synthese/Daily | 2018}}

Si cet argument est omis, le modèle tente de calculer à partir de l'url l'année pour laquelle le modèle sera appliqué.

{{Synthese/Daily}}
Les données tiennent comptes de tous les participants/intervenants pour lesquels l'inscription a été validée.

mar 03 juil mer 04 juil jeu 05 juil ven 06 juil
Participants 142 212 192 148
Intervenants 66 95 104 69
Total : 208 307 296 217


Dépendance