Welcome to the Virtual Education Wiki ~ Open Education Wiki

Template:Location: Difference between revisions

From Virtual Education Wiki
Jump to navigation Jump to search
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 5: Line 5:
</noinclude>
</noinclude>


<includeonly>{{PAGENAME}} is {{#if:{{{Location type|}}}|a [[Has location type::{{{Location type|}}}]]|}} located at [[Has coordinates::{{{The coordinates|}}}]]. {{#if:{{{Located in|}}}|It is located in {{#if:{{#show:{{{Located in|}}}|?Has location type}}|the {{#show:{{{Located in|}}}|?Has location type}}|}} [[Located in::{{{Located in|}}}]].|}}
<includeonly>
{{PAGENAME}} is {{#if:{{{Location type|}}}|a [[Has location type::{{{Location type|}}}]]|}} located at [[Has coordinates::{{{The coordinates|}}}]]. {{#if:{{{Located in|}}}|It is located in {{#if:{{#show:{{{Located in|}}}|?Has location type}}|the {{#show:{{{Located in|}}}|?Has location type}}|}} [[Located in::{{{Located in|}}}]].|}}


== Map display ==
== Map display ==
Line 13: Line 14:
coordinates={{{The coordinates|}}}
coordinates={{{The coordinates|}}}
| zoom=7
| zoom=7
| height=400
| height=200
| width=50%
| type=hybrid
| type=hybrid
}}
}}
== Entities located in {{BASEPAGENAME}} ==
Only showing the things directly located in {{BASEPAGENAME}} (red), and located in these locations (green).
Deeper nested locations are not shown.
{{
#compound_query: [[Located in::{{BASEPAGENAME}}]];?Has coordinates;?Located in;?Has location type
| [[Located in.Located in::{{BASEPAGENAME}}]];?Has coordinates;?Located in;?Has location type;icon=Green marker.png
| ?Has coordinates
| ?Located in
| ?Has location type
| format=map
| height=400
| type=physical
| markercluster=on
}}
[[Category:Locations]]
</includeonly>


== Overview ==
== Overview ==
Line 42: Line 26:
temporarily replaced the compound_query code pending revisions
temporarily replaced the compound_query code pending revisions
<nowiki>{{
<nowiki>{{
#compound_query: [[Located in::{{BASEPAGENAME}}]];?Has coordinates;?Located in;?Has location type
#compound_query: [[Located in::{{BASEPAGENAME}}]];
| [[Located in.Located in::{{BASEPAGENAME}}]];?Has coordinates;?Located in;?Has location type;icon=Green marker.png
| ?Has coordinates
| ?Has coordinates
| ?Located in
| ?Located in

Latest revision as of 11:59, 25 April 2023

This is the 'Location' template.

Edit the page to see the template text.