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

De Forum des Usages Coopératifs

 
(20 révisions intermédiaires par un utilisateur sont masquées)
Ligne 1 : Ligne 1 :
<includeonly>{{Admin/Edition|{{{1|}}}}}
+
<includeonly>{{ #vardefine: bSejour
{| style="margin:0 auto 0 auto;background-color:#f3f3f3;border-bottom:1px solid #c0c0c0;border-left:1px solid #c0c0c0;border-right:1px solid #c0c0c0" width=800px
+
                          | {{Budget/Calcul | {{{1}}} | Budget sejour}}
 +
                }}{{ #vardefine: sSejour
 +
                          | {{Budget/Calcul | {{{1}}} | Solde sejour}}
 +
                }}{{ #vardefine: bTransport
 +
                          | {{Budget/Calcul | {{{1}}} | Budget transport}}
 +
                }}{{ #vardefine: sTransport
 +
                          | {{Budget/Calcul | {{{1}}} | Solde transport}}
 +
}} {| style="margin:0 auto 0 auto;background-color:#f3f3f3;border-bottom:1px solid #c0c0c0;border-left:1px solid #c0c0c0;border-right:1px solid #c0c0c0" width=800px
 
|-
 
|-
! width=150px | [[Private:Forum {{#var:i}}/Budget/{{ucfirst:{{{1|fablabs}}} }}| {{ucfirst:{{{1|fablabs}}} }}]]
+
! width=150px | [[Private:Forum_{{#var:i}}/Session/{{ucfirst:{{{1}}}}}|{{ucfirst:{{{1}}} }}]]
| style="background-color:#fff;border-left:1px solid #c0c0c0;" width=130px | {{#expr:
+
| style="background-color:#fff;border-left:1px solid #c0c0c0;" width="130px| {{#expr: {{#var:bSejour}}  - {{#var:sSejour}}  }} €
{{formatnum:{{#ask: [[Category:Forum_{{#explode:{{#titleparts:{{PAGENAME}} | 1 }}| |1}}/Budget]][[budget_{{#explode:{{#titleparts:{{PAGENAME}} | 1 }}| |1}}::{{{1|fablabs}}}]]
+
| style="background-color:#f3f3f3;" width="70px"                                          | {{#var:sSejour}}
| ?Budget sejour  | format=sum }} |R}}
+
| style="background-color:#fff;" width=130px                                                | {{#expr: {{#var:bTransport }}  - {{#var:sTransport }} }}
-
+
| style="background-color:#f3f3f3;" width="70px"                                          | {{#var:sTransport }}
{{formatnum:{{#ask: [[Category:Forum_{{#explode:{{#titleparts:{{PAGENAME}} | 1 }}| |1}}/Budget]][[budget_{{#explode:{{#titleparts:{{PAGENAME}} | 1 }}| |1}}::{{{1|fablabs}}}]]
+
| style="background-color:#fff;" width="130px"                                            | {{#expr: ( {{#var:bSejour}} - {{#var:sSejour}} )
  | ?Solde sejour  | format=sum }} |R}}
+
                                                                                                                        + ( {{#var:bTransport }}  - {{#var:sTransport }} )
 +
                                                                                                              }}
 +
| style="background-color:#f3f3f3;" width="70px"                                      |
 +
{{Budget/Calcul
 +
| {{{1}}}
 +
  | Solde total
 
}} €
 
}} €
| style="background-color:#f3f3f3;" width=70px |
+
| style="color:#fff;background-color:{{Budget/Style|{{#var:i}}|{{{1}}}}};" width="70px" |  
{{#ask: [[Category:Forum_{{#explode:{{#titleparts:{{PAGENAME}} | 1 }}| |1}}/Budget]][[budget_{{#explode:{{#titleparts:{{PAGENAME}} | 1 }}| |1}}::{{{1|fablabs}}}]]
+
| ?Solde sejour  | format=sum }} €
+
| style="background-color:#fff;" width=130px |
+
{{#expr:
+
{{formatnum:{{#ask: [[Category:Forum_{{#explode:{{#titleparts:{{PAGENAME}} | 1 }}| |1}}/Budget]][[budget_{{#explode:{{#titleparts:{{PAGENAME}} | 1 }}| |1}}::{{{1|fablabs}}}]]
+
| ?Budget transport  | format=sum }} |R}}
+
-
+
{{formatnum:{{#ask: [[Category:Forum_{{#explode:{{#titleparts:{{PAGENAME}} | 1 }}| |1}}/Budget]][[budget_{{#explode:{{#titleparts:{{PAGENAME}} | 1 }}| |1}}::{{{1|fablabs}}}]]
+
| ?Solde transport  | format=sum }} |R}}
+
}} €
+
| style="background-color:#f3f3f3;" width="70px" |
+
{{#ask: [[Category:Forum_{{#explode:{{#titleparts:{{PAGENAME}} | 1 }}| |1}}/Budget]][[budget_{{#explode:{{#titleparts:{{PAGENAME}} | 1 }}| |1}}::{{{1|fablabs}}}]]
+
| ?Solde transport  | format=sum }} €
+
| style="background-color:#fff;" width="130px" |
+
{{#expr:
+
(
+
{{formatnum:{{#ask: [[Category:Forum_{{#explode:{{#titleparts:{{PAGENAME}} | 1 }}| |1}}/Budget]][[budget_{{#explode:{{#titleparts:{{PAGENAME}} | 1 }}| |1}}::{{{1|fablabs}}}]]
+
| ?Budget sejour  | format=sum }} |R}}
+
-
+
{{formatnum:{{#ask: [[Category:Forum_{{#explode:{{#titleparts:{{PAGENAME}} | 1 }}| |1}}/Budget]][[budget_{{#explode:{{#titleparts:{{PAGENAME}} | 1 }}| |1}}::{{{1|fablabs}}}]]
+
| ?Solde sejour  | format=sum }} |R}}
+
)
+
+
+
(
+
{{formatnum:{{#ask: [[Category:Forum_{{#explode:{{#titleparts:{{PAGENAME}} | 1 }}| |1}}/Budget]][[budget_{{#explode:{{#titleparts:{{PAGENAME}} | 1 }}| |1}}::{{{1|fablabs}}}]]
+
| ?Budget transport  | format=sum }} |R}}
+
-
+
{{formatnum:{{#ask: [[Category:Forum_{{#explode:{{#titleparts:{{PAGENAME}} | 1 }}| |1}}/Budget]][[budget_{{#explode:{{#titleparts:{{PAGENAME}} | 1 }}| |1}}::{{{1|fablabs}}}]]
+
| ?Solde transport  | format=sum }} |R}}
+
)
+
}} €
+
| style="background-color:#f3f3f3;" width="70px" |
+
{{#ask: [[Category:Forum_{{#explode:{{#titleparts:{{PAGENAME}} | 1 }}| |1}}/Budget]][[budget_{{#explode:{{#titleparts:{{PAGENAME}} | 1 }}| |1}}::{{{1|fablabs}}}]]
+
| ?Solde total  | format=sum }} €
+
 
|}</includeonly><noinclude>[[Category:Bazar/Template]]{{Modèle:BazarDoc|modèle}}</noinclude>
 
|}</includeonly><noinclude>[[Category:Bazar/Template]]{{Modèle:BazarDoc|modèle}}</noinclude>

Version actuelle en date du 17 juin 2016 à 15:25


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:Budget/Core}} dans la page où vous voulez l'utiliser.

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