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

De Forum des Usages Coopératifs

 
(10 révisions intermédiaires par un utilisateur sont masquées)
Ligne 1 : Ligne 1 :
<includeonly>{{Nobr |
+
<includeonly>{{ #vardefine: bSejour
{{ #vardefine: bSejour | {{Budget/Calcul | {{{1}}} | Budget sejour}} }}
+
                          | {{Budget/Calcul | {{{1}}} | Budget sejour}}
{{ #vardefine: sSejour | {{Budget/Calcul | {{{1}}} | Solde sejour}} }}
+
                }}{{ #vardefine: sSejour
{{ #vardefine: bTransport | {{Budget/Calcul | {{{1}}} | Budget transport}} }}
+
                          | {{Budget/Calcul | {{{1}}} | Solde sejour}}
{{ #vardefine: bTransport | {{Budget/Calcul | {{{1}}} | Solde transport}} }}
+
                }}{{ #vardefine: bTransport
}}{| 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 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}}} }}       | {{ucfirst:{{{1}}} }}]]
+
! width=150px | [[Private:Forum_{{#var:i}}/Session/{{ucfirst:{{{1}}}}}|{{ucfirst:{{{1}}} }}]]
| style="background-color:#fff;border-left:1px solid #c0c0c0;" width=130px  | {{#expr:  {{#var:bSejour}}  - {{#var:sSejour}}  }} €
+
| style="background-color:#fff;border-left:1px solid #c0c0c0;" width="130px" | {{#expr:  {{#var:bSejour}}  - {{#var:sSejour}}  }} €
| style="background-color:#f3f3f3;" width=70px                                       | {{#var:sSejour}} €
+
| style="background-color:#f3f3f3;" width="70px"                                          | {{#var:sSejour}} €
| style="background-color:#fff;" width=130px                                           | {{#expr:  {{#var:bTransport }}  - {{#var:sTransport }} }} €
+
| style="background-color:#fff;" width=130px                                               | {{#expr:  {{#var:bTransport }}  - {{#var:sTransport }} }} €
| style="background-color:#f3f3f3;" width="70px"                                     | {{#var:sTransport }} €
+
| style="background-color:#f3f3f3;" width="70px"                                         | {{#var:sTransport }} €
| style="background-color:#fff;" width="130px"                                         |
+
| style="background-color:#fff;" width="130px"                                             | {{#expr: ( {{#var:bSejour}} - {{#var:sSejour}} )
{{#expr: ( {{#var:bSejour}} - {{#var:sSejour}} ) + ( {{#var:bTransport }}  - {{#var:sTransport }} ) }} €
+
                                                                                                                        + ( {{#var:bTransport }}  - {{#var:sTransport }} )
| style="background-color:#f3f3f3;" width="70px" |
+
                                                                                                              }} €
 +
| style="background-color:#f3f3f3;" width="70px"                                     |
 
{{Budget/Calcul
 
{{Budget/Calcul
  | {{{1}}}
+
| {{{1}}}
  | Solde total
+
| Solde total
 
}} €
 
}} €
 +
| style="color:#fff;background-color:{{Budget/Style|{{#var:i}}|{{{1}}}}};" width="70px" |
 
|}</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