Actions

Template

Difference between revisions of "Location"

From London's Ghost Acres

 
(33 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
{{location
 
{{location
 
|coordinates=
 
|coordinates=
|in location=
+
|is_in=
 +
|has description=  
 
}}
 
}}
 
</pre>
 
</pre>
 
Edit the page to see the template text.
 
Edit the page to see the template text.
 
</noinclude><includeonly>
 
</noinclude><includeonly>
 +
{{#if:{{{has description|}}} | {{{has description}}} }}
  
==Geo-coordinates==
 
[[Has coordinates::{{{coordinates|}}}]]
 
{{#display_map:Nairobi National Park~Nairobi National Park~Kenya’s first national park.~Green marker.png |zoom=11 |width=475 |height=350}}
 
  
 +
{{#if:{{{coordinates|}}} |
 +
{{#display_map: {{{coordinates}}}|zoom=6|height=300px
 +
|width=400px}}
 +
}}
 +
 +
 +
{{#if:{{{is_in|}}} |
 
==Located in==
 
==Located in==
[[Is in::{{{in location|}}}]]  
+
[[Is in::{{{is_in|}}}]]
 +
}}
 +
 
 +
{{#ask:[[is in::{{SUBJECTPAGENAME}}]]
 +
|format=ul
 +
|columns=2
 +
|intro= <br/><h2>Contains</h2>
 +
}}
 +
 
 +
{{#ask:[[comes from::{{SUBJECTPAGENAME}}]]
 +
|format=ul
 +
|intro= <br/><h2>Exports</h2>}}
 +
 
 +
{{#ask:[[exported to::{{SUBJECTPAGENAME}}]]
 +
|format=ul
 +
|intro= <br/><h2>Imports</h2>}}
 +
 
  
 
[[Category:locations]]
 
[[Category:locations]]
 
</includeonly>
 
</includeonly>

Latest revision as of 14:59, 10 May 2016

This is the "location" template. It should be called in the following format:

{{location
|coordinates=
|is_in=
|has description= 
}}

Edit the page to see the template text.