Template:List trail template: Difference between revisions
Jump to navigation
Jump to search
m (change edit column format) |
(based on list trails table) |
||
Line 29: | Line 29: | ||
</noinclude><includeonly>{{#switch:{{{#userparam|}}} | </noinclude><includeonly>{{#switch:{{{#userparam|}}} | ||
|intro={{{!}} border="1" class="wikitable sortable" | |intro={{{!}} border="1" class="wikitable sortable" | ||
! | ! Park | ||
! | ! Distance {{#info: Distance from Kingsport | info }} | ||
! | ! Number of trails | ||
! | ! Total trail miles | ||
! | ! Activities | ||
! Amenities | |||
! Features | ! Features | ||
! Lodging | |||
! Camping | |||
! Modify | ! Modify | ||
{{!}}- | {{!}}- | ||
|outro={{!}}} | |outro={{!}}} | ||
|row={{!}}- | |row={{!}}- | ||
{{!}}<big>[[{{{ | {{!}}<big>[[{{{park|}}}{{!}}{{#explode:{{{park|}}}|<nowiki/> (<nowiki/>|0}}]]</big> | ||
{{!}}{{#geodistance:Kingsport, TN, USA|{{{parking|}}}|unit=mi|decimals=1}} | {{!}}{{#geodistance:Kingsport, TN, USA|{{{parking|}}}|unit=mi|decimals=1}} | ||
{{!}}{{{ | {{!}}{{{trail count|}}} | ||
{{!}}{{Auto List to Icons|List={{{ | {{!}}{{{trail miles|}}} | ||
{{!}}{{Auto List to Icons|List={{{activities|}}}}} | |||
{{!}}{{Auto List to Icons|List={{{amenities|}}}}} | |||
{{!}}{{Auto List to Icons|List={{{features|}}}}} | {{!}}{{Auto List to Icons|List={{{features|}}}}} | ||
{{!}}{{Auto List to Icons|List={{{lodging|}}}}} | |||
{{!}}{{Auto List to Icons|List={{{camping|}}}}} | |||
{{!}}rowspan="2"{{!}}{{#formlink:form=List|link type=button|link text=Edit|target={{{listpage|}}}|popup|reload}} | {{!}}rowspan="2"{{!}}{{#formlink:form=List|link type=button|link text=Edit|target={{{listpage|}}}|popup|reload}} | ||
{{!}}- | {{!}}- | ||
{{!}} colspan=" | {{!}} colspan="9" {{!}} Comment: {{{list comment|}}} | ||
{{!}}- | {{!}}- | ||
|header={{!}}- | |header={{!}}- | ||
!colspan=" | !colspan="10"{{!}}{{{header|}}} | ||
{{!}}- | {{!}}- | ||
}}</includeonly> | }}</includeonly> |
Revision as of 12:35, 6 January 2021
list table template for trails. Park/Trail aware. Probably will make different ones for Park vs. Trail instead of one monolithic beast.
Trails will have:
- Trail name
- Park or Trail System
- Highlight (Put underneath other info?)
- Distance from Kingsport - Could be later converted to a distance based on user configured location
- Round trip distance
- Trail Use Icons
- Features Icons
- Listing comment (underneath)
It expects the following usage format.
{{List trail template |#userparam= |listpage= |trail= |park= |system= |highlight= |parking= |round trip= |use= |features= |list comment= }}