Lists: Difference between revisions

From TEHCC Wiki
Jump to navigation Jump to search
(Cleanup old map and add some comments)
(Undo revision 11093 by Tim (talk))
Tag: Undo
 
(4 intermediate revisions by the same user not shown)
Line 10: Line 10:
  |headers=hide
  |headers=hide
  |mainlabel=-
  |mainlabel=-
}}{{#arrayslice:uniquenames|listnames}}{{#arrayunique:uniquenames}}
}}{{#arrayslice:uniquenames|listnames}}<!-- arrayslice used to simply duplicate array -->{{#arrayunique:uniquenames}}


List names in use by {{#arrayprint:listuser}}:  
List names in use by {{#arrayprint:listuser}}:  
Line 28: Line 28:
| type=terrain
| type=terrain
| scale=yes
| scale=yes
| zoom=9
| width=auto
| width=auto
| height=300
| height=600
| markercluster=no
| markercluster=no
}}
}}
Line 37: Line 36:
{{#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 63:
<!-- 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]]

Latest revision as of 19:32, 12 April 2023

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