Template:List trail template: Difference between revisions

From TEHCC Wiki
Jump to navigation Jump to search
(add park/system links)
(embiggen trail name)
Line 37: Line 37:
|outro={{!}}}
|outro={{!}}}
|row={{!}}-
|row={{!}}-
{{!}}[[{{{trail|}}}{{!}}{{#explode:{{{trail|}}}|<nowiki/> (<nowiki/>|0}}]]<small>{{#if: {{{park|}}}|</br>[[{{{park|}}}]]}}{{#if: {{{system|}}}|</br>{{#arraymap:{{{system|}}}|, |@@@@|[[@@@@]]|,&nbsp;}}}}</small>
{{!}}<big>[[{{{trail|}}}{{!}}{{#explode:{{{trail|}}}|<nowiki/> (<nowiki/>|0}}]]</big><small>{{#if: {{{park|}}}|</br>[[{{{park|}}}]]}}{{#if: {{{system|}}}|</br>{{#arraymap:{{{system|}}}|, |@@@@|[[@@@@]]|,&nbsp;}}}}</small>
{{!}}{{{highlight|}}}
{{!}}{{{highlight|}}}
{{!}}{{#geodistance:Kingsport, TN, USA|{{{parking|}}}|unit=mi|decimals=1}}
{{!}}{{#geodistance:Kingsport, TN, USA|{{{parking|}}}|unit=mi|decimals=1}}

Revision as of 05:57, 14 May 2020

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=
 |trail=
 |park=
 |system=
 |highlight=
 |parking=
 |round trip=
 |use=
 |features=
 |list comment=
}}