Difference between revisions of "Template:Location"
Jump to navigation
Jump to search
Tim Holzheim (talk | contribs) |
|||
| (9 intermediate revisions by 2 users not shown) | |||
| Line 28: | Line 28: | ||
|level=5 | |level=5 | ||
|locationKind=Some locationKind | |locationKind=Some locationKind | ||
| − | |name= | + | |name=World |
| − | |partOf=World | + | |partOf=Category:World |
|wikidataid=Q1 | |wikidataid=Q1 | ||
}} | }} | ||
| Line 44: | Line 44: | ||
|Location partOf={{{partOf|}}} | |Location partOf={{{partOf|}}} | ||
|Location wikidataid={{{wikidataid|}}} | |Location wikidataid={{{wikidataid|}}} | ||
| + | |Location zoomLevel={{{zoomLevel|}}} | ||
}} | }} | ||
| Line 68: | Line 69: | ||
|- | |- | ||
!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]] | !style="text-align:left" |[[Location zoomLevel::@@@|zoomLevel]] | ||
| − | | {{#if:{{{zoomLevel|}}}| | + | | {{#if:{{{zoomLevel|}}}|{{{zoomLevel|}}}|}} |
|} | |} | ||
{{#display_map:center={{{coordinates|}}}|zoom={{{zoomLevel|5}}}|service=leaflet|width=280|height=280}} | {{#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 | ||
| + | }} | ||
| + | }} | ||
| + | |||
| + | 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}} | [[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 | |
Conferences 0 events for World are known to this wiki.
Upcoming: