Template:Park trail map: Difference between revisions
Jump to navigation
Jump to search
Tag: Undo |
m (plural category) |
||
Line 1: | Line 1: | ||
<noinclude>This returns a map of the trails associated with the park page it is called on. | <noinclude>This returns a map of the trails associated with the park page it is called on. | ||
More specifically, it maps the coordinates in [[Property:Trailhead location]] from the pages with [[:Category: | More specifically, it maps the coordinates in [[Property:Trailhead location]] from the pages with [[:Category:Trails]] and the property [[Property:Park|Park]] set to the page name or other passed page name. | ||
It should be called in the following format: | It should be called in the following format: | ||
Line 9: | Line 9: | ||
Edit the page to see the template text. | Edit the page to see the template text. | ||
</noinclude> | </noinclude> | ||
<includeonly>{{#compound_query: [[Category: | <includeonly>{{#compound_query: [[Category:Trails]] [[Park::{{PAGENAME}}]] [[Trailhead location::+]] | ||
; ?Trailhead location | ; ?Trailhead location | ||
; icon = MarkerT.png | ; icon = MarkerT.png | ||
|[[Category: | |[[Category:Trails]] [[Park::{{PAGENAME}}]] [[Parking location::+]] | ||
; ?Parking location | ; ?Parking location | ||
; icon = MarkerA.png | ; icon = MarkerA.png |
Revision as of 23:42, 17 November 2018
This returns a map of the trails associated with the park page it is called on.
More specifically, it maps the coordinates in Property:Trailhead location from the pages with Category:Trails and the property Park set to the page name or other passed page name.
It should be called in the following format:
{{Park trail map|Park={{PAGENAME}}}}
Edit the page to see the template text.