Difference between revisions of "Template:Location"
Jump to navigation
Jump to search
(modified through wikirestore by orapi) |
|||
| (One intermediate revision by one other user not shown) | |||
| Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
| − | This is the template | + | This is the template [[Template:Location]]. |
| − | + | ||
== See also == | == See also == | ||
| − | *[[ | + | *[[List of Locations]] |
| − | *[[ | + | *[[Help:Location]] |
| − | *[[ | + | *[[Category:Location]] |
| − | *[[ | + | *[[Concept:Location]] |
| − | *[[ | + | *[[Form:Location]] |
| − | *[[ | + | *[[Template:Location]] |
| Line 14: | Line 14: | ||
<pre> | <pre> | ||
{{Location | {{Location | ||
| − | |comment= | + | |Location comment=some value |
| − | |coordinates= | + | |Location coordinates=some value |
| − | |level= | + | |Location level=some value |
| − | |locationKind= | + | |Location locationKind=some value |
| − | |name= | + | |Location name=some value |
| − | |partOf= | + | |Location partOf=some value |
| − | |wikidataid= | + | |Location wikidataid=some value}} |
| − | }} | ||
</pre> | </pre> | ||
{{Location | {{Location | ||
| − | |comment= | + | |Location comment=some value |
| − | |coordinates= | + | |Location coordinates=some value |
| − | |level= | + | |Location level=some value |
| − | |locationKind= | + | |Location locationKind=some value |
| − | |name= | + | |Location name=some value |
| − | |partOf= | + | |Location partOf=some value |
| − | |wikidataid= | + | |Location wikidataid=some value}} |
| − | }} | ||
[[Category:Template]] | [[Category:Template]] | ||
| − | </noinclude> | + | </noinclude><includeonly> |
| − | <includeonly>{{# | + | {{#switch:{{{storemode|}}} |
| + | |subobject={{#subobject:- | ||
| + | |Location comment={{{comment|}}} | ||
| + | |Location coordinates={{{coordinates|}}} | ||
| + | |Location level={{{level|}}} | ||
| + | |Location locationKind={{{locationKind|}}} | ||
| + | |Location name={{{name|}}} | ||
| + | |Location partOf={{{partOf|}}} | ||
| + | |Location wikidataid={{{wikidataid|}}} | ||
| + | |isA=Location | ||
| + | }} | ||
| + | |property | ||
| + | |#default={{#set: | ||
|Location comment={{{comment|}}} | |Location comment={{{comment|}}} | ||
|Location coordinates={{{coordinates|}}} | |Location coordinates={{{coordinates|}}} | ||
| Line 43: | Line 53: | ||
|Location partOf={{{partOf|}}} | |Location partOf={{{partOf|}}} | ||
|Location wikidataid={{{wikidataid|}}} | |Location wikidataid={{{wikidataid|}}} | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
}} | }} | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
}} | }} | ||
| − | }} | + | {{#switch:{{{viewmode|}}} |
| + | |queryTable={{#ask:[[-Has subobject::{{PAGENAME}}]]|mainlabel=-|?Location comment=comment|?Location coordinates=coordinates|?Location level=level|?Location locationKind=locationKind|?Location name=name|?Location partOf=partOf|?Location wikidataid=wikidataid}} | ||
| + | |hidden= | ||
| + | |masterdetail | ||
| + | |#default={{{!}} class="wikitable" | ||
| + | {{!}}- | ||
| + | !colspan="2" {{!}}{{#formlink:form=Location|link text=✎|target={{FULLPAGENAME}}|tooltip=Start editing this Location}} [[Concept:Location|Location]] | ||
| + | {{!}}- | ||
| + | !style="text-align:left" {{!}}[[Location name::@@@|name]] | ||
| + | {{!}}{{#if:{{{name|}}}|{{{name|}}}|}} | ||
| + | {{!}}- | ||
| + | !style="text-align:left" {{!}}[[Location wikidataid::@@@|wikidataid]] | ||
| + | {{!}}{{#if:{{{wikidataid|}}}|{{{wikidataid|}}}|}} | ||
| + | {{!}}- | ||
| + | !style="text-align:left" {{!}}[[Location level::@@@|level]] | ||
| + | {{!}}{{#if:{{{level|}}}|{{{level|}}}|}} | ||
| + | {{!}}- | ||
| + | !style="text-align:left" {{!}}[[Location coordinates::@@@|coordinates]] | ||
| + | {{!}}{{#if:{{{coordinates|}}}|{{{coordinates|}}}|}} | ||
| + | {{!}}- | ||
| + | !style="text-align:left" {{!}}[[Location comment::@@@|comment]] | ||
| + | {{!}}{{#if:{{{comment|}}}|{{{comment|}}}|}} | ||
| + | {{!}}- | ||
| + | !style="text-align:left" {{!}}[[Location locationKind::@@@|locationKind]] | ||
| + | {{!}}{{#if:{{{locationKind|}}}|{{{locationKind|}}}|}} | ||
| + | {{!}}- | ||
| + | !style="text-align:left" {{!}}[[Location partOf::@@@|partOf]] | ||
| + | {{!}}{{#if:{{{partOf|}}}|{{{partOf|}}}|}} | ||
| + | {{!}}} | ||
| + | }} | ||
| − | + | [[Category:Location]] | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | [[Category:Location]] | ||
</includeonly> | </includeonly> | ||
Latest revision as of 01:48, 28 January 2022
This is the template Template:Location.
See also
Usage
{{Location
|Location comment=some value
|Location coordinates=some value
|Location level=some value
|Location locationKind=some value
|Location name=some value
|Location partOf=some value
|Location wikidataid=some value}}
| ✎ Location | |
|---|---|
| nameNone | |
| wikidataidThis property of the datatype External identifier is used to provide the identifier with which an entity is indexed in Wikidata. Its external formatter URI is https://www.wikidata.org/entity/$1 | |
| levelNone | |
| coordinatesNone | |
| commentNone | |
| locationKindNone | |
| partOfNone | |