Actions

Template

Difference between revisions of "Location"

From London's Ghost Acres

 
(15 intermediate revisions by the same user not shown)
Line 6: Line 6:
 
|coordinates=
 
|coordinates=
 
|is_in=
 
|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}}} }}
  
  
{{#display_map: {{{coordinates}}}|zoom=12|height=200px|width=300px
+
{{#if:{{{coordinates|}}} |
 +
{{#display_map: {{{coordinates}}}|zoom=6|height=300px
 +
|width=400px}}
 
}}
 
}}
  
 +
 +
{{#if:{{{is_in|}}} |
 
==Located in==
 
==Located in==
{{{is_in}}}
+
[[Is in::{{{is_in|}}}]]
 +
}}
 +
 
 +
{{#ask:[[is in::{{SUBJECTPAGENAME}}]]
 +
|format=ul
 +
|columns=2
 +
|intro= <br/><h2>Contains</h2>
 +
}}
  
==Contains==
+
{{#ask:[[comes from::{{SUBJECTPAGENAME}}]]
{{#ask:[[is in::{{SUBJECTPAGENAME}}]]|format=list}}
+
|format=ul
 +
|intro= <br/><h2>Exports</h2>}}
  
==Exports==
+
{{#ask:[[exported to::{{SUBJECTPAGENAME}}]]
{{#ask:[[comes from::{{SUBJECTPAGENAME}}]]|format=list}}
+
|format=ul
 +
|intro= <br/><h2>Imports</h2>}}
  
==Imports==
 
{{#ask:[[exported to::{{SUBJECTPAGENAME}}]]|format=list}}
 
  
 
[[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.