Шаблон:Citybar: различия между версиями
Содержимое удалено Содержимое добавлено
Atsirlin (обсуждение | вклад) чтобы число не выглядело так сиротливо |
Atsirlin (обсуждение | вклад) quickbar --> fullbar, унификация |
||
Строка 4:
| colspan="2" style="text-align: center; border-bottom: 1px solid #008a60; border-top: 0px solid #008a60; background-color: #d6f7e8 " | <big>'''{{{city}}}'''</big>
|-
{{ #if: {{{arm|}}} | {{
|-
| colspan="2" {{ #if:{{{citylocal|}}} | style="text-align: center; border-bottom: 1px solid #008a60; border-top: 1px solid #008a60; background-color: #d6f7e8" | style="border-bottom: 1px solid #008a60" }} | {{ #if:{{{citylocal|}}} |'''{{{citylocal|}}}'''|}}
Строка 10:
| {{ #if:{{{website|}}}|colspan="2" style="text-align: center; border-bottom: 1px solid #008a60; border-top: 1px solid #008a60; background-color: #d6f7e8"|colspan="2" style="border-top: 2px solid #008a60"}} | {{#if:{{{website|}}}|<small>'''[{{{website|}}} Официальный сайт]'''</small>|}}
|-
{{ #if: {{{image|}}} | {{
|-
| colspan="2" style="text-align: center; border-bottom: 0px solid #008a60; border-top: 0px solid #008a60; background-color: #ffffff" | {{#if:{{{caption|}}}|<small>''{{{caption|}}}''</small>|}}
|-
| colspan="2" style="text-align: center; border-bottom: 1px solid #008a60; border-top: 1px solid #008a60; background-color: #d6f7e8" | '''Полезная информация'''
{{ #if: {{{population|}}} | {{fullbar
-->{{#if: {{#property:p1082}}|{{fullbar item|heading=Население|value={{#invoke:String|sub|s={{#property:p1082}}|1|{{#invoke:String|len|{{#invoke:String|match|s={{#property:p1082}}|^[%d%s]*|ignore_errors=true}}}}}} чел.<!--
-->}}|{{
{{ #if: {{{callingcode|}}} | {{fullbar
{{ #if: {{{timezone|}}} | {{fullbar
|-
{{ #if: {{{image|}}}{{{arm|}}} | {{
|}
</div>
|