Template:Subventions: Difference between revisions

From subvention Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(43 intermediate revisions by the same user not shown)
Line 1: Line 1:
= Overview =
{{ #if: {{{Ministère|}}} |<div class="tpldiv"><span class="tpllabel">Ministère: </span><span class="tplvalue">[[Ministère::{{{Ministère}}}]]</span></div>
{{ #if: {{{Ministère|}}} |<div class="tpldiv"><span class="tpllabel">Ministère: </span><span class="tplvalue">[[Ministère::{{{Ministère}}}]]</span></div>
| }}
{{ #if: {{{Rue|}}} |<div class="tpldiv"><span class="tpllabel">Rue: </span><span class="tplvalue">[[Rue::{{{Rue}}}]]</span></div>
| }}
{{ #if: {{{Ville|}}} |<div class="tpldiv"><span class="tpllabel">Ville: </span><span class="tplvalue">[[Ville::{{{Ville}}}]]</span></div>
| }}
{{ #if: {{{Code postal|}}} |<div class="tpldiv"><span class="tpllabel">Code postal: </span><span class="tplvalue">[[Code postal::{{{Code postal}}}]]</span></div>
| }}
<div class="tpldiv"><span class="tpllabel">GPS: </span><span class="tplvalue">{{ #if: {{{Code postal|}}}|[[GPS::{{#geocode: {{{Code postal}}}, Canada }}]]|[[GPS::{{#geocode: {{{Rue}}}, {{{Ville}}}, Quebec}}]] }}</span></div>
{{ #if: {{{Telephone|}}} |<div class="tpldiv"><span class="tpllabel">Telephone: </span><span class="tplvalue">[[Telephone::{{{Telephone}}}]]</span></div>
| }}
{{ #if: {{{Web site|}}} |<div class="tpldiv"><span class="tpllabel">Web site: </span><span class="tplvalue">[[Web site::{{{Web site}}}]]</span></div>
| }}
{{ #if: {{{Contact page|}}} |<div class="tpldiv"><span class="tpllabel">Contact page: </span><span class="tplvalue">[[Contact page::{{{Contact page}}}]]</span></div>
| }}
| }}


{{ #if: {{{Montant Mission|}}} |<div class="tpldiv"><span class="tpllabel">Montant Mission: </span><span class="tplvalue">[[Montant Mission::{{{Montant Mission}}}]]</span></div>
{{ #ifeq: {{{Ministère|}}}|Urgence
| }}
|<h1>Stretcher usage</h1>
<div class="hidden">
{{ #vardefine: recs|{{ #ask: [[Category:Hospital wait time]][[Hospital::{{FULLPAGENAME}}]]|format=count}} }}
 
<!-- average stretchers -->{{ #vardefine: as|{{ #expr: {{ #ask:  [[Category:Hospital wait time]][[Hospital::{{FULLPAGENAME}}]]|?Functional stretchers|format=sum}} / 0{{ #var: recs }}  }} }}


{{ #if: {{{Montant Entente|}}} |<div class="tpldiv"><span class="tpllabel">Montant Entente: </span><span class="tplvalue">[[Montant Entente::{{{Montant Entente}}}]]</span></div>
<!-- average occupied -->{{ #vardefine: avocc|{{ #expr: ({{ #ask:  [[Category:Hospital wait time]][[Hospital::{{FULLPAGENAME}}]]|?Medical stretchers used|format=sum}} + {{ #ask:  [[Category:Hospital wait time]][[Hospital::{{FULLPAGENAME}}]]|?Psychiatric stretchers used|format=sum}}) / {{ #var: recs }}  }} }}
| }}


{{ #if: {{{Montant Projet|}}} |<div class="tpldiv"><span class="tpllabel">Montant Projet: </span><span class="tplvalue">[[Montant Projet::{{{Montant Projet}}}]]</span></div>
<!-- average occupied 48h -->{{ #vardefine: avocc4|{{ #expr: ({{ #ask:  [[Category:Hospital wait time]][[Hospital::{{FULLPAGENAME}}]]|?More than 48H Medical stretchers used|format=sum}} + {{ #ask:  [[Category:Hospital wait time]][[Hospital::{{FULLPAGENAME}}]]|?More than 48H Psychiatric stretchers used|format=sum}}) / {{ #var: recs }}  }} }}
| }}


{{ #if: {{{Montant Total|}}} |<div class="tpldiv"><span class="tpllabel">Montant Total: </span><span class="tplvalue">[[Montant Total::{{{Montant Total}}}]]</span></div>
<!-- latest occupied -->{{ #vardefine: latocc|{{ #expr: {{ #ask:  [[Category:Hospital wait time]][[Hospital::{{FULLPAGENAME}}]]
| }}
|?Medical stretchers used=
|sort=date
|order=desc
|limit=1
|mainlabel=-
|searchlabel=
|intro=}} + {{ #ask:  [[Category:Hospital wait time]][[Hospital::{{FULLPAGENAME}}]]
|?Psychiatric stretchers used=
|sort=date
|order=desc
|limit=1
|mainlabel=-
|searchlabel=
|intro=}} }} }}<!-- latest occupancy 48h -->{{ #vardefine: latocc4|{{ #expr: {{ #ask:  [[Category:Hospital wait time]][[Hospital::{{FULLPAGENAME}}]]
|?More than 48H Medical stretchers used=
|sort=date
|order=desc
|limit=1
|mainlabel=-
|searchlabel=
|intro=}} + {{ #ask:  [[Category:Hospital wait time]][[Hospital::{{FULLPAGENAME}}]]
|?More than 48H Psychiatric stretchers used=
|sort=date
|order=desc
|limit=1
|mainlabel=-
|searchlabel=
|intro=}} }} }}
</div>
Average stretchers: {{ #set: Average stretchers={{ #var: as }} }}{{ #var: as}}<br />
Average occupancy: {{ #set: Average occupancy={{ #var: avocc }} }}<span class="posneg">{{ #var: avocc}}</span><br />
Average occupancy more than 48H: {{ #set: Average occupancy more than 48H={{ #var: avocc4 }} }}<span class="posneg">{{ #var: avocc4}}</span><br />


{{ #if: {{{Rue|}}} |<div class="tpldiv"><span class="tpllabel">Rue: </span><span class="tplvalue">[[Rue::{{{Rue}}}]]</span></div>
Latest occupancy: {{ #set: Latest occupancy={{#var: latocc }} }}<span class="posneg">{{ #var: latocc}}</span><br />
| }}
Latest occupancy more than 48H: {{ #set: Latest occupancy more than 48H={{ #var: latocc4 }} }}<span class="posneg">{{ #var: latocc4 }}</span><br />


{{ #if: {{{Ville|}}} |<div class="tpldiv"><span class="tpllabel">Ville: </span><span class="tplvalue">[[Ville::{{{Ville}}}]]</span></div>
{{ #ask: [[Category:Hospital wait time]][[Hospital::{{FULLPAGENAME}}]]
| }}
|?Date
|?Functional stretchers
|?Medical stretchers used
|?Psychiatric stretchers used
|?More than 48H Medical stretchers used
|?More than 48H Psychiatric stretchers used
|sort=date}}
}}


{{ #if: {{{Code postal|}}} |<div class="tpldiv"><span class="tpllabel">Code postal: </span><span class="tplvalue">[[Code postal::{{{Code postal}}}]]</span></div>
| }}


<div class="tpldiv"><span class="tpllabel">GPS: </span><span class="tplvalue">{{ #if: {{{Code postal|}}}|[[GPS::{{#geocode: {{{Code postal}}} }}]]|[[GPS::{{{Rue}}}, {{{Ville}}}, Quebec, Canada]] }}</span></div>
<headertabs />
| }}


{{ #if: {{{notes|}}} |<div class="tpldiv"><span class="tpllabel">notes: </span><span class="tplvalue">[[notes::{{{notes}}}]]</span></div>
| }}


{{COMMENTS}}


[[Category:Organismes]]
[[Category:Organismes]]
[[Category:{{{Ministère}}}]]

Latest revision as of 13:41, 24 October 2013

Overview

GPS: 46° 47' 31.83" N, 71° 23' 8.80" W





[[Category:{{{Ministère}}}]]