{{#switch:{{{userparam|}}}|sidif={{#if:{{{?pageid|}}}|{{#replace:{{#replace:{{{?pageid}}}|#|}}|-|_}} isA City<br>|}}
{{#if:{{{?name|}}}|"{{{?name}}}" is name of it <br>|}}
{{#if:{{{?wikidataid|}}}|"{{{?wikidataid}}}" is wikidataid of it <br>|}}
|#default={{#switch:{{{storemode|}}}
|none=
|subobject={{#subobject:-
|isA=City
|City name={{{name|}}}
|City wikidataid={{{wikidataid|}}}
}}
|#default={{#set:
|isA=City
|City name={{{name|}}}
|City wikidataid={{{wikidataid|}}}
}}
}}
{{#switch: {{{viewmode|}}}
|hidden=
|masterdetail=
= event =
{{#ask:[[Concept:Event]][[Event city::{{FULLPAGENAME}}]]
| ?Event acronym = acronym
| ?Event wikidataid = wikidataid
| ?Event homepage = homepage
| ?Event series = series
| ?Event city = city
| ?Event region = region
| ?Event country = country
|sort=Event acronym
|order=ascending
}}
|tableheader={{{!}} class='wikitable'
!name!!wikidataid
{{!}}-
|tablerow=
{{!}}{{{name|}}}{{!}}{{!}}{{{wikidataid|}}}
{{!}}-
|tablefooter={{!}}}
|labelfield=
name={{#if:{{{name|}}}|{{{name|}}}|}}<br>wikidataid={{#if:{{{wikidataid|}}}|{{{wikidataid|}}}|}}<br>|#default={{{!}} class='wikitable'
! colspan='2' {{!}}City
{{!}}-
{{#switch:{{{storemode|}}}|property=
! colspan='2' style='text-align:left' {{!}} {{Icon|name=edit|size=24}}{{Link|target=Special:FormEdit/City/{{FULLPAGENAME}}|title=edit}}
{{!}}-
}}
!name
{{!}} {{#if:{{{name|}}}|{{{name|}}}|}}
{{!}}-
!wikidataid
{{!}} {{#if:{{{wikidataid|}}}|{{{wikidataid|}}}|}}
{{!}}-
{{!}}}
}}
}}
[[Category:City]]{{#default_form:City}}
Click on "Edit" to edit the noinclude-part Source of this Template.