Modèle:Budget/Sum : Différence entre versions

De Forum des Usages Coopératifs

 
(9 révisions intermédiaires par un utilisateur sont masquées)
Ligne 2 : Ligne 2 :
 
{{#switch: {{{1}}}
 
{{#switch: {{{1}}}
 
  | inscription=<th rowspan=2>
 
  | inscription=<th rowspan=2>
'''{{#ask: [[Category:Forum_{{Get/Edition}}/Inscriptions]] [[Has status::participant]] [[Will pay::+]] [[is online::true]]
+
'''{{#ask: [[Category:{{{cat}}}/Inscriptions]] [[Has status::{{{2|participant}}}]] [[Will pay::+]] [[is online::true]]
| ?Will pay
+
      | ?will pay
| limit=500
+
      | limit=500
| format=sum
+
      | format=sum
 
}} €'''
 
}} €'''
 
</th>
 
</th>
 
  | prestation=<th rowspan=3>
 
  | prestation=<th rowspan=3>
'''{{#expr:
+
'''{{#ask: [[Category:{{{cat}}}/Inscriptions]] [[has status::{{{2|participant}}}]] [[is online::true]]
{{formatnum:{{#ask: [[Category:Forum_{{Get/Edition}}/Inscriptions]] [[has status::participant]] [[rak::+]] [[is online::true]] | ?rak | limit=500 | format=sum }}|R}} +
+
      | ?rak
{{formatnum:{{#ask: [[Category:Forum_{{Get/Edition}}/Inscriptions]] [[has status::participant]] [[mezel::+]] [[is online::true]] | ?mezel | limit=500 |format=sum}}|R}} +
+
      | ?mezel
{{formatnum:{{#ask: [[Category:Forum_{{Get/Edition}}/Inscriptions]] [[has status::participant]] [[fest::+]] [[is online::true]] | ?fest | limit=500 |format=sum}}|R}}
+
      | ?fest
 +
      | limit=500
 +
      | format=sum
 
}} €'''
 
}} €'''
 
{{#ask: [[Category:Forum_{{Get/Edition}}/Inscriptions]] [[has status::participant]] [[is online::true]] | ?rak | ?mezel | ?fest | limit=500 | format=sum }}
 
 
</th>
 
</th>
 
  | total=<th>
 
  | total=<th>
'''{{#expr:
+
'''{{#ask: [[Category:{{{cat}}}/Inscriptions]] [[has status::{{{2|participant}}}]] [[is online::true]]
{{formatnum:{{#ask: [[Category:Forum_{{Get/Edition}}/Inscriptions]] [[Has status::participant]] [[Will pay::+]] [[is online::true]] | ?Will pay | limit=500 | format=sum}}|R}} +
+
      | ?will pay
{{formatnum:{{#ask: [[Category:Forum_{{Get/Edition}}/Inscriptions]] [[has status::participant]] [[rak::+]] [[is online::true]] | ?rak | limit=500 | format=sum}}|R}} +
+
      | ?rak
{{formatnum:{{#ask: [[Category:Forum_{{Get/Edition}}/Inscriptions]] [[has status::participant]] [[fest::+]] [[is online::true]] | ?fest | limit=500 | format=sum}}|R}} +
+
      | ?mezel
{{formatnum:{{#ask: [[Category:Forum_{{Get/Edition}}/Inscriptions]] [[has status::participant]] [[mezel::+]] [[is online::true]] | ?mezel | limit=500 |format=sum}}|R}}
+
      | ?fest
 +
      | limit=500
 +
      | format=sum
 
}} €'''
 
}} €'''
 
</th>
 
</th>
 
}}
 
}}
 
</includeonly>
 
</includeonly>

Version actuelle en date du 1 juin 2016 à 12:21