Template:Park trail list: Difference between revisions
Jump to navigation
Jump to search
(changing to truly a list (and making a table template)) |
m (plural category) |
||
Line 1: | Line 1: | ||
<noinclude>This returns a list of the trails associated with the park page it is called on. | <noinclude>This returns a list of the trails associated with the park page it is called on. | ||
More specifically, it lists the pages with [[:Category: | More specifically, it lists the pages with [[:Category:Trails]] and the property [[Property:Park|Park]] set to the page name. | ||
It should be called in the following format. Typically expected for the current page, but change as needed: | It should be called in the following format. Typically expected for the current page, but change as needed: | ||
Line 9: | Line 9: | ||
Edit the page to see the template text. | Edit the page to see the template text. | ||
</noinclude> | </noinclude> | ||
<includeonly>{{#ask: [[Category: | <includeonly>{{#ask: [[Category:Trails]] [[Park::{{{Park}}}]] | ||
| format=list | | format=list | ||
}}</includeonly> | }}</includeonly> |
Revision as of 23:41, 17 November 2018
This returns a list of the trails associated with the park page it is called on.
More specifically, it lists the pages with Category:Trails and the property Park set to the page name.
It should be called in the following format. Typically expected for the current page, but change as needed:
{{Park trail list|Park={{PAGENAME}}}}
Edit the page to see the template text.