Difference between revisions of "Template:City"
Jump to navigation
Jump to search
Tim Holzheim (talk | contribs) (modified through wikirestore by Tim Holzheim) |
Tim Holzheim (talk | contribs) (modified through wikirestore by Tim Holzheim) |
||
| Line 72: | Line 72: | ||
|none= | |none= | ||
|subobject= {{#subobject:- | |subobject= {{#subobject:- | ||
| − | |isA=City|City name={{{City name|}}} | + | |isA=City |
| + | |City name={{{City name|}}} | ||
|City wikidataid={{{City wikidataid|}}} | |City wikidataid={{{City wikidataid|}}} | ||
}} | }} | ||
|#default= {{#set: | |#default= {{#set: | ||
| − | |isA=City|City name={{{City name|}}} | + | |isA=City |
| + | |City name={{{City name|}}} | ||
|City wikidataid={{{City wikidataid|}}} | |City wikidataid={{{City wikidataid|}}} | ||
}} | }} | ||
| Line 85: | Line 87: | ||
|tableheader= {{{!}} class='wikitable' | |tableheader= {{{!}} class='wikitable' | ||
!City name!!City wikidataid{{!}}- | !City name!!City wikidataid{{!}}- | ||
| − | |tablerow= | + | |tablerow= {{!}} class='wikitable' |
| + | {{!}}City name | ||
| + | {{!}}{{!}}{{{City wikidataid|}}} | ||
| + | {{!}}- | ||
|tablefooter={{!}}} | |tablefooter={{!}}} | ||
|labelfield=City name={{#if:{{{City name|}}}|{{{City name|}}}|}}<br>City wikidataid={{#if:{{{City wikidataid|}}}|{{{City wikidataid|}}}|}}<br> | |labelfield=City name={{#if:{{{City name|}}}|{{{City name|}}}|}}<br>City wikidataid={{#if:{{{City wikidataid|}}}|{{{City wikidataid|}}}|}}<br> | ||
Revision as of 23:04, 24 March 2021
This is the template Template:City.
It belongs to the concept/topic Concept:City
You may find examples for the use of this template via the List of Cities.
Usage
storemode subobject
{{City
|City name=
|City wikidataid=
|storemode=subobject
}}
storemode property
{{City
|City name=
|City wikidataid=
|storemode=property
}}
storemode none
{{City
|City name=
|City wikidataid=
|storemode=none
}}
viewmode tableheader
{{City
|City name=
|City wikidataid=
|viewmode=tableheader
}}
viewmode tablerow
{{City
|City name=
|City wikidataid=
|viewmode=tablerow
}}
{{City
|City name=
|City wikidataid=
|viewmode=tablefooter
}}
viewmode labelfield
{{City
|City name=
|City wikidataid=
|viewmode=labelfield
}}
Source
Click on "Edit" to edit the noinclude-part Source of this Template.