Difference between revisions of "Template:Location"

From OPENRESEARCH th copy Wiki
Jump to navigation Jump to search
 
(17 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
This is the template {{Link|target=Template:location|title=}}.
+
This is the template {{Link|target=Template:Location|title=}}.
  
 
== See also ==
 
== See also ==
*[[:List of location]]
+
*[[:List of Locations]]
*[[:Help:location]]
+
*[[:Help:Location]]
*[[:Category:location]]
+
*[[:Category:Location]]
*[[:Concept:location]]
+
*[[:Concept:Location]]
*[[:Form:location]]
+
*[[:Form:Location]]
*[[:Template:location]]
+
*[[:Template:Location]]
  
  
 
== Usage ==
 
== Usage ==
 
<pre>
 
<pre>
{{location
+
{{Location
 
|comment=Some comment
 
|comment=Some comment
 
|coordinates=Some coordinates
 
|coordinates=Some coordinates
 
|level=Some level
 
|level=Some level
|locationkind=Some locationkind
+
|locationKind=Some locationKind
 
|name=Some name
 
|name=Some name
 
|partOf=Some partOf
 
|partOf=Some partOf
Line 23: Line 23:
 
}}
 
}}
 
</pre>
 
</pre>
{{location
+
{{Location
 
|comment=Some comment
 
|comment=Some comment
|coordinates=Some coordinates
+
|coordinates=1,1
|level=Some level
+
|level=5
|locationkind=Some locationkind
+
|locationKind=Some locationKind
|name=Some name
+
|name=World
|partOf=Some partOf
+
|partOf=Category:World
|wikidataid=Some wikidataid
+
|wikidataid=Q1
 
}}
 
}}
  
Line 36: Line 36:
 
</noinclude>
 
</noinclude>
 
<includeonly>
 
<includeonly>
{{#set:isA=location
+
{{#set:isA=Location
 
|Location comment={{{comment|}}}
 
|Location comment={{{comment|}}}
 
|Location coordinates={{{coordinates|}}}
 
|Location coordinates={{{coordinates|}}}
 
|Location level={{{level|}}}
 
|Location level={{{level|}}}
|Location locationkind={{{locationkind|}}}
+
|Location locationKind={{{locationKind|}}}
 
|Location name={{{name|}}}
 
|Location name={{{name|}}}
 
|Location partOf={{{partOf|}}}
 
|Location partOf={{{partOf|}}}
 
|Location wikidataid={{{wikidataid|}}}
 
|Location wikidataid={{{wikidataid|}}}
 +
|Location zoomLevel={{{zoomLevel|}}}
 
}}
 
}}
  
 
{| class='wikitable'
 
{| class='wikitable'
! colspan=2 | {{#formlink:form=location|link text=✎|target={{FULLPAGENAME}}|tooltip=Start editing this location}}[[Concept:Location|location]]
+
! colspan=2 | {{#formlink:form=Location|link text=✎|target={{FULLPAGENAME}}|tooltip=Start editing this Location}}[[Concept:Location|Location]]
 
|-
 
|-
 
!style="text-align:left" |[[Location name::@@@|name]]
 
!style="text-align:left" |[[Location name::@@@|name]]
Line 53: Line 54:
 
|-
 
|-
 
!style="text-align:left" |[[Location wikidataid::@@@|wikidataid]]
 
!style="text-align:left" |[[Location wikidataid::@@@|wikidataid]]
| {{#if:{{{wikidataid|}}}|{{{wikidataid|}}}|}}
+
| {{#if:{{{wikidataid|}}}|[[Location wikidataid::{{{wikidataid|}}}]]|}}
 
|-
 
|-
 
!style="text-align:left" |[[Location level::@@@|level]]
 
!style="text-align:left" |[[Location level::@@@|level]]
Line 59: Line 60:
 
|-
 
|-
 
!style="text-align:left" |[[Location coordinates::@@@|coordinates]]
 
!style="text-align:left" |[[Location coordinates::@@@|coordinates]]
| {{#if:{{{coordinates|}}}|{{{coordinates|}}}|}}
+
| {{#if:{{{coordinates|}}}|[[Has coordinates::{{{coordinates|}}}]]|}}
 
|-
 
|-
 
!style="text-align:left" |[[Location comment::@@@|comment]]
 
!style="text-align:left" |[[Location comment::@@@|comment]]
 
| {{#if:{{{comment|}}}|{{{comment|}}}|}}
 
| {{#if:{{{comment|}}}|{{{comment|}}}|}}
 
|-
 
|-
!style="text-align:left" |[[Location locationkind::@@@|locationkind]]
+
!style="text-align:left" |[[Location locationKind::@@@|locationKind]]
| {{#if:{{{locationkind|}}}|{{{locationkind|}}}|}}
+
| {{#if:{{{locationKind|}}}|{{{locationKind|}}}|}}
 
|-
 
|-
 
!style="text-align:left" |[[Location partOf::@@@|partOf]]
 
!style="text-align:left" |[[Location partOf::@@@|partOf]]
| {{#if:{{{partOf|}}}|[[{{{partOf|}}}]]|}}
+
| {{#if:{{{partOf|}}}|[[:{{{partOf|}}}]]|}}
 
|-
 
|-
 +
!style="text-align:left" |[[Location zoomLevel::@@@|zoomLevel]]
 +
| {{#if:{{{zoomLevel|}}}|{{{zoomLevel|}}}|}}
 
|}
 
|}
 +
{{#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]]{{#default_form: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>

Latest revision as of 12:58, 11 May 2021

This is the template Template:Location.

See also


Usage

{{Location
|comment=Some comment
|coordinates=Some coordinates
|level=Some level
|locationKind=Some locationKind
|name=Some name
|partOf=Some partOf
|wikidataid=Some wikidataid
}}



Location
name World
wikidataid Q1
level 5
coordinates 1° 0' 0.00" N, 1° 0' 0.00" E
comment Some comment
locationKind Some locationKind
partOf Category:World
zoomLevel
Loading map...

Conferences 0 events for World are known to this wiki.

Upcoming: