Vorlage: Gemeinde-Tabelle: Unterschied zwischen den Versionen
Aus mobil-am-land.at
(30 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
− | <includeonly><table class="wikitable comparison"> | + | <includeonly>{{#tweekihide:sidebar-right}}<table class="wikitable comparison"> |
<tr> | <tr> | ||
− | <th>{{{property|}}}</th> | + | <th>{{#if:{{{heading|}}} |
+ | |{{{heading}}} | ||
+ | |{{{property|}}} | ||
+ | }}</th> | ||
<th class="text-right">Gemeinden</th> | <th class="text-right">Gemeinden</th> | ||
<th class="text-right">EinwohnerInnen</th> | <th class="text-right">EinwohnerInnen</th> | ||
<th class="text-right">Gemeinden mit BV</th> | <th class="text-right">Gemeinden mit BV</th> | ||
<th class="text-right">BV-Angebote</th> | <th class="text-right">BV-Angebote</th> | ||
+ | <th class="text-right">davon mit Einschränkung</th> | ||
+ | <th class="text-right">Gemeinden ohne Einschränkung</th> | ||
</tr> | </tr> | ||
{{#arraymap:{{{values|}}} | {{#arraymap:{{{values|}}} | ||
|; | |; | ||
|xxx | |xxx | ||
− | |<tr> | + | |{{#ifeq:xxx |
− | <th>xxx</th> | + | |- |
− | <td class="text-right">{{#ask:[[Kategorie:Gemeinde]][[{{{property}}}:: | + | |<tr><td colspan=6 style="font-size:small;line-height:0"> </td></tr> |
+ | |<tr> | ||
+ | <th>{{#arraymap:xxx|&&|yyy|yyy|<br>}}</th> | ||
+ | <td class="text-right">{{#ask:[[Kategorie:Gemeinde]]{{#arraymap:xxx|&&|yyy|[[{{{property}}}::yyy]]|}} | ||
|mainlabel=Gemeinde | |mainlabel=Gemeinde | ||
|?Einwohnerzahl | |?Einwohnerzahl | ||
− | |?-Ort | + | |?-Ort=Angebote |
+ | |headers=plain | ||
|format=broadtable | |format=broadtable | ||
|class=table table-bordered table-sm sortable | |class=table table-bordered table-sm sortable | ||
Zeile 21: | Zeile 30: | ||
|order=desc | |order=desc | ||
|limit=0 | |limit=0 | ||
− | |searchlabel={{#ask:[[Kategorie:Gemeinde]][[{{{property}}}:: | + | |searchlabel={{#ask:[[Kategorie:Gemeinde]]{{#arraymap:xxx|&&|yyy|[[{{{property}}}::yyy]]|}}|format=count}} |
− | }} <small>({{#expr: 100 * {{#ask:[[Kategorie:Gemeinde]][[{{{property}}}:: | + | }} <small>({{#expr: 100 * {{#ask:[[Kategorie:Gemeinde]]{{#arraymap:xxx|&&|yyy|[[{{{property}}}::yyy]]|}}|format=count}} / {{#ask:[[Kategorie:Gemeinde]]|format=count}} round 0 }}%)</small></td> |
− | <td class="text-right">{{#ask:[[Kategorie:Gemeinde]][[ | + | <td class="text-right">{{#ask:[[Kategorie:Gemeinde]]{{#arraymap:xxx|&&|yyy|[[{{{property}}}::yyy]]|}}|?Einwohnerzahl|format=sum|limit=2500}} <small>({{#expr:100 * {{#ask:[[Kategorie:Gemeinde]]{{#arraymap:xxx|&&|yyy|[[{{{property}}}::yyy]]|}}|?Einwohnerzahl#|format=sum|limit=2500}}/{{#ask:[[Kategorie:Gemeinde]]|?Einwohnerzahl#|format=sum|limit=2500}} round 0}}%)</small></td> |
− | <td class="text-right">{{#ask:[[{{{property}}}::xxx]][[-Ort::<q>[[Kategorie:Bedarfsverkehr]][[aktiv::true]][[Bundesland::+]][[{{{property}}}:: | + | <td class="text-right">{{#ask:{{#arraymap:xxx|&&|yyy|[[{{{property}}}::yyy]]|}}[[-Ort::<q>[[Kategorie:Bedarfsverkehr]][[aktiv::true]][[Bundesland::+]]{{#arraymap:xxx|&&|yyy|[[Ort.{{{property}}}::yyy]]|}}</q>]] |
− | <td class="text-right">{{#ask:[[Kategorie:Bedarfsverkehr]][[aktiv::true]][[Bundesland::+]][[ | + | |mainlabel=Gemeinde |
− | + | |?Einwohnerzahl | |
− | }}</td> | + | |?-Ort=Angebote |
+ | |headers=plain | ||
+ | |format=broadtable | ||
+ | |class=table table-bordered table-sm sortable | ||
+ | |sort=Einwohnerzahl | ||
+ | |order=desc | ||
+ | |limit=0 | ||
+ | |searchlabel={{#ask:{{#arraymap:xxx|&&|yyy|[[{{{property}}}::yyy]]|}}[[-Ort::<q>[[Kategorie:Bedarfsverkehr]][[aktiv::true]][[Bundesland::+]]{{#arraymap:xxx|&&|yyy|[[Ort.{{{property}}}::yyy]]|}}</q>]]|format=count}} | ||
+ | }} <small>({{#expr: 100 * {{#ask:{{#arraymap:xxx|&&|yyy|[[{{{property}}}::yyy]]|}}[[-Ort::<q>[[Kategorie:Bedarfsverkehr]][[aktiv::true]][[Bundesland::+]]{{#arraymap:xxx|&&|yyy|[[Ort.{{{property}}}::yyy]]|}}</q>]]|format=count}}/{{#ask:[[Kategorie:Gemeinde]]{{#arraymap:xxx|&&|yyy|[[{{{property}}}::yyy]]|}}|format=count}} round 0 }}%)</small></td> | ||
+ | <td class="text-right">{{#ask:[[Kategorie:Bedarfsverkehr]][[aktiv::true]][[Bundesland::+]]{{#arraymap:xxx|&&|yyy|[[Ort.{{{property}}}::yyy]]|}} | ||
+ | |mainlabel=Bedarfsverkehr | ||
+ | |?Ort=Gemeinden | ||
+ | |headers=plain | ||
+ | |format=broadtable | ||
+ | |class=table table-bordered table-sm sortable | ||
+ | |sort=Einwohnerzahl | ||
+ | |order=desc | ||
+ | |limit=0 | ||
+ | |searchlabel={{#ask:[[Kategorie:Bedarfsverkehr]][[aktiv::true]][[Bundesland::+]]{{#arraymap:xxx|&&|yyy|[[Ort.{{{property}}}::yyy]]|}}|format=count}} | ||
+ | }}</td> | ||
+ | <td class="text-right">{{#ifexpr:{{#ask:[[Kategorie:Bedarfsverkehr]][[aktiv::true]][[Bundesland::+]]{{#arraymap:xxx|&&|yyy|[[Ort.{{{property}}}::yyy]]|}}|format=count}}>0 | ||
+ | |{{#expr:100 * {{#ask:[[Kategorie:Bedarfsverkehr]][[aktiv::true]][[Bundesland::+]]{{#arraymap:xxx|&&|yyy|[[Ort.{{{property}}}::yyy]]|}}[[Einschränkung::+]]|format=count}} / {{#ask:[[Kategorie:Bedarfsverkehr]][[aktiv::true]][[Bundesland::+]]{{#arraymap:xxx|&&|yyy|[[Ort.{{{property}}}::yyy]]|}}|format=count}} round 0 }}% | ||
+ | }}</td> | ||
+ | <td class="text-right">{{#ifexpr:{{#ask:[[Kategorie:Bedarfsverkehr]][[aktiv::true]][[Bundesland::+]]{{#arraymap:xxx|&&|yyy|[[Ort.{{{property}}}::yyy]]|}}|format=count}}>0 | ||
+ | |{{#expr:100 * {{#ask:{{#arraymap:xxx|&&|yyy|[[{{{property}}}::yyy]]|}}[[-Ort::<q>[[Kategorie:Bedarfsverkehr]][[aktiv::true]][[Bundesland::+]][[Hat Einschränkung::false]]{{#arraymap:xxx|&&|yyy|[[Ort.{{{property}}}::yyy]]|}}</q>]]|format=count}} / {{#ask:{{#arraymap:xxx|&&|yyy|[[{{{property}}}::yyy]]|}}[[-Ort::<q>[[Kategorie:Bedarfsverkehr]][[aktiv::true]][[Bundesland::+]]{{#arraymap:xxx|&&|yyy|[[Ort.{{{property}}}::yyy]]|}}</q>]]|format=count}} round 0 }}% | ||
+ | }}</td> | ||
</tr> | </tr> | ||
+ | }} | ||
| | | | ||
}} | }} | ||
</table></includeonly> | </table></includeonly> |