Lists: Difference between revisions

From TEHCC Wiki
Jump to navigation Jump to search
(Cleanup old map and add some comments)
m (a couple of tweaks needed)
Line 30: Line 30:
| zoom=9
| zoom=9
| width=auto
| width=auto
| height=300
| height=600
| markercluster=no
| markercluster=no
}}
}}
Line 37: Line 37:
{{#if:{{#arrayprint:listname}}|Showing only items related to List "{{#arrayprint:listname}}"|Showing all listed items for user {{#arrayprint:listuser}}}}
{{#if:{{#arrayprint:listname}}|Showing only items related to List "{{#arrayprint:listname}}"|Showing all listed items for user {{#arrayprint:listuser}}}}
<!-- Open "if there are trails" -->{{#ifexpr:{{#ask:[[Category:Lists]][[Listed By::User:{{#arrayprint:listuser}}]]{{#if:{{#arrayprint:listname}}|[[Part of List::{{#arrayprint:listname}}]]}}[[Listed Location::<q>[[Category:Trails]]</q>]]|format=count}}>0|
<!-- Open "if there are trails" -->{{#ifexpr:{{#ask:[[Category:Lists]][[Listed By::User:{{#arrayprint:listuser}}]]{{#if:{{#arrayprint:listname}}|[[Part of List::{{#arrayprint:listname}}]]}}[[Listed Location::<q>[[Category:Trails]]</q>]]|format=count}}>0|
== Trails ==
== Trails ==
{{#ask:[[Category:Lists]]
[[Listed By::User:{{#arrayprint:listuser}}]]{{#if:{{#arrayprint:listname}}|[[Part of List::{{#arrayprint:listname}}]]}}
[[Listed Location::<q>[[Category:Trails]]</q>]]
| format=map
| ?Listed Location.Trailhead location
| ?List Comment=Comment
}}
{{List trail template|#userparam=intro}}
{{List trail template|#userparam=intro}}
{{#ask: [[Category:Lists]]
{{#ask: [[Category:Lists]]
Line 70: Line 64:
<!-- Open "if there are parks" -->{{#ifexpr:{{#ask:[[Category:Lists]][[Listed By::User:{{#arrayprint:listuser}}]]{{#if:{{#arrayprint:listname}}|[[Part of List::{{#arrayprint:listname}}]]}}[[Listed Location::<q>[[Category:Parks]]</q>]]|format=count}}>0|
<!-- Open "if there are parks" -->{{#ifexpr:{{#ask:[[Category:Lists]][[Listed By::User:{{#arrayprint:listuser}}]]{{#if:{{#arrayprint:listname}}|[[Part of List::{{#arrayprint:listname}}]]}}[[Listed Location::<q>[[Category:Parks]]</q>]]|format=count}}>0|
== Parks ==
== Parks ==
Work in progress.
{{List park template|#userparam=intro}}
{{List park template|#userparam=intro}}
{{#ask: [[Category:Lists]]
{{#ask: [[Category:Lists]]

Revision as of 15:12, 7 January 2021

Members of the wiki can create custom lists by visiting pages for parks and trails and using the List It button.