Difference between revisions of "Template:Location"

From OPENRESEARCH fixed Wiki
Jump to navigation Jump to search
(modified through wikirestore by orapi)
(Undo revision 78230 by Orapi (talk))
Tag: Undo
Line 46: Line 46:
 
|property
 
|property
 
|#default={{#set:
 
|#default={{#set:
 +
|isA=Location
 
|Location comment={{{comment|}}}
 
|Location comment={{{comment|}}}
 
|Location coordinates={{{coordinates|}}}
 
|Location coordinates={{{coordinates|}}}
Line 85: Line 86:
 
{{!}}}
 
{{!}}}
 
}}
 
}}
 +
{{#display_map:center={{{coordinates|}}}|zoom={{{zoomLevel|5}}}|service=leaflet|width=280|height=280}}
 +
{{#ask: [[location partOf::{{PAGENAME}}]]
 +
|mainLabel=parts
 +
|?Location locationKind=kind
 +
}}
 +
'''Conferences'''
 +
{{#ask: [[isA::Event]] [[has location city::{{{name|}}}]]
 +
|format=count
 +
}} events for {{{name|}}} are known to this wiki.
 +
{{HideShow|ConferencesForLocation|
 +
{{#ask: [[isA::Event]] [[has location city::{{{name|}}}]]
 +
| ?title = Name
 +
| ?has location city = City
 +
| ?has location country = Country
 +
| ?Start date#-F[M j] = Start
 +
| ?End date#-F[M j] = End
 +
| mainlabel=Acronym
 +
| format=table
 +
| limit = 50
 +
| sort= Start date
 +
}}
 +
}}
  
[[Category:Location]]
+
Upcoming:
 +
<small>
 +
{{#ask: [[isA::Event]] [[has location city::{{{name|}}}]] [[End date::>{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}}]]
 +
| ?title = Name
 +
| ?has location city = City
 +
| ?has location country = Country
 +
| ?Submission deadline#-F[M j] = Submissions due
 +
| ?Start date#-F[M j] = Start
 +
| ?End date#-F[M j] = End
 +
| mainlabel=Acronym
 +
| format=table
 +
| limit = 7
 +
| sort= Start date
 +
}}
 +
</small>
 +
[[Category:Location]]{{#default_form:Location}}
 
</includeonly>
 
</includeonly>

Revision as of 11:03, 2 December 2021

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
Loading map...

Conferences 0Some use of "" in your query was not closed by a matching "". events for are known to this wiki.

Upcoming: Some use of "" in your query was not closed by a matching "".