place
@if (city.state) { {{ city.names | localName }} {{ city.state.names | localName }}, {{ city.country.names | localName }} }@else { {{ city.names | localName }} }
@if(city.wikipedia){ }
@if(condition | async; as c){
{{ res.strings('city_info_title') }} {{ c.type | weather }}
{{ c.temperature | temperature }}
{{ c.precipitation | precipitation }}
{{ c.windSpeed | speed }}
{{ c.cloudCoverage | cloud }}
{{ c.humidity | humidity }}
{{ c.snowDepth | snow }}
{{ c.pressure | pressure }}
alarm
{{ date | localTime:city.timezone }} {{ date | localDate:city.timezone }}
map
{{ city.timezone.replace('_', ' ').replace('/', ' / ') }}
location_city
{{ city | cityType }}
@if(city.population){
group
{{ city.population }}
} @if(station | async; as s){ }
{{ res.strings('label_source') }}
{{ c.source | source }}
} @if(videos | async){ } @if(forecast | async; as f){
{{ res.strings('city_forecast_daily') }}
@if(dayForecasts | async; as daily){ @for (d of daily; track $index) { } }
{{ res.strings('city_forecast_daytime') }}
@if(daytimeForecasts | async; as time){ @for (t of time; track $index) { @if(t.conditions[0].time > now-6*3600*1000 && t.conditions[0].time <= now+(2*24+23)*3600*1000){ } } }
{{ res.strings('city_forecast_hourly') }}
@for (c of f.conditions; track $index) { @if(c.time > now-3600*1000 && c.time <= now+23*3600*1000){ } }
}