Lists: Difference between revisions
Jump to navigation
Jump to search
(show headers for now) |
Tag: Undo |
||
(29 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{#arraydefine:listuser|{{#urlget:user}}}} | {{#arraydefine:listuser|{{#urlget:user}}}}{{#arraydefine:listname|{{#urldecode:{{#urlget:list}}}}}} | ||
{{#if:{{#arrayprint:listuser}} | {{#if:{{#arrayprint:listuser}} | ||
| | | | ||
Work in progress. | Work in progress. | ||
{{#ask: [[Category:Lists]][[Listed By::User:{{#arrayprint:listuser}}]] | |||
|?Part of List | |||
|format = array | |||
|name = listnames | |||
|link=none | |||
|headers=hide | |||
|mainlabel=- | |||
}}{{#arrayslice:uniquenames|listnames}}<!-- arrayslice used to simply duplicate array -->{{#arrayunique:uniquenames}} | |||
List names in use by {{#arrayprint:listuser}}: | |||
{{#arrayprint:uniquenames||@@@@|<nowiki /> | |||
*[{{fullurl:Lists}}?user={{#arrayprint:listuser}}&list={{urlencode:@@@@}} @@@@ ({{#arraysearcharray:size|listnames|@@@@}}{{#arraysize:size}} locations)]}} | |||
= Map = | |||
{{#compound_query: [[Category:Lists]] | |||
[[Listed By::User:{{#arrayprint:listuser}}]]{{#if:{{#arrayprint:listname}}|[[Part of List::{{#arrayprint:listname}}]]}} | |||
[[Listed Location::<q>[[Category:Parks]]</q>]] ;?Listed Location.Main Location ;icon=MarkerS.png ;limit = 5000 | |||
|[[Category:Lists]] | |||
[[Listed By::User:{{#arrayprint:listuser}}]]{{#if:{{#arrayprint:listname}}|[[Part of List::{{#arrayprint:listname}}]]}} | |||
[[Listed Location::<q>[[Category:Trails]]</q>]] ;?Listed Location.Parking location ;icon=MarkerT.png ;limit = 5000 | |||
| format = googlemaps | |||
| searchmarkers = all | |||
| limit = 1000 | |||
| type=terrain | |||
| scale=yes | |||
| width=auto | |||
| height=600 | |||
| markercluster=no | |||
}} | |||
= Table = | = Table = | ||
{{#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| | |||
== Trails == | |||
{{List trail template|#userparam=intro}} | |||
{{#ask: [[Category:Lists]] | {{#ask: [[Category:Lists]] | ||
[[Listed By::User:{{#arrayprint:listuser}}]] | [[Listed By::User:{{#arrayprint:listuser}}]]{{#if:{{#arrayprint:listname}}|[[Part of List::{{#arrayprint:listname}}]]}} | ||
[[Listed Location::<q>[[Category:Trails]]</q>]] | [[Listed Location::<q>[[Category:Trails]]</q>]] | ||
|?Listed Location= | |?Listed Location=trail | ||
|?Listed Location.Park= | |?Listed Location.Park=park | ||
|?Listed Location.Trail System= | |?Listed Location.Trail System=system | ||
|?Listed Location.Trail Highlight= | |?Listed Location.Trail Highlight=highlight | ||
|?Listed Location.Parking location= | |?Listed Location.Parking location=parking | ||
|?Listed Location.Trail distance round trip= | |?Listed Location.Trail distance round trip=round trip | ||
|?Listed Location.Allowed activities= | |?Listed Location.Allowed activities=use | ||
|?Listed Location.Features= | |?Listed Location.Features=features | ||
|?List Comment= | |?List Comment=list comment | ||
|format= | |mainlabel=listpage | ||
| | |format=plainlist | ||
| | |headers=hide | ||
| | |link=none | ||
| | |template=List trail template | ||
| | |userparam=row | ||
|headers= | |named args=yes | ||
| | }} | ||
{{List trail template|#userparam=outro}} | |||
}}<!-- Close "if there are trails" --> | |||
<!-- 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 == | |||
{{List park template|#userparam=intro}} | |||
{{#ask: [[Category:Lists]] | |||
[[Listed By::User:{{#arrayprint:listuser}}]]{{#if:{{#arrayprint:listname}}|[[Part of List::{{#arrayprint:listname}}]]}} | |||
[[Listed Location::<q>[[Category:Parks]]</q>]] | |||
|?Listed Location=park | |||
|?Listed Location.Main Location=parking | |||
|?Listed Location.Park Trail Count=trail count | |||
|?Listed Location.Park Trail Miles=trail miles | |||
|?Listed Location.Allowed activities=activities | |||
|?Listed Location.Park Amenities=amenities | |||
|?Listed Location.Features=features | |||
|?Listed Location.Lodging Types=lodging | |||
|?Listed Location.Camping Amenities=camping | |||
|?List Comment=list comment | |||
|mainlabel=listpage | |||
|format=plainlist | |||
|headers=hide | |||
|link=none | |||
|template=List park template | |||
|userparam=row | |||
|named args=yes | |||
}} | }} | ||
{{List park template|#userparam=outro}} | |||
}}<!-- Close "if there are parks" --> | |||
| | | | ||
Members of the wiki can create custom lists by visiting pages for parks and trails and using the List It button.}} | Members of the wiki can create custom lists by visiting pages for parks and trails and using the List It button.}} |
Latest revision as of 18: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.