Lists: Difference between revisions

From TEHCC Wiki
Jump to navigation Jump to search
(add combined map)
(Cleanup old map and add some comments)
Line 30: Line 30:
| zoom=9
| zoom=9
| width=auto
| width=auto
| height=800
| height=300
| markercluster=no
| markercluster=no
}}
}}
Line 36: Line 36:
= Table =
= Table =
{{#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}}}}
{{#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]]
{{#ask:[[Category:Lists]]
Line 68: Line 68:
{{List trail template|#userparam=outro}}
{{List trail template|#userparam=outro}}
}}<!-- Close "if there are trails" -->
}}<!-- Close "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: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.
Work in progress.

Revision as of 14:10, 7 January 2021

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