Шаблон:Citybar: различия между версиями
Содержимое удалено Содержимое добавлено
Atsirlin (обсуждение | вклад) +население из Викиданных. хотя и довольно криво |
Atsirlin (обсуждение | вклад) вот так гораздо изящнее и эффективнее |
||
Строка 16:
| colspan="2" style="text-align: center; border-bottom: 1px solid #008a60; border-top: 1px solid #008a60; background-color: #d6f7e8" | '''Полезная информация'''
{{ #if: {{{population|}}} | {{fullbar item|heading=Население|value={{{population|}}}}} | <!--
-->{{fullbar item|heading=Население|value={{#invoke:String|sub|s={{#property:p1082}}|1|{{#invoke:String|len|{{#invoke:String|match|s={{#property:p1082}}|^%d*|ignore_errors=true}}}}}}<!--
-->}}}}
{{ #if: {{{callingcode|}}} | {{fullbar item|heading=Телефонный код|value={{{callingcode|}}}}} | {{quickbar empty}} }}
{{ #if: {{{timezone|}}} | {{fullbar item|heading=Часовой пояс|value={{{timezone|}}}}} | {{ #if: {{#property:p421}} | {{fullbar item|heading=Часовой пояс|value={{#property:p421}}}} | {{quickbar empty}} }} }}
|